Class ImportRagFilesOperationMetadata.Builder (3.48.0)

public static final class ImportRagFilesOperationMetadata.Builder extends GeneratedMessageV3.Builder<ImportRagFilesOperationMetadata.Builder> implements ImportRagFilesOperationMetadataOrBuilder

Runtime operation information for VertexRagDataService.ImportRagFiles.

Protobuf type google.cloud.aiplatform.v1beta1.ImportRagFilesOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportRagFilesOperationMetadata build()
Returns
Type Description
ImportRagFilesOperationMetadata

buildPartial()

public ImportRagFilesOperationMetadata buildPartial()
Returns
Type Description
ImportRagFilesOperationMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGenericMetadata()

public ImportRagFilesOperationMetadata.Builder clearGenericMetadata()

The operation generic information.

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

Returns
Type Description
ImportRagFilesOperationMetadata.Builder

clearImportRagFilesConfig()

public ImportRagFilesOperationMetadata.Builder clearImportRagFilesConfig()

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
ImportRagFilesOperationMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProgressPercentage()

public ImportRagFilesOperationMetadata.Builder clearProgressPercentage()

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
ImportRagFilesOperationMetadata.Builder

This builder for chaining.

clearRagCorpusId()

public ImportRagFilesOperationMetadata.Builder clearRagCorpusId()

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

int64 rag_corpus_id = 2;

Returns
Type Description
ImportRagFilesOperationMetadata.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ImportRagFilesOperationMetadata getDefaultInstanceForType()
Returns
Type Description
ImportRagFilesOperationMetadata

getDescriptorForType()

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

getGenericMetadata()

public GenericOperationMetadata getGenericMetadata()

The operation generic information.

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

Returns
Type Description
GenericOperationMetadata

The genericMetadata.

getGenericMetadataBuilder()

public GenericOperationMetadata.Builder getGenericMetadataBuilder()

The operation generic information.

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

Returns
Type Description
GenericOperationMetadata.Builder

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.

getImportRagFilesConfigBuilder()

public ImportRagFilesConfig.Builder getImportRagFilesConfigBuilder()

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.Builder

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

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportRagFilesOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGenericMetadata(GenericOperationMetadata value)

public ImportRagFilesOperationMetadata.Builder mergeGenericMetadata(GenericOperationMetadata value)

The operation generic information.

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

Parameter
Name Description
value GenericOperationMetadata
Returns
Type Description
ImportRagFilesOperationMetadata.Builder

mergeImportRagFilesConfig(ImportRagFilesConfig value)

public ImportRagFilesOperationMetadata.Builder mergeImportRagFilesConfig(ImportRagFilesConfig value)

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];

Parameter
Name Description
value ImportRagFilesConfig
Returns
Type Description
ImportRagFilesOperationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGenericMetadata(GenericOperationMetadata value)

public ImportRagFilesOperationMetadata.Builder setGenericMetadata(GenericOperationMetadata value)

The operation generic information.

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

Parameter
Name Description
value GenericOperationMetadata
Returns
Type Description
ImportRagFilesOperationMetadata.Builder

setGenericMetadata(GenericOperationMetadata.Builder builderForValue)

public ImportRagFilesOperationMetadata.Builder setGenericMetadata(GenericOperationMetadata.Builder builderForValue)

The operation generic information.

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

Parameter
Name Description
builderForValue GenericOperationMetadata.Builder
Returns
Type Description
ImportRagFilesOperationMetadata.Builder

setImportRagFilesConfig(ImportRagFilesConfig value)

public ImportRagFilesOperationMetadata.Builder setImportRagFilesConfig(ImportRagFilesConfig value)

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];

Parameter
Name Description
value ImportRagFilesConfig
Returns
Type Description
ImportRagFilesOperationMetadata.Builder

setImportRagFilesConfig(ImportRagFilesConfig.Builder builderForValue)

public ImportRagFilesOperationMetadata.Builder setImportRagFilesConfig(ImportRagFilesConfig.Builder builderForValue)

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];

Parameter
Name Description
builderForValue ImportRagFilesConfig.Builder
Returns
Type Description
ImportRagFilesOperationMetadata.Builder

setProgressPercentage(int value)

public ImportRagFilesOperationMetadata.Builder setProgressPercentage(int value)

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;

Parameter
Name Description
value int

The progressPercentage to set.

Returns
Type Description
ImportRagFilesOperationMetadata.Builder

This builder for chaining.

setRagCorpusId(long value)

public ImportRagFilesOperationMetadata.Builder setRagCorpusId(long value)

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

int64 rag_corpus_id = 2;

Parameter
Name Description
value long

The ragCorpusId to set.

Returns
Type Description
ImportRagFilesOperationMetadata.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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