Class UpdateRagCorpusRequest.Builder (3.55.0)

public static final class UpdateRagCorpusRequest.Builder extends GeneratedMessageV3.Builder<UpdateRagCorpusRequest.Builder> implements UpdateRagCorpusRequestOrBuilder

Request message for VertexRagDataService.UpdateRagCorpus.

Protobuf type google.cloud.aiplatform.v1beta1.UpdateRagCorpusRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateRagCorpusRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateRagCorpusRequest.Builder
Overrides

build()

public UpdateRagCorpusRequest build()
Returns
Type Description
UpdateRagCorpusRequest

buildPartial()

public UpdateRagCorpusRequest buildPartial()
Returns
Type Description
UpdateRagCorpusRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public UpdateRagCorpusRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateRagCorpusRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateRagCorpusRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateRagCorpusRequest.Builder
Overrides

clearRagCorpus()

public UpdateRagCorpusRequest.Builder clearRagCorpus()

Required. The RagCorpus which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.RagCorpus rag_corpus = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateRagCorpusRequest.Builder

clone()

public UpdateRagCorpusRequest.Builder clone()
Returns
Type Description
UpdateRagCorpusRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateRagCorpusRequest getDefaultInstanceForType()
Returns
Type Description
UpdateRagCorpusRequest

getDescriptorForType()

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

getRagCorpus()

public RagCorpus getRagCorpus()

Required. The RagCorpus which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.RagCorpus rag_corpus = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagCorpus

The ragCorpus.

getRagCorpusBuilder()

public RagCorpus.Builder getRagCorpusBuilder()

Required. The RagCorpus which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.RagCorpus rag_corpus = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagCorpus.Builder

getRagCorpusOrBuilder()

public RagCorpusOrBuilder getRagCorpusOrBuilder()

Required. The RagCorpus which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.RagCorpus rag_corpus = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagCorpusOrBuilder

hasRagCorpus()

public boolean hasRagCorpus()

Required. The RagCorpus which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.RagCorpus rag_corpus = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the ragCorpus field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateRagCorpusRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRagCorpus(RagCorpus value)

public UpdateRagCorpusRequest.Builder mergeRagCorpus(RagCorpus value)

Required. The RagCorpus which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.RagCorpus rag_corpus = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value RagCorpus
Returns
Type Description
UpdateRagCorpusRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateRagCorpusRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateRagCorpusRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateRagCorpusRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateRagCorpusRequest.Builder
Overrides

setRagCorpus(RagCorpus value)

public UpdateRagCorpusRequest.Builder setRagCorpus(RagCorpus value)

Required. The RagCorpus which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.RagCorpus rag_corpus = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value RagCorpus
Returns
Type Description
UpdateRagCorpusRequest.Builder

setRagCorpus(RagCorpus.Builder builderForValue)

public UpdateRagCorpusRequest.Builder setRagCorpus(RagCorpus.Builder builderForValue)

Required. The RagCorpus which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.RagCorpus rag_corpus = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue RagCorpus.Builder
Returns
Type Description
UpdateRagCorpusRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateRagCorpusRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateRagCorpusRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateRagCorpusRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateRagCorpusRequest.Builder
Overrides