Interface CreateSchemaRequestOrBuilder (0.37.0)

public interface CreateSchemaRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The parent data store resource name, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent data store resource name, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getSchema()

public abstract Schema getSchema()

Required. The Schema to create.

.google.cloud.discoveryengine.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Schema

The schema.

getSchemaId()

public abstract String getSchemaId()

Required. The ID to use for the Schema, which will become the final component of the Schema.name.

This field should conform to RFC-1034 standard with a length limit of 63 characters.

string schema_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The schemaId.

getSchemaIdBytes()

public abstract ByteString getSchemaIdBytes()

Required. The ID to use for the Schema, which will become the final component of the Schema.name.

This field should conform to RFC-1034 standard with a length limit of 63 characters.

string schema_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for schemaId.

getSchemaOrBuilder()

public abstract SchemaOrBuilder getSchemaOrBuilder()

Required. The Schema to create.

.google.cloud.discoveryengine.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SchemaOrBuilder

hasSchema()

public abstract boolean hasSchema()

Required. The Schema to create.

.google.cloud.discoveryengine.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the schema field is set.