Class FacetBucket.Range.Builder (0.8.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FacetBucket.Range.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FacetBucket.Range.Builder
Overrides

build()

public FacetBucket.Range build()
Returns
Type Description
FacetBucket.Range

buildPartial()

public FacetBucket.Range buildPartial()
Returns
Type Description
FacetBucket.Range

clear()

public FacetBucket.Range.Builder clear()
Returns
Type Description
FacetBucket.Range.Builder
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;

Returns
Type Description
FacetBucket.Range.Builder

clearField(Descriptors.FieldDescriptor field)

public FacetBucket.Range.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FacetBucket.Range.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FacetBucket.Range.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FacetBucket.Range.Builder
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;

Returns
Type Description
FacetBucket.Range.Builder

clone()

public FacetBucket.Range.Builder clone()
Returns
Type Description
FacetBucket.Range.Builder
Overrides

getDefaultInstanceForType()

public FacetBucket.Range getDefaultInstanceForType()
Returns
Type Description
FacetBucket.Range

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnd()

public FacetValue getEnd()

End of the range. Non-existence indicates some bound (e.g. inf).

.google.cloud.visionai.v1.FacetValue end = 2;

Returns
Type Description
FacetValue

The end.

getEndBuilder()

public FacetValue.Builder getEndBuilder()

End of the range. Non-existence indicates some bound (e.g. inf).

.google.cloud.visionai.v1.FacetValue end = 2;

Returns
Type Description
FacetValue.Builder

getEndOrBuilder()

public FacetValueOrBuilder getEndOrBuilder()

End of the range. Non-existence indicates some bound (e.g. inf).

.google.cloud.visionai.v1.FacetValue end = 2;

Returns
Type Description
FacetValueOrBuilder

getStart()

public FacetValue getStart()

Start of the range. Non-existence indicates some bound (e.g. -inf).

.google.cloud.visionai.v1.FacetValue start = 1;

Returns
Type Description
FacetValue

The start.

getStartBuilder()

public FacetValue.Builder getStartBuilder()

Start of the range. Non-existence indicates some bound (e.g. -inf).

.google.cloud.visionai.v1.FacetValue start = 1;

Returns
Type Description
FacetValue.Builder

getStartOrBuilder()

public FacetValueOrBuilder getStartOrBuilder()

Start of the range. Non-existence indicates some bound (e.g. -inf).

.google.cloud.visionai.v1.FacetValue start = 1;

Returns
Type Description
FacetValueOrBuilder

hasEnd()

public boolean 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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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;

Parameter
Name Description
value FacetValue
Returns
Type Description
FacetBucket.Range.Builder

mergeFrom(FacetBucket.Range other)

public FacetBucket.Range.Builder mergeFrom(FacetBucket.Range other)
Parameter
Name Description
other FacetBucket.Range
Returns
Type Description
FacetBucket.Range.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FacetBucket.Range.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FacetBucket.Range.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FacetBucket.Range.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FacetBucket.Range.Builder
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;

Parameter
Name Description
value FacetValue
Returns
Type Description
FacetBucket.Range.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FacetBucket.Range.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FacetBucket.Range.Builder
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;

Parameter
Name Description
value FacetValue
Returns
Type Description
FacetBucket.Range.Builder

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;

Parameter
Name Description
builderForValue FacetValue.Builder
Returns
Type Description
FacetBucket.Range.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FacetBucket.Range.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FacetBucket.Range.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FacetBucket.Range.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FacetBucket.Range.Builder
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;

Parameter
Name Description
value FacetValue
Returns
Type Description
FacetBucket.Range.Builder

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;

Parameter
Name Description
builderForValue FacetValue.Builder
Returns
Type Description
FacetBucket.Range.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final FacetBucket.Range.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FacetBucket.Range.Builder
Overrides