Interface CreateSchemaRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateSchemaRequest
,CreateSchemaRequest.Builder
public interface CreateSchemaRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.Schema
getSchema()
Required.String
getSchemaId()
Required.com.google.protobuf.ByteString
getSchemaIdBytes()
Required.SchemaOrBuilder
getSchemaOrBuilder()
Required.boolean
hasSchema()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasSchema
boolean hasSchema()
Required. The [Schema][google.cloud.discoveryengine.v1.Schema] to create.
.google.cloud.discoveryengine.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the schema field is set.
-
getSchema
Schema getSchema()
Required. The [Schema][google.cloud.discoveryengine.v1.Schema] to create.
.google.cloud.discoveryengine.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The schema.
-
getSchemaOrBuilder
SchemaOrBuilder getSchemaOrBuilder()
Required. The [Schema][google.cloud.discoveryengine.v1.Schema] to create.
.google.cloud.discoveryengine.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
-
getSchemaId
String getSchemaId()
Required. The ID to use for the [Schema][google.cloud.discoveryengine.v1.Schema], which will become the final component of the [Schema.name][google.cloud.discoveryengine.v1.Schema.name]. This field should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.
string schema_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The schemaId.
-
getSchemaIdBytes
com.google.protobuf.ByteString getSchemaIdBytes()
Required. The ID to use for the [Schema][google.cloud.discoveryengine.v1.Schema], which will become the final component of the [Schema.name][google.cloud.discoveryengine.v1.Schema.name]. This field should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.
string schema_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for schemaId.
-
-