Class HistogramBucketSettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<HistogramBucketSettings.Builder>
io.envoyproxy.envoy.config.metrics.v3.HistogramBucketSettings.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HistogramBucketSettingsOrBuilder,Cloneable
- Enclosing class:
- HistogramBucketSettings
public static final class HistogramBucketSettings.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<HistogramBucketSettings.Builder>
implements HistogramBucketSettingsOrBuilder
Specifies a matcher for stats and the buckets that matching stats should use.Protobuf type
envoy.config.metrics.v3.HistogramBucketSettings-
Method Summary
Modifier and TypeMethodDescriptionaddAllBuckets(Iterable<? extends Double> values) Each value is the upper bound of a bucket.addBuckets(double value) Each value is the upper bound of a bucket.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Initial number of bins for the ``circllhist`` thread local histogram per time series.Each value is the upper bound of a bucket.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The stats that this rule applies to.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()com.google.protobuf.UInt32ValuegetBins()Initial number of bins for the ``circllhist`` thread local histogram per time series.com.google.protobuf.UInt32Value.BuilderInitial number of bins for the ``circllhist`` thread local histogram per time series.com.google.protobuf.UInt32ValueOrBuilderInitial number of bins for the ``circllhist`` thread local histogram per time series.doublegetBuckets(int index) Each value is the upper bound of a bucket.intEach value is the upper bound of a bucket.Each value is the upper bound of a bucket.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetMatch()The stats that this rule applies to.The stats that this rule applies to.The stats that this rule applies to.booleanhasBins()Initial number of bins for the ``circllhist`` thread local histogram per time series.booleanhasMatch()The stats that this rule applies to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeBins(com.google.protobuf.UInt32Value value) Initial number of bins for the ``circllhist`` thread local histogram per time series.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(HistogramBucketSettings other) mergeMatch(StringMatcher value) The stats that this rule applies to.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setBins(com.google.protobuf.UInt32Value value) Initial number of bins for the ``circllhist`` thread local histogram per time series.setBins(com.google.protobuf.UInt32Value.Builder builderForValue) Initial number of bins for the ``circllhist`` thread local histogram per time series.setBuckets(int index, double value) Each value is the upper bound of a bucket.setMatch(StringMatcher value) The stats that this rule applies to.setMatch(StringMatcher.Builder builderForValue) The stats that this rule applies to.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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<HistogramBucketSettings.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<HistogramBucketSettings.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<HistogramBucketSettings.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<HistogramBucketSettings.Builder>
-
setField
public HistogramBucketSettings.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<HistogramBucketSettings.Builder>
-
clearField
public HistogramBucketSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HistogramBucketSettings.Builder>
-
clearOneof
public HistogramBucketSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HistogramBucketSettings.Builder>
-
setRepeatedField
public HistogramBucketSettings.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<HistogramBucketSettings.Builder>
-
addRepeatedField
public HistogramBucketSettings.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<HistogramBucketSettings.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HistogramBucketSettings.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HistogramBucketSettings.Builder>
-
mergeFrom
public HistogramBucketSettings.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<HistogramBucketSettings.Builder>- Throws:
IOException
-
hasMatch
public boolean hasMatch()The stats that this rule applies to. The match is applied to the original stat name before tag-extraction, for example ``cluster.exampleclustername.upstream_cx_length_ms``.
.envoy.type.matcher.v3.StringMatcher match = 1 [(.validate.rules) = { ... }- Specified by:
hasMatchin interfaceHistogramBucketSettingsOrBuilder- Returns:
- Whether the match field is set.
-
getMatch
The stats that this rule applies to. The match is applied to the original stat name before tag-extraction, for example ``cluster.exampleclustername.upstream_cx_length_ms``.
.envoy.type.matcher.v3.StringMatcher match = 1 [(.validate.rules) = { ... }- Specified by:
getMatchin interfaceHistogramBucketSettingsOrBuilder- Returns:
- The match.
-
setMatch
The stats that this rule applies to. The match is applied to the original stat name before tag-extraction, for example ``cluster.exampleclustername.upstream_cx_length_ms``.
.envoy.type.matcher.v3.StringMatcher match = 1 [(.validate.rules) = { ... } -
setMatch
The stats that this rule applies to. The match is applied to the original stat name before tag-extraction, for example ``cluster.exampleclustername.upstream_cx_length_ms``.
.envoy.type.matcher.v3.StringMatcher match = 1 [(.validate.rules) = { ... } -
mergeMatch
The stats that this rule applies to. The match is applied to the original stat name before tag-extraction, for example ``cluster.exampleclustername.upstream_cx_length_ms``.
.envoy.type.matcher.v3.StringMatcher match = 1 [(.validate.rules) = { ... } -
clearMatch
The stats that this rule applies to. The match is applied to the original stat name before tag-extraction, for example ``cluster.exampleclustername.upstream_cx_length_ms``.
.envoy.type.matcher.v3.StringMatcher match = 1 [(.validate.rules) = { ... } -
getMatchBuilder
The stats that this rule applies to. The match is applied to the original stat name before tag-extraction, for example ``cluster.exampleclustername.upstream_cx_length_ms``.
.envoy.type.matcher.v3.StringMatcher match = 1 [(.validate.rules) = { ... } -
getMatchOrBuilder
The stats that this rule applies to. The match is applied to the original stat name before tag-extraction, for example ``cluster.exampleclustername.upstream_cx_length_ms``.
.envoy.type.matcher.v3.StringMatcher match = 1 [(.validate.rules) = { ... }- Specified by:
getMatchOrBuilderin interfaceHistogramBucketSettingsOrBuilder
-
getBucketsList
Each value is the upper bound of a bucket. Each bucket must be greater than 0 and unique. The order of the buckets does not matter.
repeated double buckets = 2 [(.validate.rules) = { ... }- Specified by:
getBucketsListin interfaceHistogramBucketSettingsOrBuilder- Returns:
- A list containing the buckets.
-
getBucketsCount
public int getBucketsCount()Each value is the upper bound of a bucket. Each bucket must be greater than 0 and unique. The order of the buckets does not matter.
repeated double buckets = 2 [(.validate.rules) = { ... }- Specified by:
getBucketsCountin interfaceHistogramBucketSettingsOrBuilder- Returns:
- The count of buckets.
-
getBuckets
public double getBuckets(int index) Each value is the upper bound of a bucket. Each bucket must be greater than 0 and unique. The order of the buckets does not matter.
repeated double buckets = 2 [(.validate.rules) = { ... }- Specified by:
getBucketsin interfaceHistogramBucketSettingsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The buckets at the given index.
-
setBuckets
Each value is the upper bound of a bucket. Each bucket must be greater than 0 and unique. The order of the buckets does not matter.
repeated double buckets = 2 [(.validate.rules) = { ... }- Parameters:
index- The index to set the value at.value- The buckets to set.- Returns:
- This builder for chaining.
-
addBuckets
Each value is the upper bound of a bucket. Each bucket must be greater than 0 and unique. The order of the buckets does not matter.
repeated double buckets = 2 [(.validate.rules) = { ... }- Parameters:
value- The buckets to add.- Returns:
- This builder for chaining.
-
addAllBuckets
Each value is the upper bound of a bucket. Each bucket must be greater than 0 and unique. The order of the buckets does not matter.
repeated double buckets = 2 [(.validate.rules) = { ... }- Parameters:
values- The buckets to add.- Returns:
- This builder for chaining.
-
clearBuckets
Each value is the upper bound of a bucket. Each bucket must be greater than 0 and unique. The order of the buckets does not matter.
repeated double buckets = 2 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
hasBins
public boolean hasBins()Initial number of bins for the ``circllhist`` thread local histogram per time series. Default value is 100.
.google.protobuf.UInt32Value bins = 3 [(.validate.rules) = { ... }- Specified by:
hasBinsin interfaceHistogramBucketSettingsOrBuilder- Returns:
- Whether the bins field is set.
-
getBins
public com.google.protobuf.UInt32Value getBins()Initial number of bins for the ``circllhist`` thread local histogram per time series. Default value is 100.
.google.protobuf.UInt32Value bins = 3 [(.validate.rules) = { ... }- Specified by:
getBinsin interfaceHistogramBucketSettingsOrBuilder- Returns:
- The bins.
-
setBins
Initial number of bins for the ``circllhist`` thread local histogram per time series. Default value is 100.
.google.protobuf.UInt32Value bins = 3 [(.validate.rules) = { ... } -
setBins
public HistogramBucketSettings.Builder setBins(com.google.protobuf.UInt32Value.Builder builderForValue) Initial number of bins for the ``circllhist`` thread local histogram per time series. Default value is 100.
.google.protobuf.UInt32Value bins = 3 [(.validate.rules) = { ... } -
mergeBins
Initial number of bins for the ``circllhist`` thread local histogram per time series. Default value is 100.
.google.protobuf.UInt32Value bins = 3 [(.validate.rules) = { ... } -
clearBins
Initial number of bins for the ``circllhist`` thread local histogram per time series. Default value is 100.
.google.protobuf.UInt32Value bins = 3 [(.validate.rules) = { ... } -
getBinsBuilder
public com.google.protobuf.UInt32Value.Builder getBinsBuilder()Initial number of bins for the ``circllhist`` thread local histogram per time series. Default value is 100.
.google.protobuf.UInt32Value bins = 3 [(.validate.rules) = { ... } -
getBinsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getBinsOrBuilder()Initial number of bins for the ``circllhist`` thread local histogram per time series. Default value is 100.
.google.protobuf.UInt32Value bins = 3 [(.validate.rules) = { ... }- Specified by:
getBinsOrBuilderin interfaceHistogramBucketSettingsOrBuilder
-
setUnknownFields
public final HistogramBucketSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HistogramBucketSettings.Builder>
-
mergeUnknownFields
public final HistogramBucketSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HistogramBucketSettings.Builder>
-