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
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 ImportRagFilesOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImportRagFilesOperationMetadata build()
public ImportRagFilesOperationMetadata buildPartial()
public ImportRagFilesOperationMetadata.Builder clear()
Overrides
public ImportRagFilesOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ImportRagFilesOperationMetadata.Builder clearGenericMetadata()
The operation generic information.
.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
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];
public ImportRagFilesOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
public ImportRagFilesOperationMetadata.Builder clearRagCorpusId()
The resource ID of RagCorpus that this operation is executed on.
int64 rag_corpus_id = 2;
public ImportRagFilesOperationMetadata.Builder clone()
Overrides
public ImportRagFilesOperationMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public GenericOperationMetadata getGenericMetadata()
The operation generic information.
.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
public GenericOperationMetadata.Builder getGenericMetadataBuilder()
The operation generic information.
.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
public GenericOperationMetadataOrBuilder getGenericMetadataOrBuilder()
The operation generic information.
.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
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];
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];
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];
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.
|
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ImportRagFilesOperationMetadata.Builder mergeFrom(ImportRagFilesOperationMetadata other)
public ImportRagFilesOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ImportRagFilesOperationMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ImportRagFilesOperationMetadata.Builder mergeGenericMetadata(GenericOperationMetadata value)
The operation generic information.
.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
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];
public final ImportRagFilesOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ImportRagFilesOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImportRagFilesOperationMetadata.Builder setGenericMetadata(GenericOperationMetadata value)
The operation generic information.
.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
public ImportRagFilesOperationMetadata.Builder setGenericMetadata(GenericOperationMetadata.Builder builderForValue)
The operation generic information.
.google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
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];
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];
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.
|
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.
|
public ImportRagFilesOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ImportRagFilesOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides