Class ImportRagFilesResponse (3.47.0)

public final class ImportRagFilesResponse extends GeneratedMessageV3 implements ImportRagFilesResponseOrBuilder

Response message for VertexRagDataService.ImportRagFiles.

Protobuf type google.cloud.aiplatform.v1beta1.ImportRagFilesResponse

Static Fields

FAILED_RAG_FILES_COUNT_FIELD_NUMBER

public static final int FAILED_RAG_FILES_COUNT_FIELD_NUMBER
Field Value
Type Description
int

IMPORTED_RAG_FILES_COUNT_FIELD_NUMBER

public static final int IMPORTED_RAG_FILES_COUNT_FIELD_NUMBER
Field Value
Type Description
int

SKIPPED_RAG_FILES_COUNT_FIELD_NUMBER

public static final int SKIPPED_RAG_FILES_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportRagFilesResponse getDefaultInstance()
Returns
Type Description
ImportRagFilesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ImportRagFilesResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportRagFilesResponse getDefaultInstanceForType()
Returns
Type Description
ImportRagFilesResponse

getFailedRagFilesCount()

public long getFailedRagFilesCount()

The number of RagFiles that had failed while importing into the RagCorpus.

int64 failed_rag_files_count = 2;

Returns
Type Description
long

The failedRagFilesCount.

getImportedRagFilesCount()

public long getImportedRagFilesCount()

The number of RagFiles that had been imported into the RagCorpus.

int64 imported_rag_files_count = 1;

Returns
Type Description
long

The importedRagFilesCount.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSkippedRagFilesCount()

public long getSkippedRagFilesCount()

The number of RagFiles that was skipped while importing into the RagCorpus.

int64 skipped_rag_files_count = 3;

Returns
Type Description
long

The skippedRagFilesCount.

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 ImportRagFilesResponse.Builder newBuilderForType()
Returns
Type Description
ImportRagFilesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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