public static final class FacetBucket.Range extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
END_FIELD_NUMBER
public static final int END_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
START_FIELD_NUMBER
public static final int START_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static FacetBucket.Range getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static FacetBucket.Range.Builder newBuilder()
newBuilder(FacetBucket.Range prototype)
public static FacetBucket.Range.Builder newBuilder(FacetBucket.Range prototype)
public static FacetBucket.Range parseDelimitedFrom(InputStream input)
public static FacetBucket.Range parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static FacetBucket.Range parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FacetBucket.Range parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static FacetBucket.Range parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FacetBucket.Range parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FacetBucket.Range parseFrom(CodedInputStream input)
public static FacetBucket.Range parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FacetBucket.Range parseFrom(InputStream input)
public static FacetBucket.Range parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static FacetBucket.Range parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FacetBucket.Range parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<FacetBucket.Range> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public FacetBucket.Range getDefaultInstanceForType()
getEnd()
public FacetValue getEnd()
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;
getParserForType()
public Parser<FacetBucket.Range> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStart()
public FacetValue getStart()
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public FacetBucket.Range.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FacetBucket.Range.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public FacetBucket.Range.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides