public final class AnnotationValue extends GeneratedMessageV3 implements AnnotationValueOrBuilder
Value of annotation, including all types available in data schema.
Protobuf type google.cloud.visionai.v1.AnnotationValue
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
BOOL_VALUE_FIELD_NUMBER
public static final int BOOL_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CUSTOMIZED_STRUCT_DATA_VALUE_FIELD_NUMBER
public static final int CUSTOMIZED_STRUCT_DATA_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CUSTOMIZED_STRUCT_VALUE_FIELD_NUMBER
public static final int CUSTOMIZED_STRUCT_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DATETIME_VALUE_FIELD_NUMBER
public static final int DATETIME_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FLOAT_VALUE_FIELD_NUMBER
public static final int FLOAT_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
GEO_COORDINATE_FIELD_NUMBER
public static final int GEO_COORDINATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
INT_VALUE_FIELD_NUMBER
public static final int INT_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LIST_VALUE_FIELD_NUMBER
public static final int LIST_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROTO_ANY_VALUE_FIELD_NUMBER
public static final int PROTO_ANY_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STR_VALUE_FIELD_NUMBER
public static final int STR_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AnnotationValue getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AnnotationValue.Builder newBuilder()
newBuilder(AnnotationValue prototype)
public static AnnotationValue.Builder newBuilder(AnnotationValue prototype)
public static AnnotationValue parseDelimitedFrom(InputStream input)
public static AnnotationValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AnnotationValue parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AnnotationValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AnnotationValue parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnnotationValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnnotationValue parseFrom(CodedInputStream input)
public static AnnotationValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AnnotationValue parseFrom(InputStream input)
public static AnnotationValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AnnotationValue parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AnnotationValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AnnotationValue> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBoolValue()
public boolean getBoolValue()
Value of boolean type annotation.
bool bool_value = 9;
Returns |
Type |
Description |
boolean |
The boolValue.
|
getCustomizedStructDataValue()
public Struct getCustomizedStructDataValue()
Value of customized struct annotation. This field does not have effects.
Use customized_struct_value instead for customized struct annotation.
.google.protobuf.Struct customized_struct_data_value = 10;
Returns |
Type |
Description |
Struct |
The customizedStructDataValue.
|
getCustomizedStructDataValueOrBuilder()
public StructOrBuilder getCustomizedStructDataValueOrBuilder()
Value of customized struct annotation. This field does not have effects.
Use customized_struct_value instead for customized struct annotation.
.google.protobuf.Struct customized_struct_data_value = 10;
getCustomizedStructValue()
public AnnotationCustomizedStruct getCustomizedStructValue()
Value of custom struct type annotation.
.google.cloud.visionai.v1.AnnotationCustomizedStruct customized_struct_value = 6;
getCustomizedStructValueOrBuilder()
public AnnotationCustomizedStructOrBuilder getCustomizedStructValueOrBuilder()
Value of custom struct type annotation.
.google.cloud.visionai.v1.AnnotationCustomizedStruct customized_struct_value = 6;
getDatetimeValue()
public String getDatetimeValue()
Value of date time type annotation.
string datetime_value = 5;
Returns |
Type |
Description |
String |
The datetimeValue.
|
getDatetimeValueBytes()
public ByteString getDatetimeValueBytes()
Value of date time type annotation.
string datetime_value = 5;
Returns |
Type |
Description |
ByteString |
The bytes for datetimeValue.
|
getDefaultInstanceForType()
public AnnotationValue getDefaultInstanceForType()
getFloatValue()
public float getFloatValue()
Value of float type annotation.
float float_value = 2;
Returns |
Type |
Description |
float |
The floatValue.
|
getGeoCoordinate()
public GeoCoordinate getGeoCoordinate()
Value of geo coordinate type annotation.
.google.cloud.visionai.v1.GeoCoordinate geo_coordinate = 7;
getGeoCoordinateOrBuilder()
public GeoCoordinateOrBuilder getGeoCoordinateOrBuilder()
Value of geo coordinate type annotation.
.google.cloud.visionai.v1.GeoCoordinate geo_coordinate = 7;
getIntValue()
public long getIntValue()
Value of int type annotation.
int64 int_value = 1;
Returns |
Type |
Description |
long |
The intValue.
|
getListValue()
public AnnotationList getListValue()
Value of list type annotation.
.google.cloud.visionai.v1.AnnotationList list_value = 11;
getListValueOrBuilder()
public AnnotationListOrBuilder getListValueOrBuilder()
Value of list type annotation.
.google.cloud.visionai.v1.AnnotationList list_value = 11;
getParserForType()
public Parser<AnnotationValue> getParserForType()
Overrides
getProtoAnyValue()
public Any getProtoAnyValue()
Value of any proto value.
.google.protobuf.Any proto_any_value = 8;
Returns |
Type |
Description |
Any |
The protoAnyValue.
|
getProtoAnyValueOrBuilder()
public AnyOrBuilder getProtoAnyValueOrBuilder()
Value of any proto value.
.google.protobuf.Any proto_any_value = 8;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStrValue()
public String getStrValue()
Value of string type annotation.
string str_value = 3;
Returns |
Type |
Description |
String |
The strValue.
|
getStrValueBytes()
public ByteString getStrValueBytes()
Value of string type annotation.
string str_value = 3;
Returns |
Type |
Description |
ByteString |
The bytes for strValue.
|
getValueCase()
public AnnotationValue.ValueCase getValueCase()
hasBoolValue()
public boolean hasBoolValue()
Value of boolean type annotation.
bool bool_value = 9;
Returns |
Type |
Description |
boolean |
Whether the boolValue field is set.
|
hasCustomizedStructDataValue()
public boolean hasCustomizedStructDataValue()
Value of customized struct annotation. This field does not have effects.
Use customized_struct_value instead for customized struct annotation.
.google.protobuf.Struct customized_struct_data_value = 10;
Returns |
Type |
Description |
boolean |
Whether the customizedStructDataValue field is set.
|
hasCustomizedStructValue()
public boolean hasCustomizedStructValue()
Value of custom struct type annotation.
.google.cloud.visionai.v1.AnnotationCustomizedStruct customized_struct_value = 6;
Returns |
Type |
Description |
boolean |
Whether the customizedStructValue field is set.
|
hasDatetimeValue()
public boolean hasDatetimeValue()
Value of date time type annotation.
string datetime_value = 5;
Returns |
Type |
Description |
boolean |
Whether the datetimeValue field is set.
|
hasFloatValue()
public boolean hasFloatValue()
Value of float type annotation.
float float_value = 2;
Returns |
Type |
Description |
boolean |
Whether the floatValue field is set.
|
hasGeoCoordinate()
public boolean hasGeoCoordinate()
Value of geo coordinate type annotation.
.google.cloud.visionai.v1.GeoCoordinate geo_coordinate = 7;
Returns |
Type |
Description |
boolean |
Whether the geoCoordinate field is set.
|
hasIntValue()
public boolean hasIntValue()
Value of int type annotation.
int64 int_value = 1;
Returns |
Type |
Description |
boolean |
Whether the intValue field is set.
|
hasListValue()
public boolean hasListValue()
Value of list type annotation.
.google.cloud.visionai.v1.AnnotationList list_value = 11;
Returns |
Type |
Description |
boolean |
Whether the listValue field is set.
|
hasProtoAnyValue()
public boolean hasProtoAnyValue()
Value of any proto value.
.google.protobuf.Any proto_any_value = 8;
Returns |
Type |
Description |
boolean |
Whether the protoAnyValue field is set.
|
hasStrValue()
public boolean hasStrValue()
Value of string type annotation.
string str_value = 3;
Returns |
Type |
Description |
boolean |
Whether the strValue field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AnnotationValue.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AnnotationValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AnnotationValue.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides