Send feedback
Class UploadRagFileResponse.Builder (3.56.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.56.0 keyboard_arrow_down
public static final class UploadRagFileResponse . Builder extends GeneratedMessageV3 . Builder<UploadRagFileResponse . Builder > implements UploadRagFileResponseOrBuilder
Response message for
VertexRagDataService.UploadRagFile .
Protobuf type google.cloud.aiplatform.v1.UploadRagFileResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public UploadRagFileResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public UploadRagFileResponse build ()
public UploadRagFileResponse buildPartial ()
public UploadRagFileResponse . Builder clear ()
Overrides
public UploadRagFileResponse . Builder clearError ()
The error that occurred while processing the RagFile.
.google.rpc.Status error = 4;
public UploadRagFileResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public UploadRagFileResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public UploadRagFileResponse . Builder clearRagFile ()
The RagFile that had been uploaded into the RagCorpus.
.google.cloud.aiplatform.v1.RagFile rag_file = 1;
public UploadRagFileResponse . Builder clearResult ()
public UploadRagFileResponse . Builder clone ()
Overrides
public UploadRagFileResponse getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
The error that occurred while processing the RagFile.
.google.rpc.Status error = 4;
Returns
Type
Description
com.google.rpc.Status
The error.
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
public StatusOrBuilder getErrorOrBuilder ()
The error that occurred while processing the RagFile.
.google.rpc.Status error = 4;
Returns
Type
Description
com.google.rpc.StatusOrBuilder
public RagFile getRagFile ()
The RagFile that had been uploaded into the RagCorpus.
.google.cloud.aiplatform.v1.RagFile rag_file = 1;
Returns
Type
Description
RagFile
The ragFile.
public RagFile . Builder getRagFileBuilder ()
The RagFile that had been uploaded into the RagCorpus.
.google.cloud.aiplatform.v1.RagFile rag_file = 1;
public RagFileOrBuilder getRagFileOrBuilder ()
The RagFile that had been uploaded into the RagCorpus.
.google.cloud.aiplatform.v1.RagFile rag_file = 1;
public UploadRagFileResponse . ResultCase getResultCase ()
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.
public boolean hasRagFile ()
The RagFile that had been uploaded into the RagCorpus.
.google.cloud.aiplatform.v1.RagFile rag_file = 1;
Returns
Type
Description
boolean
Whether the ragFile field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
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
public UploadRagFileResponse . Builder mergeFrom ( UploadRagFileResponse other )
public UploadRagFileResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public UploadRagFileResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public UploadRagFileResponse . Builder mergeRagFile ( RagFile value )
The RagFile that had been uploaded into the RagCorpus.
.google.cloud.aiplatform.v1.RagFile rag_file = 1;
Parameter
Name
Description
value
RagFile
public final UploadRagFileResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
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
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
public UploadRagFileResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public UploadRagFileResponse . Builder setRagFile ( RagFile value )
The RagFile that had been uploaded into the RagCorpus.
.google.cloud.aiplatform.v1.RagFile rag_file = 1;
Parameter
Name
Description
value
RagFile
public UploadRagFileResponse . Builder setRagFile ( RagFile . Builder builderForValue )
The RagFile that had been uploaded into the RagCorpus.
.google.cloud.aiplatform.v1.RagFile rag_file = 1;
public UploadRagFileResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public final UploadRagFileResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]