public static final class Stats.StatsSink.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsSink.Builder> implements Stats.StatsSinkOrBuilder
Configuration for pluggable stats sinks.Protobuf type
envoy.config.metrics.v2.StatsSink| Modifier and Type | Method and Description |
|---|---|
Stats.StatsSink.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Stats.StatsSink |
build() |
Stats.StatsSink |
buildPartial() |
Stats.StatsSink.Builder |
clear() |
Stats.StatsSink.Builder |
clearConfig()
Stats sink specific configuration which depends on the sink being
instantiated.
|
Stats.StatsSink.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Stats.StatsSink.Builder |
clearName()
The name of the stats sink to instantiate.
|
Stats.StatsSink.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Stats.StatsSink.Builder |
clone() |
com.google.protobuf.Struct |
getConfig()
Stats sink specific configuration which depends on the sink being
instantiated.
|
com.google.protobuf.Struct.Builder |
getConfigBuilder()
Stats sink specific configuration which depends on the sink being
instantiated.
|
com.google.protobuf.StructOrBuilder |
getConfigOrBuilder()
Stats sink specific configuration which depends on the sink being
instantiated.
|
Stats.StatsSink |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
The name of the stats sink to instantiate.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the stats sink to instantiate.
|
boolean |
hasConfig()
Stats sink specific configuration which depends on the sink being
instantiated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Stats.StatsSink.Builder |
mergeConfig(com.google.protobuf.Struct value)
Stats sink specific configuration which depends on the sink being
instantiated.
|
Stats.StatsSink.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Stats.StatsSink.Builder |
mergeFrom(com.google.protobuf.Message other) |
Stats.StatsSink.Builder |
mergeFrom(Stats.StatsSink other) |
Stats.StatsSink.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Stats.StatsSink.Builder |
setConfig(com.google.protobuf.Struct.Builder builderForValue)
Stats sink specific configuration which depends on the sink being
instantiated.
|
Stats.StatsSink.Builder |
setConfig(com.google.protobuf.Struct value)
Stats sink specific configuration which depends on the sink being
instantiated.
|
Stats.StatsSink.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Stats.StatsSink.Builder |
setName(String value)
The name of the stats sink to instantiate.
|
Stats.StatsSink.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the stats sink to instantiate.
|
Stats.StatsSink.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Stats.StatsSink.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsSink.Builder>public Stats.StatsSink.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsSink.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsSink.Builder>public Stats.StatsSink getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Stats.StatsSink build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Stats.StatsSink buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Stats.StatsSink.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsSink.Builder>public Stats.StatsSink.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsSink.Builder>public Stats.StatsSink.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsSink.Builder>public Stats.StatsSink.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsSink.Builder>public Stats.StatsSink.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsSink.Builder>public Stats.StatsSink.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsSink.Builder>public Stats.StatsSink.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Stats.StatsSink.Builder>public Stats.StatsSink.Builder mergeFrom(Stats.StatsSink other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsSink.Builder>public Stats.StatsSink.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Stats.StatsSink.Builder>IOExceptionpublic String getName()
The name of the stats sink to instantiate. The name must match a supported stats sink. The built-in stats sinks are: * :ref:`envoy.statsd <envoy_api_msg_config.metrics.v2.StatsdSink>` * :ref:`envoy.dog_statsd <envoy_api_msg_config.metrics.v2.DogStatsdSink>` * :ref:`envoy.metrics_service <envoy_api_msg_config.metrics.v2.MetricsServiceConfig>` Sinks optionally support tagged/multiple dimensional metrics.
string name = 1;getName in interface Stats.StatsSinkOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the stats sink to instantiate. The name must match a supported stats sink. The built-in stats sinks are: * :ref:`envoy.statsd <envoy_api_msg_config.metrics.v2.StatsdSink>` * :ref:`envoy.dog_statsd <envoy_api_msg_config.metrics.v2.DogStatsdSink>` * :ref:`envoy.metrics_service <envoy_api_msg_config.metrics.v2.MetricsServiceConfig>` Sinks optionally support tagged/multiple dimensional metrics.
string name = 1;getNameBytes in interface Stats.StatsSinkOrBuilderpublic Stats.StatsSink.Builder setName(String value)
The name of the stats sink to instantiate. The name must match a supported stats sink. The built-in stats sinks are: * :ref:`envoy.statsd <envoy_api_msg_config.metrics.v2.StatsdSink>` * :ref:`envoy.dog_statsd <envoy_api_msg_config.metrics.v2.DogStatsdSink>` * :ref:`envoy.metrics_service <envoy_api_msg_config.metrics.v2.MetricsServiceConfig>` Sinks optionally support tagged/multiple dimensional metrics.
string name = 1;public Stats.StatsSink.Builder clearName()
The name of the stats sink to instantiate. The name must match a supported stats sink. The built-in stats sinks are: * :ref:`envoy.statsd <envoy_api_msg_config.metrics.v2.StatsdSink>` * :ref:`envoy.dog_statsd <envoy_api_msg_config.metrics.v2.DogStatsdSink>` * :ref:`envoy.metrics_service <envoy_api_msg_config.metrics.v2.MetricsServiceConfig>` Sinks optionally support tagged/multiple dimensional metrics.
string name = 1;public Stats.StatsSink.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the stats sink to instantiate. The name must match a supported stats sink. The built-in stats sinks are: * :ref:`envoy.statsd <envoy_api_msg_config.metrics.v2.StatsdSink>` * :ref:`envoy.dog_statsd <envoy_api_msg_config.metrics.v2.DogStatsdSink>` * :ref:`envoy.metrics_service <envoy_api_msg_config.metrics.v2.MetricsServiceConfig>` Sinks optionally support tagged/multiple dimensional metrics.
string name = 1;public boolean hasConfig()
Stats sink specific configuration which depends on the sink being instantiated. See :ref:`StatsdSink <envoy_api_msg_config.metrics.v2.StatsdSink>` for an example.
.google.protobuf.Struct config = 2;hasConfig in interface Stats.StatsSinkOrBuilderpublic com.google.protobuf.Struct getConfig()
Stats sink specific configuration which depends on the sink being instantiated. See :ref:`StatsdSink <envoy_api_msg_config.metrics.v2.StatsdSink>` for an example.
.google.protobuf.Struct config = 2;getConfig in interface Stats.StatsSinkOrBuilderpublic Stats.StatsSink.Builder setConfig(com.google.protobuf.Struct value)
Stats sink specific configuration which depends on the sink being instantiated. See :ref:`StatsdSink <envoy_api_msg_config.metrics.v2.StatsdSink>` for an example.
.google.protobuf.Struct config = 2;public Stats.StatsSink.Builder setConfig(com.google.protobuf.Struct.Builder builderForValue)
Stats sink specific configuration which depends on the sink being instantiated. See :ref:`StatsdSink <envoy_api_msg_config.metrics.v2.StatsdSink>` for an example.
.google.protobuf.Struct config = 2;public Stats.StatsSink.Builder mergeConfig(com.google.protobuf.Struct value)
Stats sink specific configuration which depends on the sink being instantiated. See :ref:`StatsdSink <envoy_api_msg_config.metrics.v2.StatsdSink>` for an example.
.google.protobuf.Struct config = 2;public Stats.StatsSink.Builder clearConfig()
Stats sink specific configuration which depends on the sink being instantiated. See :ref:`StatsdSink <envoy_api_msg_config.metrics.v2.StatsdSink>` for an example.
.google.protobuf.Struct config = 2;public com.google.protobuf.Struct.Builder getConfigBuilder()
Stats sink specific configuration which depends on the sink being instantiated. See :ref:`StatsdSink <envoy_api_msg_config.metrics.v2.StatsdSink>` for an example.
.google.protobuf.Struct config = 2;public com.google.protobuf.StructOrBuilder getConfigOrBuilder()
Stats sink specific configuration which depends on the sink being instantiated. See :ref:`StatsdSink <envoy_api_msg_config.metrics.v2.StatsdSink>` for an example.
.google.protobuf.Struct config = 2;getConfigOrBuilder in interface Stats.StatsSinkOrBuilderpublic final Stats.StatsSink.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsSink.Builder>public final Stats.StatsSink.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsSink.Builder>Copyright © 2018 The Envoy Project. All rights reserved.