Class GraphiteStatsdSink
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.extensions.stat_sinks.graphite_statsd.v3.GraphiteStatsdSink
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GraphiteStatsdSinkOrBuilder,Serializable
public final class GraphiteStatsdSink extends com.google.protobuf.GeneratedMessageV3 implements GraphiteStatsdSinkOrBuilder
Protobuf typeenvoy.extensions.stat_sinks.graphite_statsd.v3.GraphiteStatsdSink- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGraphiteStatsdSink.BuilderProtobuf typeenvoy.extensions.stat_sinks.graphite_statsd.v3.GraphiteStatsdSinkstatic classGraphiteStatsdSink.StatsdSpecifierCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intADDRESS_FIELD_NUMBERstatic intMAX_BYTES_PER_DATAGRAM_FIELD_NUMBERstatic intPREFIX_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)AddressgetAddress()The UDP address of a running Graphite-compliant listener.AddressOrBuildergetAddressOrBuilder()The UDP address of a running Graphite-compliant listener.static GraphiteStatsdSinkgetDefaultInstance()GraphiteStatsdSinkgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.UInt64ValuegetMaxBytesPerDatagram()Optional max datagram size to use when sending UDP messages.com.google.protobuf.UInt64ValueOrBuildergetMaxBytesPerDatagramOrBuilder()Optional max datagram size to use when sending UDP messages.com.google.protobuf.Parser<GraphiteStatsdSink>getParserForType()StringgetPrefix()Optional custom metric name prefix.com.google.protobuf.ByteStringgetPrefixBytes()Optional custom metric name prefix.intgetSerializedSize()GraphiteStatsdSink.StatsdSpecifierCasegetStatsdSpecifierCase()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAddress()The UDP address of a running Graphite-compliant listener.inthashCode()booleanhasMaxBytesPerDatagram()Optional max datagram size to use when sending UDP messages.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static GraphiteStatsdSink.BuildernewBuilder()static GraphiteStatsdSink.BuildernewBuilder(GraphiteStatsdSink prototype)GraphiteStatsdSink.BuildernewBuilderForType()protected GraphiteStatsdSink.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GraphiteStatsdSinkparseDelimitedFrom(InputStream input)static GraphiteStatsdSinkparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GraphiteStatsdSinkparseFrom(byte[] data)static GraphiteStatsdSinkparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GraphiteStatsdSinkparseFrom(com.google.protobuf.ByteString data)static GraphiteStatsdSinkparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GraphiteStatsdSinkparseFrom(com.google.protobuf.CodedInputStream input)static GraphiteStatsdSinkparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GraphiteStatsdSinkparseFrom(InputStream input)static GraphiteStatsdSinkparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GraphiteStatsdSinkparseFrom(ByteBuffer data)static GraphiteStatsdSinkparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GraphiteStatsdSink>parser()GraphiteStatsdSink.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ADDRESS_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PREFIX_FIELD_NUMBER
public static final int PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_BYTES_PER_DATAGRAM_FIELD_NUMBER
public static final int MAX_BYTES_PER_DATAGRAM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getStatsdSpecifierCase
public GraphiteStatsdSink.StatsdSpecifierCase getStatsdSpecifierCase()
- Specified by:
getStatsdSpecifierCasein interfaceGraphiteStatsdSinkOrBuilder
-
hasAddress
public boolean hasAddress()
The UDP address of a running Graphite-compliant listener. If specified, statistics will be flushed to this address.
.envoy.config.core.v3.Address address = 1;- Specified by:
hasAddressin interfaceGraphiteStatsdSinkOrBuilder- Returns:
- Whether the address field is set.
-
getAddress
public Address getAddress()
The UDP address of a running Graphite-compliant listener. If specified, statistics will be flushed to this address.
.envoy.config.core.v3.Address address = 1;- Specified by:
getAddressin interfaceGraphiteStatsdSinkOrBuilder- Returns:
- The address.
-
getAddressOrBuilder
public AddressOrBuilder getAddressOrBuilder()
The UDP address of a running Graphite-compliant listener. If specified, statistics will be flushed to this address.
.envoy.config.core.v3.Address address = 1;- Specified by:
getAddressOrBuilderin interfaceGraphiteStatsdSinkOrBuilder
-
getPrefix
public String getPrefix()
Optional custom metric name prefix. See :ref:`StatsdSink's prefix field <envoy_v3_api_field_config.metrics.v3.StatsdSink.prefix>` for more details.
string prefix = 3;- Specified by:
getPrefixin interfaceGraphiteStatsdSinkOrBuilder- Returns:
- The prefix.
-
getPrefixBytes
public com.google.protobuf.ByteString getPrefixBytes()
Optional custom metric name prefix. See :ref:`StatsdSink's prefix field <envoy_v3_api_field_config.metrics.v3.StatsdSink.prefix>` for more details.
string prefix = 3;- Specified by:
getPrefixBytesin interfaceGraphiteStatsdSinkOrBuilder- Returns:
- The bytes for prefix.
-
hasMaxBytesPerDatagram
public boolean hasMaxBytesPerDatagram()
Optional max datagram size to use when sending UDP messages. By default Envoy will emit one metric per datagram. By specifying a max-size larger than a single metric, Envoy will emit multiple, new-line separated metrics. The max datagram size should not exceed your network's MTU. Note that this value may not be respected if smaller than a single metric.
.google.protobuf.UInt64Value max_bytes_per_datagram = 4 [(.validate.rules) = { ... }- Specified by:
hasMaxBytesPerDatagramin interfaceGraphiteStatsdSinkOrBuilder- Returns:
- Whether the maxBytesPerDatagram field is set.
-
getMaxBytesPerDatagram
public com.google.protobuf.UInt64Value getMaxBytesPerDatagram()
Optional max datagram size to use when sending UDP messages. By default Envoy will emit one metric per datagram. By specifying a max-size larger than a single metric, Envoy will emit multiple, new-line separated metrics. The max datagram size should not exceed your network's MTU. Note that this value may not be respected if smaller than a single metric.
.google.protobuf.UInt64Value max_bytes_per_datagram = 4 [(.validate.rules) = { ... }- Specified by:
getMaxBytesPerDatagramin interfaceGraphiteStatsdSinkOrBuilder- Returns:
- The maxBytesPerDatagram.
-
getMaxBytesPerDatagramOrBuilder
public com.google.protobuf.UInt64ValueOrBuilder getMaxBytesPerDatagramOrBuilder()
Optional max datagram size to use when sending UDP messages. By default Envoy will emit one metric per datagram. By specifying a max-size larger than a single metric, Envoy will emit multiple, new-line separated metrics. The max datagram size should not exceed your network's MTU. Note that this value may not be respected if smaller than a single metric.
.google.protobuf.UInt64Value max_bytes_per_datagram = 4 [(.validate.rules) = { ... }- Specified by:
getMaxBytesPerDatagramOrBuilderin interfaceGraphiteStatsdSinkOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GraphiteStatsdSink parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GraphiteStatsdSink parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GraphiteStatsdSink parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GraphiteStatsdSink parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GraphiteStatsdSink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GraphiteStatsdSink parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GraphiteStatsdSink parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GraphiteStatsdSink parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GraphiteStatsdSink parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GraphiteStatsdSink parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static GraphiteStatsdSink parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GraphiteStatsdSink parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public GraphiteStatsdSink.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GraphiteStatsdSink.Builder newBuilder()
-
newBuilder
public static GraphiteStatsdSink.Builder newBuilder(GraphiteStatsdSink prototype)
-
toBuilder
public GraphiteStatsdSink.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GraphiteStatsdSink.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GraphiteStatsdSink getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GraphiteStatsdSink> parser()
-
getParserForType
public com.google.protobuf.Parser<GraphiteStatsdSink> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GraphiteStatsdSink getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-