Package com.google.cloud.visionai.v1
Class DataSchemaDetails
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.DataSchemaDetails
- All Implemented Interfaces:
DataSchemaDetailsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DataSchemaDetails
extends com.google.protobuf.GeneratedMessage
implements DataSchemaDetailsOrBuilder
Data schema details indicates the data type and the data struct corresponding to the key of user specified annotation.Protobuf type
google.cloud.visionai.v1.DataSchemaDetails- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classData schema details indicates the data type and the data struct corresponding to the key of user specified annotation.static final classThe configuration for `CUSTOMIZED_STRUCT` data type.static interfacestatic enumData type of the annotation.static enumThe granularity of annotations under this DataSchema.static final classThe configuration for `LIST` data type.static interfacestatic final classThe configuration for `PROTO_ANY` data type.static interfacestatic final classThe search strategy for annotations value of the `key`.static interfaceNested 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 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 TypeMethodDescriptionbooleanConfig for CustomizedStruct data type.Config for CustomizedStruct data type.static DataSchemaDetailsstatic final com.google.protobuf.Descriptors.DescriptorThe granularity associated with this DataSchema.intThe granularity associated with this DataSchema.Config for List data type.Config for List data type.com.google.protobuf.Parser<DataSchemaDetails>Config for protobuf any type.Config for protobuf any type.The search strategy to be applied on the `key` above.The search strategy to be applied on the `key` above.intgetType()Type of the annotation.intType of the annotation.booleanConfig for CustomizedStruct data type.booleanThe granularity associated with this DataSchema.inthashCode()booleanConfig for List data type.booleanConfig for protobuf any type.booleanThe search strategy to be applied on the `key` above.booleanhasType()Type of the annotation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DataSchemaDetails.Builderstatic DataSchemaDetails.BuildernewBuilder(DataSchemaDetails prototype) protected DataSchemaDetails.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DataSchemaDetailsparseDelimitedFrom(InputStream input) static DataSchemaDetailsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSchemaDetailsparseFrom(byte[] data) static DataSchemaDetailsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSchemaDetailsparseFrom(com.google.protobuf.ByteString data) static DataSchemaDetailsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSchemaDetailsparseFrom(com.google.protobuf.CodedInputStream input) static DataSchemaDetailsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSchemaDetailsparseFrom(InputStream input) static DataSchemaDetailsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSchemaDetailsparseFrom(ByteBuffer data) static DataSchemaDetailsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DataSchemaDetails>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
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
PROTO_ANY_CONFIG_FIELD_NUMBER
public static final int PROTO_ANY_CONFIG_FIELD_NUMBER- See Also:
-
LIST_CONFIG_FIELD_NUMBER
public static final int LIST_CONFIG_FIELD_NUMBER- See Also:
-
CUSTOMIZED_STRUCT_CONFIG_FIELD_NUMBER
public static final int CUSTOMIZED_STRUCT_CONFIG_FIELD_NUMBER- See Also:
-
GRANULARITY_FIELD_NUMBER
public static final int GRANULARITY_FIELD_NUMBER- See Also:
-
SEARCH_STRATEGY_FIELD_NUMBER
public static final int SEARCH_STRATEGY_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
-
hasType
public boolean hasType()Type of the annotation.
optional .google.cloud.visionai.v1.DataSchemaDetails.DataType type = 1;- Specified by:
hasTypein interfaceDataSchemaDetailsOrBuilder- Returns:
- Whether the type field is set.
-
getTypeValue
public int getTypeValue()Type of the annotation.
optional .google.cloud.visionai.v1.DataSchemaDetails.DataType type = 1;- Specified by:
getTypeValuein interfaceDataSchemaDetailsOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
Type of the annotation.
optional .google.cloud.visionai.v1.DataSchemaDetails.DataType type = 1;- Specified by:
getTypein interfaceDataSchemaDetailsOrBuilder- Returns:
- The type.
-
hasProtoAnyConfig
public boolean hasProtoAnyConfig()Config for protobuf any type.
.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6;- Specified by:
hasProtoAnyConfigin interfaceDataSchemaDetailsOrBuilder- Returns:
- Whether the protoAnyConfig field is set.
-
getProtoAnyConfig
Config for protobuf any type.
.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6;- Specified by:
getProtoAnyConfigin interfaceDataSchemaDetailsOrBuilder- Returns:
- The protoAnyConfig.
-
getProtoAnyConfigOrBuilder
Config for protobuf any type.
.google.cloud.visionai.v1.DataSchemaDetails.ProtoAnyConfig proto_any_config = 6;- Specified by:
getProtoAnyConfigOrBuilderin interfaceDataSchemaDetailsOrBuilder
-
hasListConfig
public boolean hasListConfig()Config for List data type.
.google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8;- Specified by:
hasListConfigin interfaceDataSchemaDetailsOrBuilder- Returns:
- Whether the listConfig field is set.
-
getListConfig
Config for List data type.
.google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8;- Specified by:
getListConfigin interfaceDataSchemaDetailsOrBuilder- Returns:
- The listConfig.
-
getListConfigOrBuilder
Config for List data type.
.google.cloud.visionai.v1.DataSchemaDetails.ListConfig list_config = 8;- Specified by:
getListConfigOrBuilderin interfaceDataSchemaDetailsOrBuilder
-
hasCustomizedStructConfig
public boolean hasCustomizedStructConfig()Config for CustomizedStruct data type.
.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9;- Specified by:
hasCustomizedStructConfigin interfaceDataSchemaDetailsOrBuilder- Returns:
- Whether the customizedStructConfig field is set.
-
getCustomizedStructConfig
Config for CustomizedStruct data type.
.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9;- Specified by:
getCustomizedStructConfigin interfaceDataSchemaDetailsOrBuilder- Returns:
- The customizedStructConfig.
-
getCustomizedStructConfigOrBuilder
Config for CustomizedStruct data type.
.google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig customized_struct_config = 9;- Specified by:
getCustomizedStructConfigOrBuilderin interfaceDataSchemaDetailsOrBuilder
-
hasGranularity
public boolean hasGranularity()The granularity associated with this DataSchema.
optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;- Specified by:
hasGranularityin interfaceDataSchemaDetailsOrBuilder- Returns:
- Whether the granularity field is set.
-
getGranularityValue
public int getGranularityValue()The granularity associated with this DataSchema.
optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;- Specified by:
getGranularityValuein interfaceDataSchemaDetailsOrBuilder- Returns:
- The enum numeric value on the wire for granularity.
-
getGranularity
The granularity associated with this DataSchema.
optional .google.cloud.visionai.v1.DataSchemaDetails.Granularity granularity = 5;- Specified by:
getGranularityin interfaceDataSchemaDetailsOrBuilder- Returns:
- The granularity.
-
hasSearchStrategy
public boolean hasSearchStrategy()The search strategy to be applied on the `key` above.
.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7;- Specified by:
hasSearchStrategyin interfaceDataSchemaDetailsOrBuilder- Returns:
- Whether the searchStrategy field is set.
-
getSearchStrategy
The search strategy to be applied on the `key` above.
.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7;- Specified by:
getSearchStrategyin interfaceDataSchemaDetailsOrBuilder- Returns:
- The searchStrategy.
-
getSearchStrategyOrBuilder
The search strategy to be applied on the `key` above.
.google.cloud.visionai.v1.DataSchemaDetails.SearchStrategy search_strategy = 7;- Specified by:
getSearchStrategyOrBuilderin interfaceDataSchemaDetailsOrBuilder
-
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 DataSchemaDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSchemaDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSchemaDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSchemaDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSchemaDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSchemaDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DataSchemaDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DataSchemaDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DataSchemaDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DataSchemaDetails 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 DataSchemaDetails.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
-