Package com.google.cloud.visionai.v1
Class AnnotationValue
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.AnnotationValue
- All Implemented Interfaces:
AnnotationValueOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class AnnotationValue
extends com.google.protobuf.GeneratedMessage
implements AnnotationValueOrBuilder
Value of annotation, including all types available in data schema.Protobuf type
google.cloud.visionai.v1.AnnotationValue- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classValue of annotation, including all types available in data schema.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanValue of boolean type annotation.com.google.protobuf.StructValue of customized struct annotation.com.google.protobuf.StructOrBuilderValue of customized struct annotation.Value of custom struct type annotation.Value of custom struct type annotation.Value of date time type annotation.com.google.protobuf.ByteStringValue of date time type annotation.static AnnotationValuestatic final com.google.protobuf.Descriptors.DescriptorfloatValue of float type annotation.Value of geo coordinate type annotation.Value of geo coordinate type annotation.longValue of int type annotation.Value of list type annotation.Value of list type annotation.com.google.protobuf.Parser<AnnotationValue>com.google.protobuf.AnyValue of any proto value.com.google.protobuf.AnyOrBuilderValue of any proto value.intValue of string type annotation.com.google.protobuf.ByteStringValue of string type annotation.booleanValue of boolean type annotation.booleanValue of customized struct annotation.booleanValue of custom struct type annotation.booleanValue of date time type annotation.booleanValue of float type annotation.booleanValue of geo coordinate type annotation.inthashCode()booleanValue of int type annotation.booleanValue of list type annotation.booleanValue of any proto value.booleanValue of string type annotation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic AnnotationValue.Builderstatic AnnotationValue.BuildernewBuilder(AnnotationValue prototype) protected AnnotationValue.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AnnotationValueparseDelimitedFrom(InputStream input) static AnnotationValueparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotationValueparseFrom(byte[] data) static AnnotationValueparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotationValueparseFrom(com.google.protobuf.ByteString data) static AnnotationValueparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotationValueparseFrom(com.google.protobuf.CodedInputStream input) static AnnotationValueparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotationValueparseFrom(InputStream input) static AnnotationValueparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AnnotationValueparseFrom(ByteBuffer data) static AnnotationValueparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AnnotationValue>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
INT_VALUE_FIELD_NUMBER
public static final int INT_VALUE_FIELD_NUMBER- See Also:
-
FLOAT_VALUE_FIELD_NUMBER
public static final int FLOAT_VALUE_FIELD_NUMBER- See Also:
-
STR_VALUE_FIELD_NUMBER
public static final int STR_VALUE_FIELD_NUMBER- See Also:
-
DATETIME_VALUE_FIELD_NUMBER
public static final int DATETIME_VALUE_FIELD_NUMBER- See Also:
-
GEO_COORDINATE_FIELD_NUMBER
public static final int GEO_COORDINATE_FIELD_NUMBER- See Also:
-
PROTO_ANY_VALUE_FIELD_NUMBER
public static final int PROTO_ANY_VALUE_FIELD_NUMBER- See Also:
-
BOOL_VALUE_FIELD_NUMBER
public static final int BOOL_VALUE_FIELD_NUMBER- See Also:
-
CUSTOMIZED_STRUCT_DATA_VALUE_FIELD_NUMBER
public static final int CUSTOMIZED_STRUCT_DATA_VALUE_FIELD_NUMBER- See Also:
-
LIST_VALUE_FIELD_NUMBER
public static final int LIST_VALUE_FIELD_NUMBER- See Also:
-
CUSTOMIZED_STRUCT_VALUE_FIELD_NUMBER
public static final int CUSTOMIZED_STRUCT_VALUE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getValueCase
- Specified by:
getValueCasein interfaceAnnotationValueOrBuilder
-
hasIntValue
public boolean hasIntValue()Value of int type annotation.
int64 int_value = 1;- Specified by:
hasIntValuein interfaceAnnotationValueOrBuilder- Returns:
- Whether the intValue field is set.
-
getIntValue
public long getIntValue()Value of int type annotation.
int64 int_value = 1;- Specified by:
getIntValuein interfaceAnnotationValueOrBuilder- Returns:
- The intValue.
-
hasFloatValue
public boolean hasFloatValue()Value of float type annotation.
float float_value = 2;- Specified by:
hasFloatValuein interfaceAnnotationValueOrBuilder- Returns:
- Whether the floatValue field is set.
-
getFloatValue
public float getFloatValue()Value of float type annotation.
float float_value = 2;- Specified by:
getFloatValuein interfaceAnnotationValueOrBuilder- Returns:
- The floatValue.
-
hasStrValue
public boolean hasStrValue()Value of string type annotation.
string str_value = 3;- Specified by:
hasStrValuein interfaceAnnotationValueOrBuilder- Returns:
- Whether the strValue field is set.
-
getStrValue
Value of string type annotation.
string str_value = 3;- Specified by:
getStrValuein interfaceAnnotationValueOrBuilder- Returns:
- The strValue.
-
getStrValueBytes
public com.google.protobuf.ByteString getStrValueBytes()Value of string type annotation.
string str_value = 3;- Specified by:
getStrValueBytesin interfaceAnnotationValueOrBuilder- Returns:
- The bytes for strValue.
-
hasDatetimeValue
public boolean hasDatetimeValue()Value of date time type annotation.
string datetime_value = 5;- Specified by:
hasDatetimeValuein interfaceAnnotationValueOrBuilder- Returns:
- Whether the datetimeValue field is set.
-
getDatetimeValue
Value of date time type annotation.
string datetime_value = 5;- Specified by:
getDatetimeValuein interfaceAnnotationValueOrBuilder- Returns:
- The datetimeValue.
-
getDatetimeValueBytes
public com.google.protobuf.ByteString getDatetimeValueBytes()Value of date time type annotation.
string datetime_value = 5;- Specified by:
getDatetimeValueBytesin interfaceAnnotationValueOrBuilder- Returns:
- The bytes for datetimeValue.
-
hasGeoCoordinate
public boolean hasGeoCoordinate()Value of geo coordinate type annotation.
.google.cloud.visionai.v1.GeoCoordinate geo_coordinate = 7;- Specified by:
hasGeoCoordinatein interfaceAnnotationValueOrBuilder- Returns:
- Whether the geoCoordinate field is set.
-
getGeoCoordinate
Value of geo coordinate type annotation.
.google.cloud.visionai.v1.GeoCoordinate geo_coordinate = 7;- Specified by:
getGeoCoordinatein interfaceAnnotationValueOrBuilder- Returns:
- The geoCoordinate.
-
getGeoCoordinateOrBuilder
Value of geo coordinate type annotation.
.google.cloud.visionai.v1.GeoCoordinate geo_coordinate = 7;- Specified by:
getGeoCoordinateOrBuilderin interfaceAnnotationValueOrBuilder
-
hasProtoAnyValue
public boolean hasProtoAnyValue()Value of any proto value.
.google.protobuf.Any proto_any_value = 8;- Specified by:
hasProtoAnyValuein interfaceAnnotationValueOrBuilder- Returns:
- Whether the protoAnyValue field is set.
-
getProtoAnyValue
public com.google.protobuf.Any getProtoAnyValue()Value of any proto value.
.google.protobuf.Any proto_any_value = 8;- Specified by:
getProtoAnyValuein interfaceAnnotationValueOrBuilder- Returns:
- The protoAnyValue.
-
getProtoAnyValueOrBuilder
public com.google.protobuf.AnyOrBuilder getProtoAnyValueOrBuilder()Value of any proto value.
.google.protobuf.Any proto_any_value = 8;- Specified by:
getProtoAnyValueOrBuilderin interfaceAnnotationValueOrBuilder
-
hasBoolValue
public boolean hasBoolValue()Value of boolean type annotation.
bool bool_value = 9;- Specified by:
hasBoolValuein interfaceAnnotationValueOrBuilder- Returns:
- Whether the boolValue field is set.
-
getBoolValue
public boolean getBoolValue()Value of boolean type annotation.
bool bool_value = 9;- Specified by:
getBoolValuein interfaceAnnotationValueOrBuilder- Returns:
- The boolValue.
-
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;- Specified by:
hasCustomizedStructDataValuein interfaceAnnotationValueOrBuilder- Returns:
- Whether the customizedStructDataValue field is set.
-
getCustomizedStructDataValue
public com.google.protobuf.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;- Specified by:
getCustomizedStructDataValuein interfaceAnnotationValueOrBuilder- Returns:
- The customizedStructDataValue.
-
getCustomizedStructDataValueOrBuilder
public com.google.protobuf.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;- Specified by:
getCustomizedStructDataValueOrBuilderin interfaceAnnotationValueOrBuilder
-
hasListValue
public boolean hasListValue()Value of list type annotation.
.google.cloud.visionai.v1.AnnotationList list_value = 11;- Specified by:
hasListValuein interfaceAnnotationValueOrBuilder- Returns:
- Whether the listValue field is set.
-
getListValue
Value of list type annotation.
.google.cloud.visionai.v1.AnnotationList list_value = 11;- Specified by:
getListValuein interfaceAnnotationValueOrBuilder- Returns:
- The listValue.
-
getListValueOrBuilder
Value of list type annotation.
.google.cloud.visionai.v1.AnnotationList list_value = 11;- Specified by:
getListValueOrBuilderin interfaceAnnotationValueOrBuilder
-
hasCustomizedStructValue
public boolean hasCustomizedStructValue()Value of custom struct type annotation.
.google.cloud.visionai.v1.AnnotationCustomizedStruct customized_struct_value = 6;- Specified by:
hasCustomizedStructValuein interfaceAnnotationValueOrBuilder- Returns:
- Whether the customizedStructValue field is set.
-
getCustomizedStructValue
Value of custom struct type annotation.
.google.cloud.visionai.v1.AnnotationCustomizedStruct customized_struct_value = 6;- Specified by:
getCustomizedStructValuein interfaceAnnotationValueOrBuilder- Returns:
- The customizedStructValue.
-
getCustomizedStructValueOrBuilder
Value of custom struct type annotation.
.google.cloud.visionai.v1.AnnotationCustomizedStruct customized_struct_value = 6;- Specified by:
getCustomizedStructValueOrBuilderin interfaceAnnotationValueOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AnnotationValue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotationValue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotationValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotationValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotationValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnnotationValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AnnotationValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AnnotationValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AnnotationValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AnnotationValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AnnotationValue.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-