Class ImportRagFilesOperationMetadata (3.56.0)

public final class ImportRagFilesOperationMetadata extends GeneratedMessageV3 implements ImportRagFilesOperationMetadataOrBuilder

Runtime operation information for VertexRagDataService.ImportRagFiles.

Protobuf type google.cloud.aiplatform.v1beta1.ImportRagFilesOperationMetadata

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ImportRagFilesOperationMetadata

Static Fields

GENERIC_METADATA_FIELD_NUMBER

public static final int GENERIC_METADATA_FIELD_NUMBER
Field Value
Type Description
int

IMPORT_RAG_FILES_CONFIG_FIELD_NUMBER

public static final int IMPORT_RAG_FILES_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

PROGRESS_PERCENTAGE_FIELD_NUMBER

public static final int PROGRESS_PERCENTAGE_FIELD_NUMBER
Field Value
Type Description
int

RAG_CORPUS_ID_FIELD_NUMBER

public static final int RAG_CORPUS_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportRagFilesOperationMetadata getDefaultInstance()
Returns
Type Description
ImportRagFilesOperationMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(ImportRagFilesOperationMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportRagFilesOperationMetadata getDefaultInstanceForType()
Returns
Type Description
ImportRagFilesOperationMetadata

getGenericMetadata()

public GenericOperationMetadata getGenericMetadata()

The operation generic information.

.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;

Returns
Type Description
GenericOperationMetadata

The genericMetadata.

getGenericMetadataOrBuilder()

public GenericOperationMetadataOrBuilder getGenericMetadataOrBuilder()

The operation generic information.

.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;

Returns
Type Description
GenericOperationMetadataOrBuilder

getImportRagFilesConfig()

public ImportRagFilesConfig getImportRagFilesConfig()

Output only. The config that was passed in the ImportRagFilesRequest.

.google.cloud.aiplatform.v1beta1.ImportRagFilesConfig import_rag_files_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ImportRagFilesConfig

The importRagFilesConfig.

getImportRagFilesConfigOrBuilder()

public ImportRagFilesConfigOrBuilder getImportRagFilesConfigOrBuilder()

Output only. The config that was passed in the ImportRagFilesRequest.

.google.cloud.aiplatform.v1beta1.ImportRagFilesConfig import_rag_files_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ImportRagFilesConfigOrBuilder

getParserForType()

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

getProgressPercentage()

public int getProgressPercentage()

The progress percentage of the operation. Value is in the range [0, 100]. This percentage is calculated as follows: progress_percentage = 100 * (successes + failures + skips) / total

int32 progress_percentage = 4;

Returns
Type Description
int

The progressPercentage.

getRagCorpusId()

public long getRagCorpusId()

The resource ID of RagCorpus that this operation is executed on.

int64 rag_corpus_id = 2;

Returns
Type Description
long

The ragCorpusId.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasGenericMetadata()

public boolean hasGenericMetadata()

The operation generic information.

.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;

Returns
Type Description
boolean

Whether the genericMetadata field is set.

hasImportRagFilesConfig()

public boolean hasImportRagFilesConfig()

Output only. The config that was passed in the ImportRagFilesRequest.

.google.cloud.aiplatform.v1beta1.ImportRagFilesConfig import_rag_files_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the importRagFilesConfig 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 ImportRagFilesOperationMetadata.Builder newBuilderForType()
Returns
Type Description
ImportRagFilesOperationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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