Package com.google.cloud.visionai.v1
Interface DataSchemaOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataSchema,DataSchema.Builder
@Generated
public interface DataSchemaOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()Required.com.google.protobuf.ByteStringRequired.getName()Resource name of the data schema in the form of: `projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}` where {data_schema} part should be the same as the `key` field below.com.google.protobuf.ByteStringResource name of the data schema in the form of: `projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}` where {data_schema} part should be the same as the `key` field below.The schema details mapping to the key.The schema details mapping to the key.booleanThe schema details mapping to the key.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Resource name of the data schema in the form of: `projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}` where {data_schema} part should be the same as the `key` field below.string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Resource name of the data schema in the form of: `projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}` where {data_schema} part should be the same as the `key` field below.string name = 1;- Returns:
- The bytes for name.
-
getKey
String getKey()Required. The key of this data schema. This key should be matching the key of user specified annotation and unique inside corpus. This value can be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number.
string key = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()Required. The key of this data schema. This key should be matching the key of user specified annotation and unique inside corpus. This value can be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number.
string key = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for key.
-
hasSchemaDetails
boolean hasSchemaDetails()The schema details mapping to the key.
.google.cloud.visionai.v1.DataSchemaDetails schema_details = 3;- Returns:
- Whether the schemaDetails field is set.
-
getSchemaDetails
DataSchemaDetails getSchemaDetails()The schema details mapping to the key.
.google.cloud.visionai.v1.DataSchemaDetails schema_details = 3;- Returns:
- The schemaDetails.
-
getSchemaDetailsOrBuilder
DataSchemaDetailsOrBuilder getSchemaDetailsOrBuilder()The schema details mapping to the key.
.google.cloud.visionai.v1.DataSchemaDetails schema_details = 3;
-