Class UploadRagFileResponse (3.46.0)

public final class UploadRagFileResponse extends GeneratedMessageV3 implements UploadRagFileResponseOrBuilder

Response message for VertexRagDataService.UploadRagFile.

Protobuf type google.cloud.aiplatform.v1beta1.UploadRagFileResponse

Static Fields

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
Type Description
int

RAG_FILE_FIELD_NUMBER

public static final int RAG_FILE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UploadRagFileResponse getDefaultInstance()
Returns
Type Description
UploadRagFileResponse

getDescriptor()

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

newBuilder()

public static UploadRagFileResponse.Builder newBuilder()
Returns
Type Description
UploadRagFileResponse.Builder

newBuilder(UploadRagFileResponse prototype)

public static UploadRagFileResponse.Builder newBuilder(UploadRagFileResponse prototype)
Parameter
Name Description
prototype UploadRagFileResponse
Returns
Type Description
UploadRagFileResponse.Builder

parseDelimitedFrom(InputStream input)

public static UploadRagFileResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UploadRagFileResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UploadRagFileResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadRagFileResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UploadRagFileResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UploadRagFileResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UploadRagFileResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadRagFileResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UploadRagFileResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UploadRagFileResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UploadRagFileResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadRagFileResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UploadRagFileResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UploadRagFileResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UploadRagFileResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadRagFileResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UploadRagFileResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UploadRagFileResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UploadRagFileResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadRagFileResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UploadRagFileResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UploadRagFileResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UploadRagFileResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadRagFileResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UploadRagFileResponse> parser()
Returns
Type Description
Parser<UploadRagFileResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UploadRagFileResponse getDefaultInstanceForType()
Returns
Type Description
UploadRagFileResponse

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.

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

The error that occurred while processing the RagFile.

.google.rpc.Status error = 4;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getParserForType()

public Parser<UploadRagFileResponse> getParserForType()
Returns
Type Description
Parser<UploadRagFileResponse>
Overrides

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UploadRagFileResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UploadRagFileResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException