Interface DataSchemaOrBuilder (0.2.0)

public interface DataSchemaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract 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-/. 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
Type Description
String

The key.

getKeyBytes()

public abstract 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-/. 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
Type Description
ByteString

The bytes for key.

getName()

public abstract 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
Type Description
String

The name.

getNameBytes()

public abstract 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
Type Description
ByteString

The bytes for name.

getSchemaDetails()

public abstract DataSchemaDetails getSchemaDetails()

The schema details mapping to the key.

.google.cloud.visionai.v1.DataSchemaDetails schema_details = 3;

Returns
Type Description
DataSchemaDetails

The schemaDetails.

getSchemaDetailsOrBuilder()

public abstract DataSchemaDetailsOrBuilder getSchemaDetailsOrBuilder()

The schema details mapping to the key.

.google.cloud.visionai.v1.DataSchemaDetails schema_details = 3;

Returns
Type Description
DataSchemaDetailsOrBuilder

hasSchemaDetails()

public abstract boolean hasSchemaDetails()

The schema details mapping to the key.

.google.cloud.visionai.v1.DataSchemaDetails schema_details = 3;

Returns
Type Description
boolean

Whether the schemaDetails field is set.