public static final class Bucket.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder> implements BucketOrBuilder
Bucket is an element of histogram.Protobuf type
tipb.Bucket
Modifier and Type | Method and Description |
---|---|
Bucket.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Bucket |
build() |
Bucket |
buildPartial() |
Bucket.Builder |
clear() |
Bucket.Builder |
clearCount()
optional int64 count = 1 [(.gogoproto.nullable) = false]; |
Bucket.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Bucket.Builder |
clearLowerBound()
optional bytes lower_bound = 2; |
Bucket.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Bucket.Builder |
clearRepeats()
optional int64 repeats = 4 [(.gogoproto.nullable) = false]; |
Bucket.Builder |
clearUpperBound()
optional bytes upper_bound = 3; |
Bucket.Builder |
clone() |
long |
getCount()
optional int64 count = 1 [(.gogoproto.nullable) = false]; |
Bucket |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getLowerBound()
optional bytes lower_bound = 2; |
long |
getRepeats()
optional int64 repeats = 4 [(.gogoproto.nullable) = false]; |
com.google.protobuf.ByteString |
getUpperBound()
optional bytes upper_bound = 3; |
boolean |
hasCount()
optional int64 count = 1 [(.gogoproto.nullable) = false]; |
boolean |
hasLowerBound()
optional bytes lower_bound = 2; |
boolean |
hasRepeats()
optional int64 repeats = 4 [(.gogoproto.nullable) = false]; |
boolean |
hasUpperBound()
optional bytes upper_bound = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Bucket.Builder |
mergeFrom(Bucket other) |
Bucket.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Bucket.Builder |
mergeFrom(com.google.protobuf.Message other) |
Bucket.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Bucket.Builder |
setCount(long value)
optional int64 count = 1 [(.gogoproto.nullable) = false]; |
Bucket.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Bucket.Builder |
setLowerBound(com.google.protobuf.ByteString value)
optional bytes lower_bound = 2; |
Bucket.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Bucket.Builder |
setRepeats(long value)
optional int64 repeats = 4 [(.gogoproto.nullable) = false]; |
Bucket.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Bucket.Builder |
setUpperBound(com.google.protobuf.ByteString value)
optional bytes upper_bound = 3; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>
public Bucket.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>
public Bucket getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Bucket build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Bucket buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Bucket.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>
public Bucket.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>
public Bucket.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>
public Bucket.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>
public Bucket.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>
public Bucket.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>
public Bucket.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Bucket.Builder>
public Bucket.Builder mergeFrom(Bucket other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>
public Bucket.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Bucket.Builder>
IOException
public boolean hasCount()
optional int64 count = 1 [(.gogoproto.nullable) = false];
hasCount
in interface BucketOrBuilder
public long getCount()
optional int64 count = 1 [(.gogoproto.nullable) = false];
getCount
in interface BucketOrBuilder
public Bucket.Builder setCount(long value)
optional int64 count = 1 [(.gogoproto.nullable) = false];
value
- The count to set.public Bucket.Builder clearCount()
optional int64 count = 1 [(.gogoproto.nullable) = false];
public boolean hasLowerBound()
optional bytes lower_bound = 2;
hasLowerBound
in interface BucketOrBuilder
public com.google.protobuf.ByteString getLowerBound()
optional bytes lower_bound = 2;
getLowerBound
in interface BucketOrBuilder
public Bucket.Builder setLowerBound(com.google.protobuf.ByteString value)
optional bytes lower_bound = 2;
value
- The lowerBound to set.public Bucket.Builder clearLowerBound()
optional bytes lower_bound = 2;
public boolean hasUpperBound()
optional bytes upper_bound = 3;
hasUpperBound
in interface BucketOrBuilder
public com.google.protobuf.ByteString getUpperBound()
optional bytes upper_bound = 3;
getUpperBound
in interface BucketOrBuilder
public Bucket.Builder setUpperBound(com.google.protobuf.ByteString value)
optional bytes upper_bound = 3;
value
- The upperBound to set.public Bucket.Builder clearUpperBound()
optional bytes upper_bound = 3;
public boolean hasRepeats()
optional int64 repeats = 4 [(.gogoproto.nullable) = false];
hasRepeats
in interface BucketOrBuilder
public long getRepeats()
optional int64 repeats = 4 [(.gogoproto.nullable) = false];
getRepeats
in interface BucketOrBuilder
public Bucket.Builder setRepeats(long value)
optional int64 repeats = 4 [(.gogoproto.nullable) = false];
value
- The repeats to set.public Bucket.Builder clearRepeats()
optional int64 repeats = 4 [(.gogoproto.nullable) = false];
public final Bucket.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>
public final Bucket.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Bucket.Builder>
Copyright © 2024 PingCAP. All rights reserved.