Interface CreateSchemaRequestOrBuilder (0.42.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
Type Description
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
Type Description
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
Type Description
Schema

The schema.

getSchemaId()

public abstract String getSchemaId()

Required. The ID to use for the Schema, which becomes 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
Type Description
String

The schemaId.

getSchemaIdBytes()

public abstract ByteString getSchemaIdBytes()

Required. The ID to use for the Schema, which becomes 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
Type Description
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
Type Description
SchemaOrBuilder

hasSchema()

public abstract boolean hasSchema()

Required. The Schema to create.

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

Returns
Type Description
boolean

Whether the schema field is set.