public static final class FacetBucket.Range.Builder extends GeneratedMessageV3.Builder<FacetBucket.Range.Builder> implements FacetBucket.RangeOrBuilder
The range of values [start, end) for which faceting is applied.
Protobuf type google.cloud.visionai.v1.FacetBucket.Range
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FacetBucket.Range.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FacetBucket.Range build()
buildPartial()
public FacetBucket.Range buildPartial()
clear()
public FacetBucket.Range.Builder clear()
Overrides
clearEnd()
public FacetBucket.Range.Builder clearEnd()
End of the range. Non-existence indicates some bound (e.g. inf).
.google.cloud.visionai.v1.FacetValue end = 2;
clearField(Descriptors.FieldDescriptor field)
public FacetBucket.Range.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FacetBucket.Range.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStart()
public FacetBucket.Range.Builder clearStart()
Start of the range. Non-existence indicates some bound (e.g. -inf).
.google.cloud.visionai.v1.FacetValue start = 1;
clone()
public FacetBucket.Range.Builder clone()
Overrides
getDefaultInstanceForType()
public FacetBucket.Range getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnd()
public FacetValue getEnd()
End of the range. Non-existence indicates some bound (e.g. inf).
.google.cloud.visionai.v1.FacetValue end = 2;
getEndBuilder()
public FacetValue.Builder getEndBuilder()
End of the range. Non-existence indicates some bound (e.g. inf).
.google.cloud.visionai.v1.FacetValue end = 2;
getEndOrBuilder()
public FacetValueOrBuilder getEndOrBuilder()
End of the range. Non-existence indicates some bound (e.g. inf).
.google.cloud.visionai.v1.FacetValue end = 2;
getStart()
public FacetValue getStart()
Start of the range. Non-existence indicates some bound (e.g. -inf).
.google.cloud.visionai.v1.FacetValue start = 1;
getStartBuilder()
public FacetValue.Builder getStartBuilder()
Start of the range. Non-existence indicates some bound (e.g. -inf).
.google.cloud.visionai.v1.FacetValue start = 1;
getStartOrBuilder()
public FacetValueOrBuilder getStartOrBuilder()
Start of the range. Non-existence indicates some bound (e.g. -inf).
.google.cloud.visionai.v1.FacetValue start = 1;
hasEnd()
End of the range. Non-existence indicates some bound (e.g. inf).
.google.cloud.visionai.v1.FacetValue end = 2;
Returns |
Type |
Description |
boolean |
Whether the end field is set.
|
hasStart()
public boolean hasStart()
Start of the range. Non-existence indicates some bound (e.g. -inf).
.google.cloud.visionai.v1.FacetValue start = 1;
Returns |
Type |
Description |
boolean |
Whether the start field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeEnd(FacetValue value)
public FacetBucket.Range.Builder mergeEnd(FacetValue value)
End of the range. Non-existence indicates some bound (e.g. inf).
.google.cloud.visionai.v1.FacetValue end = 2;
mergeFrom(FacetBucket.Range other)
public FacetBucket.Range.Builder mergeFrom(FacetBucket.Range other)
public FacetBucket.Range.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FacetBucket.Range.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeStart(FacetValue value)
public FacetBucket.Range.Builder mergeStart(FacetValue value)
Start of the range. Non-existence indicates some bound (e.g. -inf).
.google.cloud.visionai.v1.FacetValue start = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FacetBucket.Range.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEnd(FacetValue value)
public FacetBucket.Range.Builder setEnd(FacetValue value)
End of the range. Non-existence indicates some bound (e.g. inf).
.google.cloud.visionai.v1.FacetValue end = 2;
setEnd(FacetValue.Builder builderForValue)
public FacetBucket.Range.Builder setEnd(FacetValue.Builder builderForValue)
End of the range. Non-existence indicates some bound (e.g. inf).
.google.cloud.visionai.v1.FacetValue end = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public FacetBucket.Range.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FacetBucket.Range.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStart(FacetValue value)
public FacetBucket.Range.Builder setStart(FacetValue value)
Start of the range. Non-existence indicates some bound (e.g. -inf).
.google.cloud.visionai.v1.FacetValue start = 1;
setStart(FacetValue.Builder builderForValue)
public FacetBucket.Range.Builder setStart(FacetValue.Builder builderForValue)
Start of the range. Non-existence indicates some bound (e.g. -inf).
.google.cloud.visionai.v1.FacetValue start = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final FacetBucket.Range.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides