Class BatchCreateRagDataSchemasRequest.Builder (3.89.0)

public static final class BatchCreateRagDataSchemasRequest.Builder extends GeneratedMessage.Builder<BatchCreateRagDataSchemasRequest.Builder> implements BatchCreateRagDataSchemasRequestOrBuilder

Request message for VertexRagDataService.BatchCreateRagDataSchemas.

Protobuf type google.cloud.aiplatform.v1beta1.BatchCreateRagDataSchemasRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllRequests(Iterable<? extends CreateRagDataSchemaRequest> values)

public BatchCreateRagDataSchemasRequest.Builder addAllRequests(Iterable<? extends CreateRagDataSchemaRequest> values)

Required. The request messages for 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];

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest>
Returns
Type Description
BatchCreateRagDataSchemasRequest.Builder

addRequests(CreateRagDataSchemaRequest value)

public BatchCreateRagDataSchemasRequest.Builder addRequests(CreateRagDataSchemaRequest value)

Required. The request messages for 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];

Parameter
Name Description
value CreateRagDataSchemaRequest
Returns
Type Description
BatchCreateRagDataSchemasRequest.Builder

addRequests(CreateRagDataSchemaRequest.Builder builderForValue)

public BatchCreateRagDataSchemasRequest.Builder addRequests(CreateRagDataSchemaRequest.Builder builderForValue)

Required. The request messages for 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];

Parameter
Name Description
builderForValue CreateRagDataSchemaRequest.Builder
Returns
Type Description
BatchCreateRagDataSchemasRequest.Builder

addRequests(int index, CreateRagDataSchemaRequest value)

public BatchCreateRagDataSchemasRequest.Builder addRequests(int index, CreateRagDataSchemaRequest value)

Required. The request messages for 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];

Parameters
Name Description
index int
value CreateRagDataSchemaRequest
Returns
Type Description
BatchCreateRagDataSchemasRequest.Builder

addRequests(int index, CreateRagDataSchemaRequest.Builder builderForValue)

public BatchCreateRagDataSchemasRequest.Builder addRequests(int index, CreateRagDataSchemaRequest.Builder builderForValue)

Required. The request messages for 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];

Parameters
Name Description
index int
builderForValue CreateRagDataSchemaRequest.Builder
Returns
Type Description
BatchCreateRagDataSchemasRequest.Builder

addRequestsBuilder()

public CreateRagDataSchemaRequest.Builder addRequestsBuilder()

Required. The request messages for 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];

Returns
Type Description
CreateRagDataSchemaRequest.Builder

addRequestsBuilder(int index)

public CreateRagDataSchemaRequest.Builder addRequestsBuilder(int index)

Required. The request messages for 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];

Parameter
Name Description
index int
Returns
Type Description
CreateRagDataSchemaRequest.Builder

build()

public BatchCreateRagDataSchemasRequest build()
Returns
Type Description
BatchCreateRagDataSchemasRequest

buildPartial()

public BatchCreateRagDataSchemasRequest buildPartial()
Returns
Type Description
BatchCreateRagDataSchemasRequest

clear()

public BatchCreateRagDataSchemasRequest.Builder clear()
Returns
Type Description
BatchCreateRagDataSchemasRequest.Builder
Overrides

clearParent()

public BatchCreateRagDataSchemasRequest.Builder 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
Type Description
BatchCreateRagDataSchemasRequest.Builder

This builder for chaining.

clearRequests()

public BatchCreateRagDataSchemasRequest.Builder clearRequests()

Required. The request messages for 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];

Returns
Type Description
BatchCreateRagDataSchemasRequest.Builder

getDefaultInstanceForType()

public BatchCreateRagDataSchemasRequest getDefaultInstanceForType()
Returns
Type Description
BatchCreateRagDataSchemasRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequests(int index)

public CreateRagDataSchemaRequest getRequests(int index)

Required. The request messages for 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];

Parameter
Name Description
index int
Returns
Type Description
CreateRagDataSchemaRequest

getRequestsBuilder(int index)

public CreateRagDataSchemaRequest.Builder getRequestsBuilder(int index)

Required. The request messages for 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];

Parameter
Name Description
index int
Returns
Type Description
CreateRagDataSchemaRequest.Builder

getRequestsBuilderList()

public List<CreateRagDataSchemaRequest.Builder> getRequestsBuilderList()

Required. The request messages for 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];

Returns
Type Description
List<Builder>

getRequestsCount()

public int getRequestsCount()

Required. The request messages for 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];

Returns
Type Description
int

getRequestsList()

public List<CreateRagDataSchemaRequest> getRequestsList()

Required. The request messages for 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];

Returns
Type Description
List<CreateRagDataSchemaRequest>

getRequestsOrBuilder(int index)

public CreateRagDataSchemaRequestOrBuilder getRequestsOrBuilder(int index)

Required. The request messages for 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];

Parameter
Name Description
index int
Returns
Type Description
CreateRagDataSchemaRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends CreateRagDataSchemaRequestOrBuilder> getRequestsOrBuilderList()

Required. The request messages for 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];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequestOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchCreateRagDataSchemasRequest other)

public BatchCreateRagDataSchemasRequest.Builder mergeFrom(BatchCreateRagDataSchemasRequest other)
Parameter
Name Description
other BatchCreateRagDataSchemasRequest
Returns
Type Description
BatchCreateRagDataSchemasRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchCreateRagDataSchemasRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateRagDataSchemasRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchCreateRagDataSchemasRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchCreateRagDataSchemasRequest.Builder
Overrides

removeRequests(int index)

public BatchCreateRagDataSchemasRequest.Builder removeRequests(int index)

Required. The request messages for 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];

Parameter
Name Description
index int
Returns
Type Description
BatchCreateRagDataSchemasRequest.Builder

setParent(String value)

public BatchCreateRagDataSchemasRequest.Builder setParent(String 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) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BatchCreateRagDataSchemasRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchCreateRagDataSchemasRequest.Builder setParentBytes(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) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
BatchCreateRagDataSchemasRequest.Builder

This builder for chaining.

setRequests(int index, CreateRagDataSchemaRequest value)

public BatchCreateRagDataSchemasRequest.Builder setRequests(int index, CreateRagDataSchemaRequest value)

Required. The request messages for 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];

Parameters
Name Description
index int
value CreateRagDataSchemaRequest
Returns
Type Description
BatchCreateRagDataSchemasRequest.Builder

setRequests(int index, CreateRagDataSchemaRequest.Builder builderForValue)

public BatchCreateRagDataSchemasRequest.Builder setRequests(int index, CreateRagDataSchemaRequest.Builder builderForValue)

Required. The request messages for 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];

Parameters
Name Description
index int
builderForValue CreateRagDataSchemaRequest.Builder
Returns
Type Description
BatchCreateRagDataSchemasRequest.Builder