Class SinkConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SinkConfig.Builder>
io.envoyproxy.envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SinkConfigOrBuilder,Cloneable
- Enclosing class:
- SinkConfig
public static final class SinkConfig.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SinkConfig.Builder>
implements SinkConfigOrBuilder
[#next-free-field: 9]Protobuf type
envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllResourceDetectors(Iterable<? extends TypedExtensionConfig> values) Attributes to be associated with the resource in the OTLP message.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addResourceDetectors(int index, TypedExtensionConfig value) Attributes to be associated with the resource in the OTLP message.addResourceDetectors(int index, TypedExtensionConfig.Builder builderForValue) Attributes to be associated with the resource in the OTLP message.Attributes to be associated with the resource in the OTLP message.addResourceDetectors(TypedExtensionConfig.Builder builderForValue) Attributes to be associated with the resource in the OTLP message.Attributes to be associated with the resource in the OTLP message.addResourceDetectorsBuilder(int index) Attributes to be associated with the resource in the OTLP message.build()clear()The custom conversion from a stat to a metric.If set to true, metrics will have their tags emitted as OTLP attributes, which may contain values used by the tag extractor or additional tags added during stats creation.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The upstream gRPC cluster that implements the OTLP/gRPC collector.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) If set, emitted stats names will be prepended with a prefix, so full stat name will be <prefix>.<stats_name>.If set to true, counters will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.If set to true, histograms will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.Attributes to be associated with the resource in the OTLP message.If set to true, metric names will be represented as the tag extracted name instead of the full metric name.clone()The custom conversion from a stat to a metric.The custom conversion from a stat to a metric.The custom conversion from a stat to a metric.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.BoolValueIf set to true, metrics will have their tags emitted as OTLP attributes, which may contain values used by the tag extractor or additional tags added during stats creation.com.google.protobuf.BoolValue.BuilderIf set to true, metrics will have their tags emitted as OTLP attributes, which may contain values used by the tag extractor or additional tags added during stats creation.com.google.protobuf.BoolValueOrBuilderIf set to true, metrics will have their tags emitted as OTLP attributes, which may contain values used by the tag extractor or additional tags added during stats creation.The upstream gRPC cluster that implements the OTLP/gRPC collector.The upstream gRPC cluster that implements the OTLP/gRPC collector.The upstream gRPC cluster that implements the OTLP/gRPC collector.If set, emitted stats names will be prepended with a prefix, so full stat name will be <prefix>.<stats_name>.com.google.protobuf.ByteStringIf set, emitted stats names will be prepended with a prefix, so full stat name will be <prefix>.<stats_name>.booleanIf set to true, counters will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.booleanIf set to true, histograms will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.getResourceDetectors(int index) Attributes to be associated with the resource in the OTLP message.getResourceDetectorsBuilder(int index) Attributes to be associated with the resource in the OTLP message.Attributes to be associated with the resource in the OTLP message.intAttributes to be associated with the resource in the OTLP message.Attributes to be associated with the resource in the OTLP message.getResourceDetectorsOrBuilder(int index) Attributes to be associated with the resource in the OTLP message.List<? extends TypedExtensionConfigOrBuilder>Attributes to be associated with the resource in the OTLP message.com.google.protobuf.BoolValueIf set to true, metric names will be represented as the tag extracted name instead of the full metric name.com.google.protobuf.BoolValue.BuilderIf set to true, metric names will be represented as the tag extracted name instead of the full metric name.com.google.protobuf.BoolValueOrBuilderIf set to true, metric names will be represented as the tag extracted name instead of the full metric name.booleanThe custom conversion from a stat to a metric.booleanIf set to true, metrics will have their tags emitted as OTLP attributes, which may contain values used by the tag extractor or additional tags added during stats creation.booleanThe upstream gRPC cluster that implements the OTLP/gRPC collector.booleanIf set to true, metric names will be represented as the tag extracted name instead of the full metric name.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanThe custom conversion from a stat to a metric.mergeEmitTagsAsAttributes(com.google.protobuf.BoolValue value) If set to true, metrics will have their tags emitted as OTLP attributes, which may contain values used by the tag extractor or additional tags added during stats creation.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(SinkConfig other) mergeGrpcService(GrpcService value) The upstream gRPC cluster that implements the OTLP/gRPC collector.final SinkConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUseTagExtractedName(com.google.protobuf.BoolValue value) If set to true, metric names will be represented as the tag extracted name instead of the full metric name.removeResourceDetectors(int index) Attributes to be associated with the resource in the OTLP message.The custom conversion from a stat to a metric.setCustomMetricConversions(Matcher.Builder builderForValue) The custom conversion from a stat to a metric.setEmitTagsAsAttributes(com.google.protobuf.BoolValue value) If set to true, metrics will have their tags emitted as OTLP attributes, which may contain values used by the tag extractor or additional tags added during stats creation.setEmitTagsAsAttributes(com.google.protobuf.BoolValue.Builder builderForValue) If set to true, metrics will have their tags emitted as OTLP attributes, which may contain values used by the tag extractor or additional tags added during stats creation.setGrpcService(GrpcService value) The upstream gRPC cluster that implements the OTLP/gRPC collector.setGrpcService(GrpcService.Builder builderForValue) The upstream gRPC cluster that implements the OTLP/gRPC collector.If set, emitted stats names will be prepended with a prefix, so full stat name will be <prefix>.<stats_name>.setPrefixBytes(com.google.protobuf.ByteString value) If set, emitted stats names will be prepended with a prefix, so full stat name will be <prefix>.<stats_name>.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setReportCountersAsDeltas(boolean value) If set to true, counters will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.setReportHistogramsAsDeltas(boolean value) If set to true, histograms will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.setResourceDetectors(int index, TypedExtensionConfig value) Attributes to be associated with the resource in the OTLP message.setResourceDetectors(int index, TypedExtensionConfig.Builder builderForValue) Attributes to be associated with the resource in the OTLP message.final SinkConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUseTagExtractedName(com.google.protobuf.BoolValue value) If set to true, metric names will be represented as the tag extracted name instead of the full metric name.setUseTagExtractedName(com.google.protobuf.BoolValue.Builder builderForValue) If set to true, metric names will be represented as the tag extracted name instead of the full metric name.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<SinkConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SinkConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SinkConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SinkConfig.Builder>
-
setField
public SinkConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SinkConfig.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SinkConfig.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SinkConfig.Builder>
-
setRepeatedField
public SinkConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SinkConfig.Builder>
-
addRepeatedField
public SinkConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SinkConfig.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SinkConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SinkConfig.Builder>
-
mergeFrom
public SinkConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SinkConfig.Builder>- Throws:
IOException
-
getProtocolSpecifierCase
- Specified by:
getProtocolSpecifierCasein interfaceSinkConfigOrBuilder
-
clearProtocolSpecifier
-
hasGrpcService
public boolean hasGrpcService()The upstream gRPC cluster that implements the OTLP/gRPC collector.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... }- Specified by:
hasGrpcServicein interfaceSinkConfigOrBuilder- Returns:
- Whether the grpcService field is set.
-
getGrpcService
The upstream gRPC cluster that implements the OTLP/gRPC collector.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... }- Specified by:
getGrpcServicein interfaceSinkConfigOrBuilder- Returns:
- The grpcService.
-
setGrpcService
The upstream gRPC cluster that implements the OTLP/gRPC collector.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... } -
setGrpcService
The upstream gRPC cluster that implements the OTLP/gRPC collector.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... } -
mergeGrpcService
The upstream gRPC cluster that implements the OTLP/gRPC collector.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... } -
clearGrpcService
The upstream gRPC cluster that implements the OTLP/gRPC collector.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... } -
getGrpcServiceBuilder
The upstream gRPC cluster that implements the OTLP/gRPC collector.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... } -
getGrpcServiceOrBuilder
The upstream gRPC cluster that implements the OTLP/gRPC collector.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... }- Specified by:
getGrpcServiceOrBuilderin interfaceSinkConfigOrBuilder
-
getResourceDetectorsList
Attributes to be associated with the resource in the OTLP message. [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7;- Specified by:
getResourceDetectorsListin interfaceSinkConfigOrBuilder
-
getResourceDetectorsCount
public int getResourceDetectorsCount()Attributes to be associated with the resource in the OTLP message. [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7;- Specified by:
getResourceDetectorsCountin interfaceSinkConfigOrBuilder
-
getResourceDetectors
Attributes to be associated with the resource in the OTLP message. [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7;- Specified by:
getResourceDetectorsin interfaceSinkConfigOrBuilder
-
setResourceDetectors
Attributes to be associated with the resource in the OTLP message. [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7; -
setResourceDetectors
public SinkConfig.Builder setResourceDetectors(int index, TypedExtensionConfig.Builder builderForValue) Attributes to be associated with the resource in the OTLP message. [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7; -
addResourceDetectors
Attributes to be associated with the resource in the OTLP message. [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7; -
addResourceDetectors
Attributes to be associated with the resource in the OTLP message. [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7; -
addResourceDetectors
Attributes to be associated with the resource in the OTLP message. [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7; -
addResourceDetectors
public SinkConfig.Builder addResourceDetectors(int index, TypedExtensionConfig.Builder builderForValue) Attributes to be associated with the resource in the OTLP message. [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7; -
addAllResourceDetectors
Attributes to be associated with the resource in the OTLP message. [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7; -
clearResourceDetectors
Attributes to be associated with the resource in the OTLP message. [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7; -
removeResourceDetectors
Attributes to be associated with the resource in the OTLP message. [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7; -
getResourceDetectorsBuilder
Attributes to be associated with the resource in the OTLP message. [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7; -
getResourceDetectorsOrBuilder
Attributes to be associated with the resource in the OTLP message. [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7;- Specified by:
getResourceDetectorsOrBuilderin interfaceSinkConfigOrBuilder
-
getResourceDetectorsOrBuilderList
Attributes to be associated with the resource in the OTLP message. [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7;- Specified by:
getResourceDetectorsOrBuilderListin interfaceSinkConfigOrBuilder
-
addResourceDetectorsBuilder
Attributes to be associated with the resource in the OTLP message. [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7; -
addResourceDetectorsBuilder
Attributes to be associated with the resource in the OTLP message. [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7; -
getResourceDetectorsBuilderList
Attributes to be associated with the resource in the OTLP message. [#extension-category: envoy.tracers.opentelemetry.resource_detectors]
repeated .envoy.config.core.v3.TypedExtensionConfig resource_detectors = 7; -
getReportCountersAsDeltas
public boolean getReportCountersAsDeltas()If set to true, counters will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.
bool report_counters_as_deltas = 2;- Specified by:
getReportCountersAsDeltasin interfaceSinkConfigOrBuilder- Returns:
- The reportCountersAsDeltas.
-
setReportCountersAsDeltas
If set to true, counters will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.
bool report_counters_as_deltas = 2;- Parameters:
value- The reportCountersAsDeltas to set.- Returns:
- This builder for chaining.
-
clearReportCountersAsDeltas
If set to true, counters will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.
bool report_counters_as_deltas = 2;- Returns:
- This builder for chaining.
-
getReportHistogramsAsDeltas
public boolean getReportHistogramsAsDeltas()If set to true, histograms will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.
bool report_histograms_as_deltas = 3;- Specified by:
getReportHistogramsAsDeltasin interfaceSinkConfigOrBuilder- Returns:
- The reportHistogramsAsDeltas.
-
setReportHistogramsAsDeltas
If set to true, histograms will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.
bool report_histograms_as_deltas = 3;- Parameters:
value- The reportHistogramsAsDeltas to set.- Returns:
- This builder for chaining.
-
clearReportHistogramsAsDeltas
If set to true, histograms will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.
bool report_histograms_as_deltas = 3;- Returns:
- This builder for chaining.
-
hasEmitTagsAsAttributes
public boolean hasEmitTagsAsAttributes()If set to true, metrics will have their tags emitted as OTLP attributes, which may contain values used by the tag extractor or additional tags added during stats creation. Otherwise, no attributes will be associated with the export message. Default value is true.
.google.protobuf.BoolValue emit_tags_as_attributes = 4;- Specified by:
hasEmitTagsAsAttributesin interfaceSinkConfigOrBuilder- Returns:
- Whether the emitTagsAsAttributes field is set.
-
getEmitTagsAsAttributes
public com.google.protobuf.BoolValue getEmitTagsAsAttributes()If set to true, metrics will have their tags emitted as OTLP attributes, which may contain values used by the tag extractor or additional tags added during stats creation. Otherwise, no attributes will be associated with the export message. Default value is true.
.google.protobuf.BoolValue emit_tags_as_attributes = 4;- Specified by:
getEmitTagsAsAttributesin interfaceSinkConfigOrBuilder- Returns:
- The emitTagsAsAttributes.
-
setEmitTagsAsAttributes
If set to true, metrics will have their tags emitted as OTLP attributes, which may contain values used by the tag extractor or additional tags added during stats creation. Otherwise, no attributes will be associated with the export message. Default value is true.
.google.protobuf.BoolValue emit_tags_as_attributes = 4; -
setEmitTagsAsAttributes
public SinkConfig.Builder setEmitTagsAsAttributes(com.google.protobuf.BoolValue.Builder builderForValue) If set to true, metrics will have their tags emitted as OTLP attributes, which may contain values used by the tag extractor or additional tags added during stats creation. Otherwise, no attributes will be associated with the export message. Default value is true.
.google.protobuf.BoolValue emit_tags_as_attributes = 4; -
mergeEmitTagsAsAttributes
If set to true, metrics will have their tags emitted as OTLP attributes, which may contain values used by the tag extractor or additional tags added during stats creation. Otherwise, no attributes will be associated with the export message. Default value is true.
.google.protobuf.BoolValue emit_tags_as_attributes = 4; -
clearEmitTagsAsAttributes
If set to true, metrics will have their tags emitted as OTLP attributes, which may contain values used by the tag extractor or additional tags added during stats creation. Otherwise, no attributes will be associated with the export message. Default value is true.
.google.protobuf.BoolValue emit_tags_as_attributes = 4; -
getEmitTagsAsAttributesBuilder
public com.google.protobuf.BoolValue.Builder getEmitTagsAsAttributesBuilder()If set to true, metrics will have their tags emitted as OTLP attributes, which may contain values used by the tag extractor or additional tags added during stats creation. Otherwise, no attributes will be associated with the export message. Default value is true.
.google.protobuf.BoolValue emit_tags_as_attributes = 4; -
getEmitTagsAsAttributesOrBuilder
public com.google.protobuf.BoolValueOrBuilder getEmitTagsAsAttributesOrBuilder()If set to true, metrics will have their tags emitted as OTLP attributes, which may contain values used by the tag extractor or additional tags added during stats creation. Otherwise, no attributes will be associated with the export message. Default value is true.
.google.protobuf.BoolValue emit_tags_as_attributes = 4;- Specified by:
getEmitTagsAsAttributesOrBuilderin interfaceSinkConfigOrBuilder
-
hasUseTagExtractedName
public boolean hasUseTagExtractedName()If set to true, metric names will be represented as the tag extracted name instead of the full metric name. Default value is true.
.google.protobuf.BoolValue use_tag_extracted_name = 5;- Specified by:
hasUseTagExtractedNamein interfaceSinkConfigOrBuilder- Returns:
- Whether the useTagExtractedName field is set.
-
getUseTagExtractedName
public com.google.protobuf.BoolValue getUseTagExtractedName()If set to true, metric names will be represented as the tag extracted name instead of the full metric name. Default value is true.
.google.protobuf.BoolValue use_tag_extracted_name = 5;- Specified by:
getUseTagExtractedNamein interfaceSinkConfigOrBuilder- Returns:
- The useTagExtractedName.
-
setUseTagExtractedName
If set to true, metric names will be represented as the tag extracted name instead of the full metric name. Default value is true.
.google.protobuf.BoolValue use_tag_extracted_name = 5; -
setUseTagExtractedName
public SinkConfig.Builder setUseTagExtractedName(com.google.protobuf.BoolValue.Builder builderForValue) If set to true, metric names will be represented as the tag extracted name instead of the full metric name. Default value is true.
.google.protobuf.BoolValue use_tag_extracted_name = 5; -
mergeUseTagExtractedName
If set to true, metric names will be represented as the tag extracted name instead of the full metric name. Default value is true.
.google.protobuf.BoolValue use_tag_extracted_name = 5; -
clearUseTagExtractedName
If set to true, metric names will be represented as the tag extracted name instead of the full metric name. Default value is true.
.google.protobuf.BoolValue use_tag_extracted_name = 5; -
getUseTagExtractedNameBuilder
public com.google.protobuf.BoolValue.Builder getUseTagExtractedNameBuilder()If set to true, metric names will be represented as the tag extracted name instead of the full metric name. Default value is true.
.google.protobuf.BoolValue use_tag_extracted_name = 5; -
getUseTagExtractedNameOrBuilder
public com.google.protobuf.BoolValueOrBuilder getUseTagExtractedNameOrBuilder()If set to true, metric names will be represented as the tag extracted name instead of the full metric name. Default value is true.
.google.protobuf.BoolValue use_tag_extracted_name = 5;- Specified by:
getUseTagExtractedNameOrBuilderin interfaceSinkConfigOrBuilder
-
getPrefix
If set, emitted stats names will be prepended with a prefix, so full stat name will be <prefix>.<stats_name>. For example, if the stat name is "foo.bar" and prefix is "pre", the full stat name will be "pre.foo.bar". If this field is not set, there is no prefix added. According to the example, the full stat name will remain "foo.bar".
string prefix = 6;- Specified by:
getPrefixin interfaceSinkConfigOrBuilder- Returns:
- The prefix.
-
getPrefixBytes
public com.google.protobuf.ByteString getPrefixBytes()If set, emitted stats names will be prepended with a prefix, so full stat name will be <prefix>.<stats_name>. For example, if the stat name is "foo.bar" and prefix is "pre", the full stat name will be "pre.foo.bar". If this field is not set, there is no prefix added. According to the example, the full stat name will remain "foo.bar".
string prefix = 6;- Specified by:
getPrefixBytesin interfaceSinkConfigOrBuilder- Returns:
- The bytes for prefix.
-
setPrefix
If set, emitted stats names will be prepended with a prefix, so full stat name will be <prefix>.<stats_name>. For example, if the stat name is "foo.bar" and prefix is "pre", the full stat name will be "pre.foo.bar". If this field is not set, there is no prefix added. According to the example, the full stat name will remain "foo.bar".
string prefix = 6;- Parameters:
value- The prefix to set.- Returns:
- This builder for chaining.
-
clearPrefix
If set, emitted stats names will be prepended with a prefix, so full stat name will be <prefix>.<stats_name>. For example, if the stat name is "foo.bar" and prefix is "pre", the full stat name will be "pre.foo.bar". If this field is not set, there is no prefix added. According to the example, the full stat name will remain "foo.bar".
string prefix = 6;- Returns:
- This builder for chaining.
-
setPrefixBytes
If set, emitted stats names will be prepended with a prefix, so full stat name will be <prefix>.<stats_name>. For example, if the stat name is "foo.bar" and prefix is "pre", the full stat name will be "pre.foo.bar". If this field is not set, there is no prefix added. According to the example, the full stat name will remain "foo.bar".
string prefix = 6;- Parameters:
value- The bytes for prefix to set.- Returns:
- This builder for chaining.
-
hasCustomMetricConversions
public boolean hasCustomMetricConversions()The custom conversion from a stat to a metric. Currently, the only supported input is ``envoy.extensions.matching.common_inputs.stats.v3.StatFullNameMatchInput``. The supported actions are - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.DropAction``. - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.ConversionAction``. If stats are not matched, they will be directly converted to OTLP metrics as usual.
.xds.type.matcher.v3.Matcher custom_metric_conversions = 8;- Specified by:
hasCustomMetricConversionsin interfaceSinkConfigOrBuilder- Returns:
- Whether the customMetricConversions field is set.
-
getCustomMetricConversions
The custom conversion from a stat to a metric. Currently, the only supported input is ``envoy.extensions.matching.common_inputs.stats.v3.StatFullNameMatchInput``. The supported actions are - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.DropAction``. - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.ConversionAction``. If stats are not matched, they will be directly converted to OTLP metrics as usual.
.xds.type.matcher.v3.Matcher custom_metric_conversions = 8;- Specified by:
getCustomMetricConversionsin interfaceSinkConfigOrBuilder- Returns:
- The customMetricConversions.
-
setCustomMetricConversions
The custom conversion from a stat to a metric. Currently, the only supported input is ``envoy.extensions.matching.common_inputs.stats.v3.StatFullNameMatchInput``. The supported actions are - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.DropAction``. - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.ConversionAction``. If stats are not matched, they will be directly converted to OTLP metrics as usual.
.xds.type.matcher.v3.Matcher custom_metric_conversions = 8; -
setCustomMetricConversions
The custom conversion from a stat to a metric. Currently, the only supported input is ``envoy.extensions.matching.common_inputs.stats.v3.StatFullNameMatchInput``. The supported actions are - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.DropAction``. - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.ConversionAction``. If stats are not matched, they will be directly converted to OTLP metrics as usual.
.xds.type.matcher.v3.Matcher custom_metric_conversions = 8; -
mergeCustomMetricConversions
The custom conversion from a stat to a metric. Currently, the only supported input is ``envoy.extensions.matching.common_inputs.stats.v3.StatFullNameMatchInput``. The supported actions are - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.DropAction``. - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.ConversionAction``. If stats are not matched, they will be directly converted to OTLP metrics as usual.
.xds.type.matcher.v3.Matcher custom_metric_conversions = 8; -
clearCustomMetricConversions
The custom conversion from a stat to a metric. Currently, the only supported input is ``envoy.extensions.matching.common_inputs.stats.v3.StatFullNameMatchInput``. The supported actions are - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.DropAction``. - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.ConversionAction``. If stats are not matched, they will be directly converted to OTLP metrics as usual.
.xds.type.matcher.v3.Matcher custom_metric_conversions = 8; -
getCustomMetricConversionsBuilder
The custom conversion from a stat to a metric. Currently, the only supported input is ``envoy.extensions.matching.common_inputs.stats.v3.StatFullNameMatchInput``. The supported actions are - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.DropAction``. - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.ConversionAction``. If stats are not matched, they will be directly converted to OTLP metrics as usual.
.xds.type.matcher.v3.Matcher custom_metric_conversions = 8; -
getCustomMetricConversionsOrBuilder
The custom conversion from a stat to a metric. Currently, the only supported input is ``envoy.extensions.matching.common_inputs.stats.v3.StatFullNameMatchInput``. The supported actions are - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.DropAction``. - ``envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.ConversionAction``. If stats are not matched, they will be directly converted to OTLP metrics as usual.
.xds.type.matcher.v3.Matcher custom_metric_conversions = 8;- Specified by:
getCustomMetricConversionsOrBuilderin interfaceSinkConfigOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SinkConfig.Builder>
-
mergeUnknownFields
public final SinkConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SinkConfig.Builder>
-