Class SinkConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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: 7]
Protobuf typeenvoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SinkConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SinkConfigbuild()SinkConfigbuildPartial()SinkConfig.Builderclear()SinkConfig.BuilderclearEmitTagsAsAttributes()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.SinkConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SinkConfig.BuilderclearGrpcService()The upstream gRPC cluster that implements the OTLP/gRPC collector.SinkConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SinkConfig.BuilderclearPrefix()If set, emitted stats names will be prepended with a prefix, so full stat name will be <prefix>.<stats_name>.SinkConfig.BuilderclearProtocolSpecifier()SinkConfig.BuilderclearReportCountersAsDeltas()If set to true, counters will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.SinkConfig.BuilderclearReportHistogramsAsDeltas()If set to true, histograms will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.SinkConfig.BuilderclearUseTagExtractedName()If set to true, metric names will be represented as the tag extracted name instead of the full metric name.SinkConfig.Builderclone()SinkConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.BoolValuegetEmitTagsAsAttributes()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.com.google.protobuf.BoolValue.BuildergetEmitTagsAsAttributesBuilder()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.com.google.protobuf.BoolValueOrBuildergetEmitTagsAsAttributesOrBuilder()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.GrpcServicegetGrpcService()The upstream gRPC cluster that implements the OTLP/gRPC collector.GrpcService.BuildergetGrpcServiceBuilder()The upstream gRPC cluster that implements the OTLP/gRPC collector.GrpcServiceOrBuildergetGrpcServiceOrBuilder()The upstream gRPC cluster that implements the OTLP/gRPC collector.StringgetPrefix()If set, emitted stats names will be prepended with a prefix, so full stat name will be <prefix>.<stats_name>.com.google.protobuf.ByteStringgetPrefixBytes()If set, emitted stats names will be prepended with a prefix, so full stat name will be <prefix>.<stats_name>.SinkConfig.ProtocolSpecifierCasegetProtocolSpecifierCase()booleangetReportCountersAsDeltas()If set to true, counters will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.booleangetReportHistogramsAsDeltas()If set to true, histograms will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.com.google.protobuf.BoolValuegetUseTagExtractedName()If set to true, metric names will be represented as the tag extracted name instead of the full metric name.com.google.protobuf.BoolValue.BuildergetUseTagExtractedNameBuilder()If set to true, metric names will be represented as the tag extracted name instead of the full metric name.com.google.protobuf.BoolValueOrBuildergetUseTagExtractedNameOrBuilder()If set to true, metric names will be represented as the tag extracted name instead of the full metric name.booleanhasEmitTagsAsAttributes()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.booleanhasGrpcService()The upstream gRPC cluster that implements the OTLP/gRPC collector.booleanhasUseTagExtractedName()If set to true, metric names will be represented as the tag extracted name instead of the full metric name.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SinkConfig.BuildermergeEmitTagsAsAttributes(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.SinkConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SinkConfig.BuildermergeFrom(com.google.protobuf.Message other)SinkConfig.BuildermergeFrom(SinkConfig other)SinkConfig.BuildermergeGrpcService(GrpcService value)The upstream gRPC cluster that implements the OTLP/gRPC collector.SinkConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SinkConfig.BuildermergeUseTagExtractedName(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.SinkConfig.BuildersetEmitTagsAsAttributes(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.SinkConfig.BuildersetEmitTagsAsAttributes(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.SinkConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SinkConfig.BuildersetGrpcService(GrpcService value)The upstream gRPC cluster that implements the OTLP/gRPC collector.SinkConfig.BuildersetGrpcService(GrpcService.Builder builderForValue)The upstream gRPC cluster that implements the OTLP/gRPC collector.SinkConfig.BuildersetPrefix(String value)If set, emitted stats names will be prepended with a prefix, so full stat name will be <prefix>.<stats_name>.SinkConfig.BuildersetPrefixBytes(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>.SinkConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)SinkConfig.BuildersetReportCountersAsDeltas(boolean value)If set to true, counters will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.SinkConfig.BuildersetReportHistogramsAsDeltas(boolean value)If set to true, histograms will be emitted as deltas, and the OTLP message will have ``AGGREGATION_TEMPORALITY_DELTA`` set as AggregationTemporality.SinkConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SinkConfig.BuildersetUseTagExtractedName(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.SinkConfig.BuildersetUseTagExtractedName(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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public SinkConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SinkConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SinkConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SinkConfig.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
public SinkConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SinkConfig.Builder>
-
clearOneof
public SinkConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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
public SinkConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SinkConfig.Builder>
-
mergeFrom
public SinkConfig.Builder mergeFrom(SinkConfig other)
-
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
public SinkConfig.ProtocolSpecifierCase getProtocolSpecifierCase()
- Specified by:
getProtocolSpecifierCasein interfaceSinkConfigOrBuilder
-
clearProtocolSpecifier
public SinkConfig.Builder 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
public GrpcService 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
public SinkConfig.Builder setGrpcService(GrpcService value)
The upstream gRPC cluster that implements the OTLP/gRPC collector.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... }
-
setGrpcService
public SinkConfig.Builder setGrpcService(GrpcService.Builder builderForValue)
The upstream gRPC cluster that implements the OTLP/gRPC collector.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... }
-
mergeGrpcService
public SinkConfig.Builder mergeGrpcService(GrpcService value)
The upstream gRPC cluster that implements the OTLP/gRPC collector.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... }
-
clearGrpcService
public SinkConfig.Builder clearGrpcService()
The upstream gRPC cluster that implements the OTLP/gRPC collector.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... }
-
getGrpcServiceBuilder
public GrpcService.Builder getGrpcServiceBuilder()
The upstream gRPC cluster that implements the OTLP/gRPC collector.
.envoy.config.core.v3.GrpcService grpc_service = 1 [(.validate.rules) = { ... }
-
getGrpcServiceOrBuilder
public GrpcServiceOrBuilder 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
-
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
public SinkConfig.Builder 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.
bool report_counters_as_deltas = 2;- Parameters:
value- The reportCountersAsDeltas to set.- Returns:
- This builder for chaining.
-
clearReportCountersAsDeltas
public SinkConfig.Builder 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
public SinkConfig.Builder 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.
bool report_histograms_as_deltas = 3;- Parameters:
value- The reportHistogramsAsDeltas to set.- Returns:
- This builder for chaining.
-
clearReportHistogramsAsDeltas
public SinkConfig.Builder 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
public SinkConfig.Builder 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. 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
public SinkConfig.Builder 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. Otherwise, no attributes will be associated with the export message. Default value is true.
.google.protobuf.BoolValue emit_tags_as_attributes = 4;
-
clearEmitTagsAsAttributes
public SinkConfig.Builder 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
public SinkConfig.Builder 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. 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
public SinkConfig.Builder 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. Default value is true.
.google.protobuf.BoolValue use_tag_extracted_name = 5;
-
clearUseTagExtractedName
public SinkConfig.Builder 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
public String 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
public SinkConfig.Builder setPrefix(String value)
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
public SinkConfig.Builder 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
public SinkConfig.Builder 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>. 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.
-
setUnknownFields
public final SinkConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 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>
-
-