Class UploadRagFileResponse.Builder (3.47.0)

public static final class UploadRagFileResponse.Builder extends GeneratedMessageV3.Builder<UploadRagFileResponse.Builder> implements UploadRagFileResponseOrBuilder

Response message for VertexRagDataService.UploadRagFile.

Protobuf type google.cloud.aiplatform.v1beta1.UploadRagFileResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UploadRagFileResponse build()
Returns
Type Description
UploadRagFileResponse

buildPartial()

public UploadRagFileResponse buildPartial()
Returns
Type Description
UploadRagFileResponse

clear()

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

clearError()

public UploadRagFileResponse.Builder clearError()

The error that occurred while processing the RagFile.

.google.rpc.Status error = 4;

Returns
Type Description
UploadRagFileResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRagFile()

public UploadRagFileResponse.Builder clearRagFile()

The RagFile that had been uploaded into the RagCorpus.

.google.cloud.aiplatform.v1beta1.RagFile rag_file = 1;

Returns
Type Description
UploadRagFileResponse.Builder

clearResult()

public UploadRagFileResponse.Builder clearResult()
Returns
Type Description
UploadRagFileResponse.Builder

clone()

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

getDefaultInstanceForType()

public UploadRagFileResponse getDefaultInstanceForType()
Returns
Type Description
UploadRagFileResponse

getDescriptorForType()

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

getError()

public Status getError()

The error that occurred while processing the RagFile.

.google.rpc.Status error = 4;

Returns
Type Description
com.google.rpc.Status

The error.

getErrorBuilder()

public Status.Builder getErrorBuilder()

The error that occurred while processing the RagFile.

.google.rpc.Status error = 4;

Returns
Type Description
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

The error that occurred while processing the RagFile.

.google.rpc.Status error = 4;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getRagFile()

public RagFile getRagFile()

The RagFile that had been uploaded into the RagCorpus.

.google.cloud.aiplatform.v1beta1.RagFile rag_file = 1;

Returns
Type Description
RagFile

The ragFile.

getRagFileBuilder()

public RagFile.Builder getRagFileBuilder()

The RagFile that had been uploaded into the RagCorpus.

.google.cloud.aiplatform.v1beta1.RagFile rag_file = 1;

Returns
Type Description
RagFile.Builder

getRagFileOrBuilder()

public RagFileOrBuilder getRagFileOrBuilder()

The RagFile that had been uploaded into the RagCorpus.

.google.cloud.aiplatform.v1beta1.RagFile rag_file = 1;

Returns
Type Description
RagFileOrBuilder

getResultCase()

public UploadRagFileResponse.ResultCase getResultCase()
Returns
Type Description
UploadRagFileResponse.ResultCase

hasError()

public boolean hasError()

The error that occurred while processing the RagFile.

.google.rpc.Status error = 4;

Returns
Type Description
boolean

Whether the error field is set.

hasRagFile()

public boolean hasRagFile()

The RagFile that had been uploaded into the RagCorpus.

.google.cloud.aiplatform.v1beta1.RagFile rag_file = 1;

Returns
Type Description
boolean

Whether the ragFile field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeError(Status value)

public UploadRagFileResponse.Builder mergeError(Status value)

The error that occurred while processing the RagFile.

.google.rpc.Status error = 4;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
UploadRagFileResponse.Builder

mergeFrom(UploadRagFileResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRagFile(RagFile value)

public UploadRagFileResponse.Builder mergeRagFile(RagFile value)

The RagFile that had been uploaded into the RagCorpus.

.google.cloud.aiplatform.v1beta1.RagFile rag_file = 1;

Parameter
Name Description
value RagFile
Returns
Type Description
UploadRagFileResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setError(Status value)

public UploadRagFileResponse.Builder setError(Status value)

The error that occurred while processing the RagFile.

.google.rpc.Status error = 4;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
UploadRagFileResponse.Builder

setError(Status.Builder builderForValue)

public UploadRagFileResponse.Builder setError(Status.Builder builderForValue)

The error that occurred while processing the RagFile.

.google.rpc.Status error = 4;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
UploadRagFileResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setRagFile(RagFile value)

public UploadRagFileResponse.Builder setRagFile(RagFile value)

The RagFile that had been uploaded into the RagCorpus.

.google.cloud.aiplatform.v1beta1.RagFile rag_file = 1;

Parameter
Name Description
value RagFile
Returns
Type Description
UploadRagFileResponse.Builder

setRagFile(RagFile.Builder builderForValue)

public UploadRagFileResponse.Builder setRagFile(RagFile.Builder builderForValue)

The RagFile that had been uploaded into the RagCorpus.

.google.cloud.aiplatform.v1beta1.RagFile rag_file = 1;

Parameter
Name Description
builderForValue RagFile.Builder
Returns
Type Description
UploadRagFileResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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