Class CreateRagDataSchemaRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateRagDataSchemaRequest.Builder>
com.google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest.Builder
All Implemented Interfaces:
CreateRagDataSchemaRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CreateRagDataSchemaRequest

public static final class CreateRagDataSchemaRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateRagDataSchemaRequest.Builder> implements CreateRagDataSchemaRequestOrBuilder
 Request message for
 [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
 
Protobuf type google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CreateRagDataSchemaRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CreateRagDataSchemaRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CreateRagDataSchemaRequest.Builder>
    • getDefaultInstanceForType

      public CreateRagDataSchemaRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CreateRagDataSchemaRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CreateRagDataSchemaRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateRagDataSchemaRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CreateRagDataSchemaRequest.Builder>
    • mergeFrom

      public CreateRagDataSchemaRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateRagDataSchemaRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The resource name of the RagCorpus to create the RagDataSchema
       in. Format:
       `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateRagDataSchemaRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the RagCorpus to create the RagDataSchema
       in. Format:
       `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateRagDataSchemaRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateRagDataSchemaRequest.Builder setParent(String value)
       Required. The resource name of the RagCorpus to create the RagDataSchema
       in. Format:
       `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public CreateRagDataSchemaRequest.Builder clearParent()
       Required. The resource name of the RagCorpus to create the RagDataSchema
       in. Format:
       `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateRagDataSchemaRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the RagCorpus to create the RagDataSchema
       in. Format:
       `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • hasRagDataSchema

      public boolean hasRagDataSchema()
       Required. The RagDataSchema to create.
       
      .google.cloud.aiplatform.v1beta1.RagDataSchema rag_data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasRagDataSchema in interface CreateRagDataSchemaRequestOrBuilder
      Returns:
      Whether the ragDataSchema field is set.
    • getRagDataSchema

      public RagDataSchema getRagDataSchema()
       Required. The RagDataSchema to create.
       
      .google.cloud.aiplatform.v1beta1.RagDataSchema rag_data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRagDataSchema in interface CreateRagDataSchemaRequestOrBuilder
      Returns:
      The ragDataSchema.
    • setRagDataSchema

      public CreateRagDataSchemaRequest.Builder setRagDataSchema(RagDataSchema value)
       Required. The RagDataSchema to create.
       
      .google.cloud.aiplatform.v1beta1.RagDataSchema rag_data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
    • setRagDataSchema

      public CreateRagDataSchemaRequest.Builder setRagDataSchema(RagDataSchema.Builder builderForValue)
       Required. The RagDataSchema to create.
       
      .google.cloud.aiplatform.v1beta1.RagDataSchema rag_data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeRagDataSchema

      public CreateRagDataSchemaRequest.Builder mergeRagDataSchema(RagDataSchema value)
       Required. The RagDataSchema to create.
       
      .google.cloud.aiplatform.v1beta1.RagDataSchema rag_data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearRagDataSchema

      public CreateRagDataSchemaRequest.Builder clearRagDataSchema()
       Required. The RagDataSchema to create.
       
      .google.cloud.aiplatform.v1beta1.RagDataSchema rag_data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRagDataSchemaBuilder

      public RagDataSchema.Builder getRagDataSchemaBuilder()
       Required. The RagDataSchema to create.
       
      .google.cloud.aiplatform.v1beta1.RagDataSchema rag_data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRagDataSchemaOrBuilder

      public RagDataSchemaOrBuilder getRagDataSchemaOrBuilder()
       Required. The RagDataSchema to create.
       
      .google.cloud.aiplatform.v1beta1.RagDataSchema rag_data_schema = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRagDataSchemaOrBuilder in interface CreateRagDataSchemaRequestOrBuilder
    • hasRagDataSchemaId

      public boolean hasRagDataSchemaId()
       Optional. The ID to use for the RagDataSchema, which will become the final
       component of the RagDataSchema's resource name if the user chooses to
       specify. Otherwise, RagDataSchema id will be generated by system.
      
       This value should 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.
       
      optional string rag_data_schema_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasRagDataSchemaId in interface CreateRagDataSchemaRequestOrBuilder
      Returns:
      Whether the ragDataSchemaId field is set.
    • getRagDataSchemaId

      public String getRagDataSchemaId()
       Optional. The ID to use for the RagDataSchema, which will become the final
       component of the RagDataSchema's resource name if the user chooses to
       specify. Otherwise, RagDataSchema id will be generated by system.
      
       This value should 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.
       
      optional string rag_data_schema_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRagDataSchemaId in interface CreateRagDataSchemaRequestOrBuilder
      Returns:
      The ragDataSchemaId.
    • getRagDataSchemaIdBytes

      public com.google.protobuf.ByteString getRagDataSchemaIdBytes()
       Optional. The ID to use for the RagDataSchema, which will become the final
       component of the RagDataSchema's resource name if the user chooses to
       specify. Otherwise, RagDataSchema id will be generated by system.
      
       This value should 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.
       
      optional string rag_data_schema_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRagDataSchemaIdBytes in interface CreateRagDataSchemaRequestOrBuilder
      Returns:
      The bytes for ragDataSchemaId.
    • setRagDataSchemaId

      public CreateRagDataSchemaRequest.Builder setRagDataSchemaId(String value)
       Optional. The ID to use for the RagDataSchema, which will become the final
       component of the RagDataSchema's resource name if the user chooses to
       specify. Otherwise, RagDataSchema id will be generated by system.
      
       This value should 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.
       
      optional string rag_data_schema_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The ragDataSchemaId to set.
      Returns:
      This builder for chaining.
    • clearRagDataSchemaId

      public CreateRagDataSchemaRequest.Builder clearRagDataSchemaId()
       Optional. The ID to use for the RagDataSchema, which will become the final
       component of the RagDataSchema's resource name if the user chooses to
       specify. Otherwise, RagDataSchema id will be generated by system.
      
       This value should 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.
       
      optional string rag_data_schema_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setRagDataSchemaIdBytes

      public CreateRagDataSchemaRequest.Builder setRagDataSchemaIdBytes(com.google.protobuf.ByteString value)
       Optional. The ID to use for the RagDataSchema, which will become the final
       component of the RagDataSchema's resource name if the user chooses to
       specify. Otherwise, RagDataSchema id will be generated by system.
      
       This value should 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.
       
      optional string rag_data_schema_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for ragDataSchemaId to set.
      Returns:
      This builder for chaining.