public final class MetricsServiceConfig extends com.google.protobuf.GeneratedMessageV3 implements MetricsServiceConfigOrBuilder
Metrics Service is configured as a built-in *envoy.stat_sinks.metrics_service* :ref:`StatsSink <envoy_api_msg_config.metrics.v3.StatsSink>`. This opaque configuration will be used to create Metrics Service. [#extension: envoy.stat_sinks.metrics_service]Protobuf type
envoy.config.metrics.v3.MetricsServiceConfig| Modifier and Type | Class and Description |
|---|---|
static class |
MetricsServiceConfig.Builder
Metrics Service is configured as a built-in *envoy.stat_sinks.metrics_service* :ref:`StatsSink
<envoy_api_msg_config.metrics.v3.StatsSink>`.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
GRPC_SERVICE_FIELD_NUMBER |
static int |
REPORT_COUNTERS_AS_DELTAS_FIELD_NUMBER |
static int |
TRANSPORT_API_VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static MetricsServiceConfig |
getDefaultInstance() |
MetricsServiceConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
GrpcService |
getGrpcService()
The upstream gRPC cluster that hosts the metrics service.
|
GrpcServiceOrBuilder |
getGrpcServiceOrBuilder()
The upstream gRPC cluster that hosts the metrics service.
|
com.google.protobuf.Parser<MetricsServiceConfig> |
getParserForType() |
com.google.protobuf.BoolValue |
getReportCountersAsDeltas()
If true, counters are reported as the delta between flushing intervals.
|
com.google.protobuf.BoolValueOrBuilder |
getReportCountersAsDeltasOrBuilder()
If true, counters are reported as the delta between flushing intervals.
|
int |
getSerializedSize() |
ApiVersion |
getTransportApiVersion()
API version for metric service transport protocol.
|
int |
getTransportApiVersionValue()
API version for metric service transport protocol.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasGrpcService()
The upstream gRPC cluster that hosts the metrics service.
|
int |
hashCode() |
boolean |
hasReportCountersAsDeltas()
If true, counters are reported as the delta between flushing intervals.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MetricsServiceConfig.Builder |
newBuilder() |
static MetricsServiceConfig.Builder |
newBuilder(MetricsServiceConfig prototype) |
MetricsServiceConfig.Builder |
newBuilderForType() |
protected MetricsServiceConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MetricsServiceConfig |
parseDelimitedFrom(InputStream input) |
static MetricsServiceConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricsServiceConfig |
parseFrom(byte[] data) |
static MetricsServiceConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricsServiceConfig |
parseFrom(ByteBuffer data) |
static MetricsServiceConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricsServiceConfig |
parseFrom(com.google.protobuf.ByteString data) |
static MetricsServiceConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricsServiceConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MetricsServiceConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricsServiceConfig |
parseFrom(InputStream input) |
static MetricsServiceConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MetricsServiceConfig> |
parser() |
MetricsServiceConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int GRPC_SERVICE_FIELD_NUMBER
public static final int TRANSPORT_API_VERSION_FIELD_NUMBER
public static final int REPORT_COUNTERS_AS_DELTAS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasGrpcService()
The upstream gRPC cluster that hosts the metrics service.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... }hasGrpcService in interface MetricsServiceConfigOrBuilderpublic GrpcService getGrpcService()
The upstream gRPC cluster that hosts the metrics service.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... }getGrpcService in interface MetricsServiceConfigOrBuilderpublic GrpcServiceOrBuilder getGrpcServiceOrBuilder()
The upstream gRPC cluster that hosts the metrics service.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... }getGrpcServiceOrBuilder in interface MetricsServiceConfigOrBuilderpublic int getTransportApiVersionValue()
API version for metric service transport protocol. This describes the metric service gRPC endpoint and version of messages used on the wire.
.envoy.config.core.v3.ApiVersion transport_api_version = 3 [(.validate.rules) = { ... }getTransportApiVersionValue in interface MetricsServiceConfigOrBuilderpublic ApiVersion getTransportApiVersion()
API version for metric service transport protocol. This describes the metric service gRPC endpoint and version of messages used on the wire.
.envoy.config.core.v3.ApiVersion transport_api_version = 3 [(.validate.rules) = { ... }getTransportApiVersion in interface MetricsServiceConfigOrBuilderpublic boolean hasReportCountersAsDeltas()
If true, counters are reported as the delta between flushing intervals. Otherwise, the current counter value is reported. Defaults to false. Eventually (https://github.com/envoyproxy/envoy/issues/10968) if this value is not set, the sink will take updates from the :ref:`MetricsResponse <envoy_api_msg_service.metrics.v3.StreamMetricsResponse>`.
.google.protobuf.BoolValue report_counters_as_deltas = 2;hasReportCountersAsDeltas in interface MetricsServiceConfigOrBuilderpublic com.google.protobuf.BoolValue getReportCountersAsDeltas()
If true, counters are reported as the delta between flushing intervals. Otherwise, the current counter value is reported. Defaults to false. Eventually (https://github.com/envoyproxy/envoy/issues/10968) if this value is not set, the sink will take updates from the :ref:`MetricsResponse <envoy_api_msg_service.metrics.v3.StreamMetricsResponse>`.
.google.protobuf.BoolValue report_counters_as_deltas = 2;getReportCountersAsDeltas in interface MetricsServiceConfigOrBuilderpublic com.google.protobuf.BoolValueOrBuilder getReportCountersAsDeltasOrBuilder()
If true, counters are reported as the delta between flushing intervals. Otherwise, the current counter value is reported. Defaults to false. Eventually (https://github.com/envoyproxy/envoy/issues/10968) if this value is not set, the sink will take updates from the :ref:`MetricsResponse <envoy_api_msg_service.metrics.v3.StreamMetricsResponse>`.
.google.protobuf.BoolValue report_counters_as_deltas = 2;getReportCountersAsDeltasOrBuilder in interface MetricsServiceConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MetricsServiceConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetricsServiceConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetricsServiceConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetricsServiceConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetricsServiceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetricsServiceConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetricsServiceConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static MetricsServiceConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MetricsServiceConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MetricsServiceConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MetricsServiceConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MetricsServiceConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MetricsServiceConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MetricsServiceConfig.Builder newBuilder()
public static MetricsServiceConfig.Builder newBuilder(MetricsServiceConfig prototype)
public MetricsServiceConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MetricsServiceConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MetricsServiceConfig getDefaultInstance()
public static com.google.protobuf.Parser<MetricsServiceConfig> parser()
public com.google.protobuf.Parser<MetricsServiceConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MetricsServiceConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.