Interface CreateSchemaRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateSchemaRequest, CreateSchemaRequest.Builder

@Generated public interface CreateSchemaRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.v1beta.Schema] to
       create.
       
      .google.cloud.discoveryengine.v1beta.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the schema field is set.
    • getSchema

      Schema getSchema()
       Required. The [Schema][google.cloud.discoveryengine.v1beta.Schema] to
       create.
       
      .google.cloud.discoveryengine.v1beta.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The schema.
    • getSchemaOrBuilder

      SchemaOrBuilder getSchemaOrBuilder()
       Required. The [Schema][google.cloud.discoveryengine.v1beta.Schema] to
       create.
       
      .google.cloud.discoveryengine.v1beta.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
    • getSchemaId

      String getSchemaId()
       Required. The ID to use for the
       [Schema][google.cloud.discoveryengine.v1beta.Schema], which becomes the
       final component of the
       [Schema.name][google.cloud.discoveryengine.v1beta.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.v1beta.Schema], which becomes the
       final component of the
       [Schema.name][google.cloud.discoveryengine.v1beta.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.