public static final class Stats.StatsdSink.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsdSink.Builder> implements Stats.StatsdSinkOrBuilder
Stats configuration proto schema for built-in *envoy.statsd* sink. This sink does not support tagged metrics.Protobuf type
envoy.config.metrics.v2.StatsdSink| Modifier and Type | Method and Description |
|---|---|
Stats.StatsdSink.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Stats.StatsdSink |
build() |
Stats.StatsdSink |
buildPartial() |
Stats.StatsdSink.Builder |
clear() |
Stats.StatsdSink.Builder |
clearAddress()
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_
compliant listener.
|
Stats.StatsdSink.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Stats.StatsdSink.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Stats.StatsdSink.Builder |
clearPrefix()
Optional custom prefix for StatsdSink.
|
Stats.StatsdSink.Builder |
clearStatsdSpecifier() |
Stats.StatsdSink.Builder |
clearTcpClusterName()
The name of a cluster that is running a TCP `statsd
<https://github.com/etsy/statsd>`_ compliant listener.
|
Stats.StatsdSink.Builder |
clone() |
AddressOuterClass.Address |
getAddress()
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_
compliant listener.
|
AddressOuterClass.Address.Builder |
getAddressBuilder()
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_
compliant listener.
|
AddressOuterClass.AddressOrBuilder |
getAddressOrBuilder()
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_
compliant listener.
|
Stats.StatsdSink |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getPrefix()
Optional custom prefix for StatsdSink.
|
com.google.protobuf.ByteString |
getPrefixBytes()
Optional custom prefix for StatsdSink.
|
Stats.StatsdSink.StatsdSpecifierCase |
getStatsdSpecifierCase() |
String |
getTcpClusterName()
The name of a cluster that is running a TCP `statsd
<https://github.com/etsy/statsd>`_ compliant listener.
|
com.google.protobuf.ByteString |
getTcpClusterNameBytes()
The name of a cluster that is running a TCP `statsd
<https://github.com/etsy/statsd>`_ compliant listener.
|
boolean |
hasAddress()
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_
compliant listener.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Stats.StatsdSink.Builder |
mergeAddress(AddressOuterClass.Address value)
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_
compliant listener.
|
Stats.StatsdSink.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Stats.StatsdSink.Builder |
mergeFrom(com.google.protobuf.Message other) |
Stats.StatsdSink.Builder |
mergeFrom(Stats.StatsdSink other) |
Stats.StatsdSink.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Stats.StatsdSink.Builder |
setAddress(AddressOuterClass.Address.Builder builderForValue)
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_
compliant listener.
|
Stats.StatsdSink.Builder |
setAddress(AddressOuterClass.Address value)
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_
compliant listener.
|
Stats.StatsdSink.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Stats.StatsdSink.Builder |
setPrefix(String value)
Optional custom prefix for StatsdSink.
|
Stats.StatsdSink.Builder |
setPrefixBytes(com.google.protobuf.ByteString value)
Optional custom prefix for StatsdSink.
|
Stats.StatsdSink.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Stats.StatsdSink.Builder |
setTcpClusterName(String value)
The name of a cluster that is running a TCP `statsd
<https://github.com/etsy/statsd>`_ compliant listener.
|
Stats.StatsdSink.Builder |
setTcpClusterNameBytes(com.google.protobuf.ByteString value)
The name of a cluster that is running a TCP `statsd
<https://github.com/etsy/statsd>`_ compliant listener.
|
Stats.StatsdSink.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.StatsdSink.Builder>public Stats.StatsdSink.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.StatsdSink.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.StatsdSink.Builder>public Stats.StatsdSink getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Stats.StatsdSink build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Stats.StatsdSink buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Stats.StatsdSink.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.StatsdSink.Builder>public Stats.StatsdSink.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.StatsdSink.Builder>public Stats.StatsdSink.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsdSink.Builder>public Stats.StatsdSink.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsdSink.Builder>public Stats.StatsdSink.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.StatsdSink.Builder>public Stats.StatsdSink.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.StatsdSink.Builder>public Stats.StatsdSink.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Stats.StatsdSink.Builder>public Stats.StatsdSink.Builder mergeFrom(Stats.StatsdSink other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsdSink.Builder>public Stats.StatsdSink.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.StatsdSink.Builder>IOExceptionpublic Stats.StatsdSink.StatsdSpecifierCase getStatsdSpecifierCase()
getStatsdSpecifierCase in interface Stats.StatsdSinkOrBuilderpublic Stats.StatsdSink.Builder clearStatsdSpecifier()
public boolean hasAddress()
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_ compliant listener. If specified, statistics will be flushed to this address.
.envoy.api.v2.core.Address address = 1;hasAddress in interface Stats.StatsdSinkOrBuilderpublic AddressOuterClass.Address getAddress()
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_ compliant listener. If specified, statistics will be flushed to this address.
.envoy.api.v2.core.Address address = 1;getAddress in interface Stats.StatsdSinkOrBuilderpublic Stats.StatsdSink.Builder setAddress(AddressOuterClass.Address value)
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_ compliant listener. If specified, statistics will be flushed to this address.
.envoy.api.v2.core.Address address = 1;public Stats.StatsdSink.Builder setAddress(AddressOuterClass.Address.Builder builderForValue)
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_ compliant listener. If specified, statistics will be flushed to this address.
.envoy.api.v2.core.Address address = 1;public Stats.StatsdSink.Builder mergeAddress(AddressOuterClass.Address value)
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_ compliant listener. If specified, statistics will be flushed to this address.
.envoy.api.v2.core.Address address = 1;public Stats.StatsdSink.Builder clearAddress()
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_ compliant listener. If specified, statistics will be flushed to this address.
.envoy.api.v2.core.Address address = 1;public AddressOuterClass.Address.Builder getAddressBuilder()
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_ compliant listener. If specified, statistics will be flushed to this address.
.envoy.api.v2.core.Address address = 1;public AddressOuterClass.AddressOrBuilder getAddressOrBuilder()
The UDP address of a running `statsd <https://github.com/etsy/statsd>`_ compliant listener. If specified, statistics will be flushed to this address.
.envoy.api.v2.core.Address address = 1;getAddressOrBuilder in interface Stats.StatsdSinkOrBuilderpublic String getTcpClusterName()
The name of a cluster that is running a TCP `statsd <https://github.com/etsy/statsd>`_ compliant listener. If specified, Envoy will connect to this cluster to flush statistics.
string tcp_cluster_name = 2;getTcpClusterName in interface Stats.StatsdSinkOrBuilderpublic com.google.protobuf.ByteString getTcpClusterNameBytes()
The name of a cluster that is running a TCP `statsd <https://github.com/etsy/statsd>`_ compliant listener. If specified, Envoy will connect to this cluster to flush statistics.
string tcp_cluster_name = 2;getTcpClusterNameBytes in interface Stats.StatsdSinkOrBuilderpublic Stats.StatsdSink.Builder setTcpClusterName(String value)
The name of a cluster that is running a TCP `statsd <https://github.com/etsy/statsd>`_ compliant listener. If specified, Envoy will connect to this cluster to flush statistics.
string tcp_cluster_name = 2;public Stats.StatsdSink.Builder clearTcpClusterName()
The name of a cluster that is running a TCP `statsd <https://github.com/etsy/statsd>`_ compliant listener. If specified, Envoy will connect to this cluster to flush statistics.
string tcp_cluster_name = 2;public Stats.StatsdSink.Builder setTcpClusterNameBytes(com.google.protobuf.ByteString value)
The name of a cluster that is running a TCP `statsd <https://github.com/etsy/statsd>`_ compliant listener. If specified, Envoy will connect to this cluster to flush statistics.
string tcp_cluster_name = 2;public String getPrefix()
Optional custom prefix for StatsdSink. If
specified, this will override the default prefix.
For example:
.. code-block:: json
{
"prefix" : "envoy-prod"
}
will change emitted stats to
.. code-block:: cpp
envoy-prod.test_counter:1|c
envoy-prod.test_timer:5|ms
Note that the default prefix, "envoy", will be used if a prefix is not
specified.
Stats with default prefix:
.. code-block:: cpp
envoy.test_counter:1|c
envoy.test_timer:5|ms
string prefix = 3;getPrefix in interface Stats.StatsdSinkOrBuilderpublic com.google.protobuf.ByteString getPrefixBytes()
Optional custom prefix for StatsdSink. If
specified, this will override the default prefix.
For example:
.. code-block:: json
{
"prefix" : "envoy-prod"
}
will change emitted stats to
.. code-block:: cpp
envoy-prod.test_counter:1|c
envoy-prod.test_timer:5|ms
Note that the default prefix, "envoy", will be used if a prefix is not
specified.
Stats with default prefix:
.. code-block:: cpp
envoy.test_counter:1|c
envoy.test_timer:5|ms
string prefix = 3;getPrefixBytes in interface Stats.StatsdSinkOrBuilderpublic Stats.StatsdSink.Builder setPrefix(String value)
Optional custom prefix for StatsdSink. If
specified, this will override the default prefix.
For example:
.. code-block:: json
{
"prefix" : "envoy-prod"
}
will change emitted stats to
.. code-block:: cpp
envoy-prod.test_counter:1|c
envoy-prod.test_timer:5|ms
Note that the default prefix, "envoy", will be used if a prefix is not
specified.
Stats with default prefix:
.. code-block:: cpp
envoy.test_counter:1|c
envoy.test_timer:5|ms
string prefix = 3;public Stats.StatsdSink.Builder clearPrefix()
Optional custom prefix for StatsdSink. If
specified, this will override the default prefix.
For example:
.. code-block:: json
{
"prefix" : "envoy-prod"
}
will change emitted stats to
.. code-block:: cpp
envoy-prod.test_counter:1|c
envoy-prod.test_timer:5|ms
Note that the default prefix, "envoy", will be used if a prefix is not
specified.
Stats with default prefix:
.. code-block:: cpp
envoy.test_counter:1|c
envoy.test_timer:5|ms
string prefix = 3;public Stats.StatsdSink.Builder setPrefixBytes(com.google.protobuf.ByteString value)
Optional custom prefix for StatsdSink. If
specified, this will override the default prefix.
For example:
.. code-block:: json
{
"prefix" : "envoy-prod"
}
will change emitted stats to
.. code-block:: cpp
envoy-prod.test_counter:1|c
envoy-prod.test_timer:5|ms
Note that the default prefix, "envoy", will be used if a prefix is not
specified.
Stats with default prefix:
.. code-block:: cpp
envoy.test_counter:1|c
envoy.test_timer:5|ms
string prefix = 3;public final Stats.StatsdSink.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsdSink.Builder>public final Stats.StatsdSink.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Stats.StatsdSink.Builder>Copyright © 2018 The Envoy Project. All rights reserved.