Class BatchCreateRagDataSchemasRequest.Builder

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

public static final class BatchCreateRagDataSchemasRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchCreateRagDataSchemasRequest.Builder> implements BatchCreateRagDataSchemasRequestOrBuilder
 Request message for
 [VertexRagDataService.BatchCreateRagDataSchemas][google.cloud.aiplatform.v1beta1.VertexRagDataService.BatchCreateRagDataSchemas].
 
Protobuf type google.cloud.aiplatform.v1beta1.BatchCreateRagDataSchemasRequest
  • 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<BatchCreateRagDataSchemasRequest.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<BatchCreateRagDataSchemasRequest.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<BatchCreateRagDataSchemasRequest.Builder>
    • getDefaultInstanceForType

      public BatchCreateRagDataSchemasRequest 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 BatchCreateRagDataSchemasRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BatchCreateRagDataSchemasRequest.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<BatchCreateRagDataSchemasRequest.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<BatchCreateRagDataSchemasRequest.Builder>
    • mergeFrom

      public BatchCreateRagDataSchemasRequest.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<BatchCreateRagDataSchemasRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The resource name of the RagCorpus to create the RagDataSchemas
       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 BatchCreateRagDataSchemasRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the RagCorpus to create the RagDataSchemas
       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 BatchCreateRagDataSchemasRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The resource name of the RagCorpus to create the RagDataSchemas
       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

       Required. The resource name of the RagCorpus to create the RagDataSchemas
       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 BatchCreateRagDataSchemasRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the RagCorpus to create the RagDataSchemas
       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.
    • getRequestsList

      public List<CreateRagDataSchemaRequest> getRequestsList()
       Required. The request messages for
       [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
       A maximum of 500 schemas can be created in a batch.
       
      repeated .google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsList in interface BatchCreateRagDataSchemasRequestOrBuilder
    • getRequestsCount

      public int getRequestsCount()
       Required. The request messages for
       [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
       A maximum of 500 schemas can be created in a batch.
       
      repeated .google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsCount in interface BatchCreateRagDataSchemasRequestOrBuilder
    • getRequests

      public CreateRagDataSchemaRequest getRequests(int index)
       Required. The request messages for
       [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
       A maximum of 500 schemas can be created in a batch.
       
      repeated .google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequests in interface BatchCreateRagDataSchemasRequestOrBuilder
    • setRequests

       Required. The request messages for
       [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
       A maximum of 500 schemas can be created in a batch.
       
      repeated .google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • setRequests

      public BatchCreateRagDataSchemasRequest.Builder setRequests(int index, CreateRagDataSchemaRequest.Builder builderForValue)
       Required. The request messages for
       [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
       A maximum of 500 schemas can be created in a batch.
       
      repeated .google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

       Required. The request messages for
       [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
       A maximum of 500 schemas can be created in a batch.
       
      repeated .google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

       Required. The request messages for
       [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
       A maximum of 500 schemas can be created in a batch.
       
      repeated .google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

       Required. The request messages for
       [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
       A maximum of 500 schemas can be created in a batch.
       
      repeated .google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

      public BatchCreateRagDataSchemasRequest.Builder addRequests(int index, CreateRagDataSchemaRequest.Builder builderForValue)
       Required. The request messages for
       [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
       A maximum of 500 schemas can be created in a batch.
       
      repeated .google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAllRequests

       Required. The request messages for
       [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
       A maximum of 500 schemas can be created in a batch.
       
      repeated .google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearRequests

       Required. The request messages for
       [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
       A maximum of 500 schemas can be created in a batch.
       
      repeated .google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • removeRequests

      public BatchCreateRagDataSchemasRequest.Builder removeRequests(int index)
       Required. The request messages for
       [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
       A maximum of 500 schemas can be created in a batch.
       
      repeated .google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsBuilder

      public CreateRagDataSchemaRequest.Builder getRequestsBuilder(int index)
       Required. The request messages for
       [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
       A maximum of 500 schemas can be created in a batch.
       
      repeated .google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsOrBuilder

      public CreateRagDataSchemaRequestOrBuilder getRequestsOrBuilder(int index)
       Required. The request messages for
       [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
       A maximum of 500 schemas can be created in a batch.
       
      repeated .google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsOrBuilder in interface BatchCreateRagDataSchemasRequestOrBuilder
    • getRequestsOrBuilderList

      public List<? extends CreateRagDataSchemaRequestOrBuilder> getRequestsOrBuilderList()
       Required. The request messages for
       [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
       A maximum of 500 schemas can be created in a batch.
       
      repeated .google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsOrBuilderList in interface BatchCreateRagDataSchemasRequestOrBuilder
    • addRequestsBuilder

      public CreateRagDataSchemaRequest.Builder addRequestsBuilder()
       Required. The request messages for
       [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
       A maximum of 500 schemas can be created in a batch.
       
      repeated .google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequestsBuilder

      public CreateRagDataSchemaRequest.Builder addRequestsBuilder(int index)
       Required. The request messages for
       [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
       A maximum of 500 schemas can be created in a batch.
       
      repeated .google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsBuilderList

      public List<CreateRagDataSchemaRequest.Builder> getRequestsBuilderList()
       Required. The request messages for
       [VertexRagDataService.CreateRagDataSchema][google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema].
       A maximum of 500 schemas can be created in a batch.
       
      repeated .google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];