Interface RagDataSchemaOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Identifier.
    com.google.protobuf.ByteString
    Identifier.
    The schema details mapping to the key.
    The schema details mapping to the key.
    boolean
    The schema details mapping to the key.

    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

    • getName

      String getName()
       Identifier. Resource name of the data schema in the form of:
       `projects/{project_number}/locations/{location}/ragCorpora/{rag_corpus}/ragDataSchemas/{rag_data_schema}`
       where the {rag_data_schema} part should be the same as the `key` field
       below.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. Resource name of the data schema in the form of:
       `projects/{project_number}/locations/{location}/ragCorpora/{rag_corpus}/ragDataSchemas/{rag_data_schema}`
       where the {rag_data_schema} part should be the same as the `key` field
       below.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getKey

      String getKey()
       Required. The key of this data schema. This key should be matching the key
       of user specified metadata and unique inside corpus. This value can be up
       to 63 characters, and valid characters are /[a-z][0-9]-/. 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:
      The key.
    • getKeyBytes

      com.google.protobuf.ByteString getKeyBytes()
       Required. The key of this data schema. This key should be matching the key
       of user specified metadata and unique inside corpus. This value can be up
       to 63 characters, and valid characters are /[a-z][0-9]-/. 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:
      The bytes for key.
    • hasSchemaDetails

      boolean hasSchemaDetails()
       The schema details mapping to the key.
       
      .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails schema_details = 3;
      Returns:
      Whether the schemaDetails field is set.
    • getSchemaDetails

      RagMetadataSchemaDetails getSchemaDetails()
       The schema details mapping to the key.
       
      .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails schema_details = 3;
      Returns:
      The schemaDetails.
    • getSchemaDetailsOrBuilder

      RagMetadataSchemaDetailsOrBuilder getSchemaDetailsOrBuilder()
       The schema details mapping to the key.
       
      .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails schema_details = 3;