Class OperationMetadata.Builder (2.44.0)

public static final class OperationMetadata.Builder extends GeneratedMessageV3.Builder<OperationMetadata.Builder> implements OperationMetadataOrBuilder

Metadata used across all long running operations returned by AutoML API.

Protobuf type google.cloud.automl.v1beta1.OperationMetadata

Static Methods

getDescriptor()

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

Methods

addAllPartialFailures(Iterable<? extends Status> values)

public OperationMetadata.Builder addAllPartialFailures(Iterable<? extends Status> values)

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
values Iterable<? extends com.google.rpc.Status>
Returns
Type Description
OperationMetadata.Builder

addPartialFailures(Status value)

public OperationMetadata.Builder addPartialFailures(Status value)

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
OperationMetadata.Builder

addPartialFailures(Status.Builder builderForValue)

public OperationMetadata.Builder addPartialFailures(Status.Builder builderForValue)

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
OperationMetadata.Builder

addPartialFailures(int index, Status value)

public OperationMetadata.Builder addPartialFailures(int index, Status value)

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
OperationMetadata.Builder

addPartialFailures(int index, Status.Builder builderForValue)

public OperationMetadata.Builder addPartialFailures(int index, Status.Builder builderForValue)

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
OperationMetadata.Builder

addPartialFailuresBuilder()

public Status.Builder addPartialFailuresBuilder()

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
com.google.rpc.Status.Builder

addPartialFailuresBuilder(int index)

public Status.Builder addPartialFailuresBuilder(int index)

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OperationMetadata build()
Returns
Type Description
OperationMetadata

buildPartial()

public OperationMetadata buildPartial()
Returns
Type Description
OperationMetadata

clear()

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

clearBatchPredictDetails()

public OperationMetadata.Builder clearBatchPredictDetails()

Details of BatchPredict operation.

.google.cloud.automl.v1beta1.BatchPredictOperationMetadata batch_predict_details = 16;

Returns
Type Description
OperationMetadata.Builder

clearCreateModelDetails()

public OperationMetadata.Builder clearCreateModelDetails()

Details of CreateModel operation.

.google.cloud.automl.v1beta1.CreateModelOperationMetadata create_model_details = 10;

Returns
Type Description
OperationMetadata.Builder

clearCreateTime()

public OperationMetadata.Builder clearCreateTime()

Output only. Time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
OperationMetadata.Builder

clearDeleteDetails()

public OperationMetadata.Builder clearDeleteDetails()

Details of a Delete operation.

.google.cloud.automl.v1beta1.DeleteOperationMetadata delete_details = 8;

Returns
Type Description
OperationMetadata.Builder

clearDeployModelDetails()

public OperationMetadata.Builder clearDeployModelDetails()

Details of a DeployModel operation.

.google.cloud.automl.v1beta1.DeployModelOperationMetadata deploy_model_details = 24;

Returns
Type Description
OperationMetadata.Builder

clearDetails()

public OperationMetadata.Builder clearDetails()
Returns
Type Description
OperationMetadata.Builder

clearExportDataDetails()

public OperationMetadata.Builder clearExportDataDetails()

Details of ExportData operation.

.google.cloud.automl.v1beta1.ExportDataOperationMetadata export_data_details = 21;

Returns
Type Description
OperationMetadata.Builder

clearExportEvaluatedExamplesDetails()

public OperationMetadata.Builder clearExportEvaluatedExamplesDetails()

Details of ExportEvaluatedExamples operation.

.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOperationMetadata export_evaluated_examples_details = 26;

Returns
Type Description
OperationMetadata.Builder

clearExportModelDetails()

public OperationMetadata.Builder clearExportModelDetails()

Details of ExportModel operation.

.google.cloud.automl.v1beta1.ExportModelOperationMetadata export_model_details = 22;

Returns
Type Description
OperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearImportDataDetails()

public OperationMetadata.Builder clearImportDataDetails()

Details of ImportData operation.

.google.cloud.automl.v1beta1.ImportDataOperationMetadata import_data_details = 15;

Returns
Type Description
OperationMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPartialFailures()

public OperationMetadata.Builder clearPartialFailures()

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
OperationMetadata.Builder

clearProgressPercent()

public OperationMetadata.Builder clearProgressPercent()

Output only. Progress of operation. Range: [0, 100]. Not used currently.

int32 progress_percent = 13;

Returns
Type Description
OperationMetadata.Builder

This builder for chaining.

clearUndeployModelDetails()

public OperationMetadata.Builder clearUndeployModelDetails()

Details of an UndeployModel operation.

.google.cloud.automl.v1beta1.UndeployModelOperationMetadata undeploy_model_details = 25;

Returns
Type Description
OperationMetadata.Builder

clearUpdateTime()

public OperationMetadata.Builder clearUpdateTime()

Output only. Time when the operation was updated for the last time.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
OperationMetadata.Builder

clone()

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

getBatchPredictDetails()

public BatchPredictOperationMetadata getBatchPredictDetails()

Details of BatchPredict operation.

.google.cloud.automl.v1beta1.BatchPredictOperationMetadata batch_predict_details = 16;

Returns
Type Description
BatchPredictOperationMetadata

The batchPredictDetails.

getBatchPredictDetailsBuilder()

public BatchPredictOperationMetadata.Builder getBatchPredictDetailsBuilder()

Details of BatchPredict operation.

.google.cloud.automl.v1beta1.BatchPredictOperationMetadata batch_predict_details = 16;

Returns
Type Description
BatchPredictOperationMetadata.Builder

getBatchPredictDetailsOrBuilder()

public BatchPredictOperationMetadataOrBuilder getBatchPredictDetailsOrBuilder()

Details of BatchPredict operation.

.google.cloud.automl.v1beta1.BatchPredictOperationMetadata batch_predict_details = 16;

Returns
Type Description
BatchPredictOperationMetadataOrBuilder

getCreateModelDetails()

public CreateModelOperationMetadata getCreateModelDetails()

Details of CreateModel operation.

.google.cloud.automl.v1beta1.CreateModelOperationMetadata create_model_details = 10;

Returns
Type Description
CreateModelOperationMetadata

The createModelDetails.

getCreateModelDetailsBuilder()

public CreateModelOperationMetadata.Builder getCreateModelDetailsBuilder()

Details of CreateModel operation.

.google.cloud.automl.v1beta1.CreateModelOperationMetadata create_model_details = 10;

Returns
Type Description
CreateModelOperationMetadata.Builder

getCreateModelDetailsOrBuilder()

public CreateModelOperationMetadataOrBuilder getCreateModelDetailsOrBuilder()

Details of CreateModel operation.

.google.cloud.automl.v1beta1.CreateModelOperationMetadata create_model_details = 10;

Returns
Type Description
CreateModelOperationMetadataOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. Time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public OperationMetadata getDefaultInstanceForType()
Returns
Type Description
OperationMetadata

getDeleteDetails()

public DeleteOperationMetadata getDeleteDetails()

Details of a Delete operation.

.google.cloud.automl.v1beta1.DeleteOperationMetadata delete_details = 8;

Returns
Type Description
DeleteOperationMetadata

The deleteDetails.

getDeleteDetailsBuilder()

public DeleteOperationMetadata.Builder getDeleteDetailsBuilder()

Details of a Delete operation.

.google.cloud.automl.v1beta1.DeleteOperationMetadata delete_details = 8;

Returns
Type Description
DeleteOperationMetadata.Builder

getDeleteDetailsOrBuilder()

public DeleteOperationMetadataOrBuilder getDeleteDetailsOrBuilder()

Details of a Delete operation.

.google.cloud.automl.v1beta1.DeleteOperationMetadata delete_details = 8;

Returns
Type Description
DeleteOperationMetadataOrBuilder

getDeployModelDetails()

public DeployModelOperationMetadata getDeployModelDetails()

Details of a DeployModel operation.

.google.cloud.automl.v1beta1.DeployModelOperationMetadata deploy_model_details = 24;

Returns
Type Description
DeployModelOperationMetadata

The deployModelDetails.

getDeployModelDetailsBuilder()

public DeployModelOperationMetadata.Builder getDeployModelDetailsBuilder()

Details of a DeployModel operation.

.google.cloud.automl.v1beta1.DeployModelOperationMetadata deploy_model_details = 24;

Returns
Type Description
DeployModelOperationMetadata.Builder

getDeployModelDetailsOrBuilder()

public DeployModelOperationMetadataOrBuilder getDeployModelDetailsOrBuilder()

Details of a DeployModel operation.

.google.cloud.automl.v1beta1.DeployModelOperationMetadata deploy_model_details = 24;

Returns
Type Description
DeployModelOperationMetadataOrBuilder

getDescriptorForType()

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

getDetailsCase()

public OperationMetadata.DetailsCase getDetailsCase()
Returns
Type Description
OperationMetadata.DetailsCase

getExportDataDetails()

public ExportDataOperationMetadata getExportDataDetails()

Details of ExportData operation.

.google.cloud.automl.v1beta1.ExportDataOperationMetadata export_data_details = 21;

Returns
Type Description
ExportDataOperationMetadata

The exportDataDetails.

getExportDataDetailsBuilder()

public ExportDataOperationMetadata.Builder getExportDataDetailsBuilder()

Details of ExportData operation.

.google.cloud.automl.v1beta1.ExportDataOperationMetadata export_data_details = 21;

Returns
Type Description
ExportDataOperationMetadata.Builder

getExportDataDetailsOrBuilder()

public ExportDataOperationMetadataOrBuilder getExportDataDetailsOrBuilder()

Details of ExportData operation.

.google.cloud.automl.v1beta1.ExportDataOperationMetadata export_data_details = 21;

Returns
Type Description
ExportDataOperationMetadataOrBuilder

getExportEvaluatedExamplesDetails()

public ExportEvaluatedExamplesOperationMetadata getExportEvaluatedExamplesDetails()

Details of ExportEvaluatedExamples operation.

.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOperationMetadata export_evaluated_examples_details = 26;

Returns
Type Description
ExportEvaluatedExamplesOperationMetadata

The exportEvaluatedExamplesDetails.

getExportEvaluatedExamplesDetailsBuilder()

public ExportEvaluatedExamplesOperationMetadata.Builder getExportEvaluatedExamplesDetailsBuilder()

Details of ExportEvaluatedExamples operation.

.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOperationMetadata export_evaluated_examples_details = 26;

Returns
Type Description
ExportEvaluatedExamplesOperationMetadata.Builder

getExportEvaluatedExamplesDetailsOrBuilder()

public ExportEvaluatedExamplesOperationMetadataOrBuilder getExportEvaluatedExamplesDetailsOrBuilder()

Details of ExportEvaluatedExamples operation.

.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOperationMetadata export_evaluated_examples_details = 26;

Returns
Type Description
ExportEvaluatedExamplesOperationMetadataOrBuilder

getExportModelDetails()

public ExportModelOperationMetadata getExportModelDetails()

Details of ExportModel operation.

.google.cloud.automl.v1beta1.ExportModelOperationMetadata export_model_details = 22;

Returns
Type Description
ExportModelOperationMetadata

The exportModelDetails.

getExportModelDetailsBuilder()

public ExportModelOperationMetadata.Builder getExportModelDetailsBuilder()

Details of ExportModel operation.

.google.cloud.automl.v1beta1.ExportModelOperationMetadata export_model_details = 22;

Returns
Type Description
ExportModelOperationMetadata.Builder

getExportModelDetailsOrBuilder()

public ExportModelOperationMetadataOrBuilder getExportModelDetailsOrBuilder()

Details of ExportModel operation.

.google.cloud.automl.v1beta1.ExportModelOperationMetadata export_model_details = 22;

Returns
Type Description
ExportModelOperationMetadataOrBuilder

getImportDataDetails()

public ImportDataOperationMetadata getImportDataDetails()

Details of ImportData operation.

.google.cloud.automl.v1beta1.ImportDataOperationMetadata import_data_details = 15;

Returns
Type Description
ImportDataOperationMetadata

The importDataDetails.

getImportDataDetailsBuilder()

public ImportDataOperationMetadata.Builder getImportDataDetailsBuilder()

Details of ImportData operation.

.google.cloud.automl.v1beta1.ImportDataOperationMetadata import_data_details = 15;

Returns
Type Description
ImportDataOperationMetadata.Builder

getImportDataDetailsOrBuilder()

public ImportDataOperationMetadataOrBuilder getImportDataDetailsOrBuilder()

Details of ImportData operation.

.google.cloud.automl.v1beta1.ImportDataOperationMetadata import_data_details = 15;

Returns
Type Description
ImportDataOperationMetadataOrBuilder

getPartialFailures(int index)

public Status getPartialFailures(int index)

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status

getPartialFailuresBuilder(int index)

public Status.Builder getPartialFailuresBuilder(int index)

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status.Builder

getPartialFailuresBuilderList()

public List<Status.Builder> getPartialFailuresBuilderList()

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
List<com.google.rpc.Status.Builder>

getPartialFailuresCount()

public int getPartialFailuresCount()

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
int

getPartialFailuresList()

public List<Status> getPartialFailuresList()

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
List<com.google.rpc.Status>

getPartialFailuresOrBuilder(int index)

public StatusOrBuilder getPartialFailuresOrBuilder(int index)

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.StatusOrBuilder

getPartialFailuresOrBuilderList()

public List<? extends StatusOrBuilder> getPartialFailuresOrBuilderList()

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

getProgressPercent()

public int getProgressPercent()

Output only. Progress of operation. Range: [0, 100]. Not used currently.

int32 progress_percent = 13;

Returns
Type Description
int

The progressPercent.

getUndeployModelDetails()

public UndeployModelOperationMetadata getUndeployModelDetails()

Details of an UndeployModel operation.

.google.cloud.automl.v1beta1.UndeployModelOperationMetadata undeploy_model_details = 25;

Returns
Type Description
UndeployModelOperationMetadata

The undeployModelDetails.

getUndeployModelDetailsBuilder()

public UndeployModelOperationMetadata.Builder getUndeployModelDetailsBuilder()

Details of an UndeployModel operation.

.google.cloud.automl.v1beta1.UndeployModelOperationMetadata undeploy_model_details = 25;

Returns
Type Description
UndeployModelOperationMetadata.Builder

getUndeployModelDetailsOrBuilder()

public UndeployModelOperationMetadataOrBuilder getUndeployModelDetailsOrBuilder()

Details of an UndeployModel operation.

.google.cloud.automl.v1beta1.UndeployModelOperationMetadata undeploy_model_details = 25;

Returns
Type Description
UndeployModelOperationMetadataOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Time when the operation was updated for the last time.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Time when the operation was updated for the last time.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time when the operation was updated for the last time.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
TimestampOrBuilder

hasBatchPredictDetails()

public boolean hasBatchPredictDetails()

Details of BatchPredict operation.

.google.cloud.automl.v1beta1.BatchPredictOperationMetadata batch_predict_details = 16;

Returns
Type Description
boolean

Whether the batchPredictDetails field is set.

hasCreateModelDetails()

public boolean hasCreateModelDetails()

Details of CreateModel operation.

.google.cloud.automl.v1beta1.CreateModelOperationMetadata create_model_details = 10;

Returns
Type Description
boolean

Whether the createModelDetails field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. Time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
boolean

Whether the createTime field is set.

hasDeleteDetails()

public boolean hasDeleteDetails()

Details of a Delete operation.

.google.cloud.automl.v1beta1.DeleteOperationMetadata delete_details = 8;

Returns
Type Description
boolean

Whether the deleteDetails field is set.

hasDeployModelDetails()

public boolean hasDeployModelDetails()

Details of a DeployModel operation.

.google.cloud.automl.v1beta1.DeployModelOperationMetadata deploy_model_details = 24;

Returns
Type Description
boolean

Whether the deployModelDetails field is set.

hasExportDataDetails()

public boolean hasExportDataDetails()

Details of ExportData operation.

.google.cloud.automl.v1beta1.ExportDataOperationMetadata export_data_details = 21;

Returns
Type Description
boolean

Whether the exportDataDetails field is set.

hasExportEvaluatedExamplesDetails()

public boolean hasExportEvaluatedExamplesDetails()

Details of ExportEvaluatedExamples operation.

.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOperationMetadata export_evaluated_examples_details = 26;

Returns
Type Description
boolean

Whether the exportEvaluatedExamplesDetails field is set.

hasExportModelDetails()

public boolean hasExportModelDetails()

Details of ExportModel operation.

.google.cloud.automl.v1beta1.ExportModelOperationMetadata export_model_details = 22;

Returns
Type Description
boolean

Whether the exportModelDetails field is set.

hasImportDataDetails()

public boolean hasImportDataDetails()

Details of ImportData operation.

.google.cloud.automl.v1beta1.ImportDataOperationMetadata import_data_details = 15;

Returns
Type Description
boolean

Whether the importDataDetails field is set.

hasUndeployModelDetails()

public boolean hasUndeployModelDetails()

Details of an UndeployModel operation.

.google.cloud.automl.v1beta1.UndeployModelOperationMetadata undeploy_model_details = 25;

Returns
Type Description
boolean

Whether the undeployModelDetails field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Time when the operation was updated for the last time.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBatchPredictDetails(BatchPredictOperationMetadata value)

public OperationMetadata.Builder mergeBatchPredictDetails(BatchPredictOperationMetadata value)

Details of BatchPredict operation.

.google.cloud.automl.v1beta1.BatchPredictOperationMetadata batch_predict_details = 16;

Parameter
Name Description
value BatchPredictOperationMetadata
Returns
Type Description
OperationMetadata.Builder

mergeCreateModelDetails(CreateModelOperationMetadata value)

public OperationMetadata.Builder mergeCreateModelDetails(CreateModelOperationMetadata value)

Details of CreateModel operation.

.google.cloud.automl.v1beta1.CreateModelOperationMetadata create_model_details = 10;

Parameter
Name Description
value CreateModelOperationMetadata
Returns
Type Description
OperationMetadata.Builder

mergeCreateTime(Timestamp value)

public OperationMetadata.Builder mergeCreateTime(Timestamp value)

Output only. Time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
OperationMetadata.Builder

mergeDeleteDetails(DeleteOperationMetadata value)

public OperationMetadata.Builder mergeDeleteDetails(DeleteOperationMetadata value)

Details of a Delete operation.

.google.cloud.automl.v1beta1.DeleteOperationMetadata delete_details = 8;

Parameter
Name Description
value DeleteOperationMetadata
Returns
Type Description
OperationMetadata.Builder

mergeDeployModelDetails(DeployModelOperationMetadata value)

public OperationMetadata.Builder mergeDeployModelDetails(DeployModelOperationMetadata value)

Details of a DeployModel operation.

.google.cloud.automl.v1beta1.DeployModelOperationMetadata deploy_model_details = 24;

Parameter
Name Description
value DeployModelOperationMetadata
Returns
Type Description
OperationMetadata.Builder

mergeExportDataDetails(ExportDataOperationMetadata value)

public OperationMetadata.Builder mergeExportDataDetails(ExportDataOperationMetadata value)

Details of ExportData operation.

.google.cloud.automl.v1beta1.ExportDataOperationMetadata export_data_details = 21;

Parameter
Name Description
value ExportDataOperationMetadata
Returns
Type Description
OperationMetadata.Builder

mergeExportEvaluatedExamplesDetails(ExportEvaluatedExamplesOperationMetadata value)

public OperationMetadata.Builder mergeExportEvaluatedExamplesDetails(ExportEvaluatedExamplesOperationMetadata value)

Details of ExportEvaluatedExamples operation.

.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOperationMetadata export_evaluated_examples_details = 26;

Parameter
Name Description
value ExportEvaluatedExamplesOperationMetadata
Returns
Type Description
OperationMetadata.Builder

mergeExportModelDetails(ExportModelOperationMetadata value)

public OperationMetadata.Builder mergeExportModelDetails(ExportModelOperationMetadata value)

Details of ExportModel operation.

.google.cloud.automl.v1beta1.ExportModelOperationMetadata export_model_details = 22;

Parameter
Name Description
value ExportModelOperationMetadata
Returns
Type Description
OperationMetadata.Builder

mergeFrom(OperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeImportDataDetails(ImportDataOperationMetadata value)

public OperationMetadata.Builder mergeImportDataDetails(ImportDataOperationMetadata value)

Details of ImportData operation.

.google.cloud.automl.v1beta1.ImportDataOperationMetadata import_data_details = 15;

Parameter
Name Description
value ImportDataOperationMetadata
Returns
Type Description
OperationMetadata.Builder

mergeUndeployModelDetails(UndeployModelOperationMetadata value)

public OperationMetadata.Builder mergeUndeployModelDetails(UndeployModelOperationMetadata value)

Details of an UndeployModel operation.

.google.cloud.automl.v1beta1.UndeployModelOperationMetadata undeploy_model_details = 25;

Parameter
Name Description
value UndeployModelOperationMetadata
Returns
Type Description
OperationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public OperationMetadata.Builder mergeUpdateTime(Timestamp value)

Output only. Time when the operation was updated for the last time.

.google.protobuf.Timestamp update_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
OperationMetadata.Builder

removePartialFailures(int index)

public OperationMetadata.Builder removePartialFailures(int index)

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
index int
Returns
Type Description
OperationMetadata.Builder

setBatchPredictDetails(BatchPredictOperationMetadata value)

public OperationMetadata.Builder setBatchPredictDetails(BatchPredictOperationMetadata value)

Details of BatchPredict operation.

.google.cloud.automl.v1beta1.BatchPredictOperationMetadata batch_predict_details = 16;

Parameter
Name Description
value BatchPredictOperationMetadata
Returns
Type Description
OperationMetadata.Builder

setBatchPredictDetails(BatchPredictOperationMetadata.Builder builderForValue)

public OperationMetadata.Builder setBatchPredictDetails(BatchPredictOperationMetadata.Builder builderForValue)

Details of BatchPredict operation.

.google.cloud.automl.v1beta1.BatchPredictOperationMetadata batch_predict_details = 16;

Parameter
Name Description
builderForValue BatchPredictOperationMetadata.Builder
Returns
Type Description
OperationMetadata.Builder

setCreateModelDetails(CreateModelOperationMetadata value)

public OperationMetadata.Builder setCreateModelDetails(CreateModelOperationMetadata value)

Details of CreateModel operation.

.google.cloud.automl.v1beta1.CreateModelOperationMetadata create_model_details = 10;

Parameter
Name Description
value CreateModelOperationMetadata
Returns
Type Description
OperationMetadata.Builder

setCreateModelDetails(CreateModelOperationMetadata.Builder builderForValue)

public OperationMetadata.Builder setCreateModelDetails(CreateModelOperationMetadata.Builder builderForValue)

Details of CreateModel operation.

.google.cloud.automl.v1beta1.CreateModelOperationMetadata create_model_details = 10;

Parameter
Name Description
builderForValue CreateModelOperationMetadata.Builder
Returns
Type Description
OperationMetadata.Builder

setCreateTime(Timestamp value)

public OperationMetadata.Builder setCreateTime(Timestamp value)

Output only. Time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
OperationMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public OperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
OperationMetadata.Builder

setDeleteDetails(DeleteOperationMetadata value)

public OperationMetadata.Builder setDeleteDetails(DeleteOperationMetadata value)

Details of a Delete operation.

.google.cloud.automl.v1beta1.DeleteOperationMetadata delete_details = 8;

Parameter
Name Description
value DeleteOperationMetadata
Returns
Type Description
OperationMetadata.Builder

setDeleteDetails(DeleteOperationMetadata.Builder builderForValue)

public OperationMetadata.Builder setDeleteDetails(DeleteOperationMetadata.Builder builderForValue)

Details of a Delete operation.

.google.cloud.automl.v1beta1.DeleteOperationMetadata delete_details = 8;

Parameter
Name Description
builderForValue DeleteOperationMetadata.Builder
Returns
Type Description
OperationMetadata.Builder

setDeployModelDetails(DeployModelOperationMetadata value)

public OperationMetadata.Builder setDeployModelDetails(DeployModelOperationMetadata value)

Details of a DeployModel operation.

.google.cloud.automl.v1beta1.DeployModelOperationMetadata deploy_model_details = 24;

Parameter
Name Description
value DeployModelOperationMetadata
Returns
Type Description
OperationMetadata.Builder

setDeployModelDetails(DeployModelOperationMetadata.Builder builderForValue)

public OperationMetadata.Builder setDeployModelDetails(DeployModelOperationMetadata.Builder builderForValue)

Details of a DeployModel operation.

.google.cloud.automl.v1beta1.DeployModelOperationMetadata deploy_model_details = 24;

Parameter
Name Description
builderForValue DeployModelOperationMetadata.Builder
Returns
Type Description
OperationMetadata.Builder

setExportDataDetails(ExportDataOperationMetadata value)

public OperationMetadata.Builder setExportDataDetails(ExportDataOperationMetadata value)

Details of ExportData operation.

.google.cloud.automl.v1beta1.ExportDataOperationMetadata export_data_details = 21;

Parameter
Name Description
value ExportDataOperationMetadata
Returns
Type Description
OperationMetadata.Builder

setExportDataDetails(ExportDataOperationMetadata.Builder builderForValue)

public OperationMetadata.Builder setExportDataDetails(ExportDataOperationMetadata.Builder builderForValue)

Details of ExportData operation.

.google.cloud.automl.v1beta1.ExportDataOperationMetadata export_data_details = 21;

Parameter
Name Description
builderForValue ExportDataOperationMetadata.Builder
Returns
Type Description
OperationMetadata.Builder

setExportEvaluatedExamplesDetails(ExportEvaluatedExamplesOperationMetadata value)

public OperationMetadata.Builder setExportEvaluatedExamplesDetails(ExportEvaluatedExamplesOperationMetadata value)

Details of ExportEvaluatedExamples operation.

.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOperationMetadata export_evaluated_examples_details = 26;

Parameter
Name Description
value ExportEvaluatedExamplesOperationMetadata
Returns
Type Description
OperationMetadata.Builder

setExportEvaluatedExamplesDetails(ExportEvaluatedExamplesOperationMetadata.Builder builderForValue)

public OperationMetadata.Builder setExportEvaluatedExamplesDetails(ExportEvaluatedExamplesOperationMetadata.Builder builderForValue)

Details of ExportEvaluatedExamples operation.

.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOperationMetadata export_evaluated_examples_details = 26;

Parameter
Name Description
builderForValue ExportEvaluatedExamplesOperationMetadata.Builder
Returns
Type Description
OperationMetadata.Builder

setExportModelDetails(ExportModelOperationMetadata value)

public OperationMetadata.Builder setExportModelDetails(ExportModelOperationMetadata value)

Details of ExportModel operation.

.google.cloud.automl.v1beta1.ExportModelOperationMetadata export_model_details = 22;

Parameter
Name Description
value ExportModelOperationMetadata
Returns
Type Description
OperationMetadata.Builder

setExportModelDetails(ExportModelOperationMetadata.Builder builderForValue)

public OperationMetadata.Builder setExportModelDetails(ExportModelOperationMetadata.Builder builderForValue)

Details of ExportModel operation.

.google.cloud.automl.v1beta1.ExportModelOperationMetadata export_model_details = 22;

Parameter
Name Description
builderForValue ExportModelOperationMetadata.Builder
Returns
Type Description
OperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setImportDataDetails(ImportDataOperationMetadata value)

public OperationMetadata.Builder setImportDataDetails(ImportDataOperationMetadata value)

Details of ImportData operation.

.google.cloud.automl.v1beta1.ImportDataOperationMetadata import_data_details = 15;

Parameter
Name Description
value ImportDataOperationMetadata
Returns
Type Description
OperationMetadata.Builder

setImportDataDetails(ImportDataOperationMetadata.Builder builderForValue)

public OperationMetadata.Builder setImportDataDetails(ImportDataOperationMetadata.Builder builderForValue)

Details of ImportData operation.

.google.cloud.automl.v1beta1.ImportDataOperationMetadata import_data_details = 15;

Parameter
Name Description
builderForValue ImportDataOperationMetadata.Builder
Returns
Type Description
OperationMetadata.Builder

setPartialFailures(int index, Status value)

public OperationMetadata.Builder setPartialFailures(int index, Status value)

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
OperationMetadata.Builder

setPartialFailures(int index, Status.Builder builderForValue)

public OperationMetadata.Builder setPartialFailures(int index, Status.Builder builderForValue)

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard GCP error details.

repeated .google.rpc.Status partial_failures = 2;

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
OperationMetadata.Builder

setProgressPercent(int value)

public OperationMetadata.Builder setProgressPercent(int value)

Output only. Progress of operation. Range: [0, 100]. Not used currently.

int32 progress_percent = 13;

Parameter
Name Description
value int

The progressPercent to set.

Returns
Type Description
OperationMetadata.Builder

This builder for chaining.

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

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

setUndeployModelDetails(UndeployModelOperationMetadata value)

public OperationMetadata.Builder setUndeployModelDetails(UndeployModelOperationMetadata value)

Details of an UndeployModel operation.

.google.cloud.automl.v1beta1.UndeployModelOperationMetadata undeploy_model_details = 25;

Parameter
Name Description
value UndeployModelOperationMetadata
Returns
Type Description
OperationMetadata.Builder

setUndeployModelDetails(UndeployModelOperationMetadata.Builder builderForValue)

public OperationMetadata.Builder setUndeployModelDetails(UndeployModelOperationMetadata.Builder builderForValue)

Details of an UndeployModel operation.

.google.cloud.automl.v1beta1.UndeployModelOperationMetadata undeploy_model_details = 25;

Parameter
Name Description
builderForValue UndeployModelOperationMetadata.Builder
Returns
Type Description
OperationMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public OperationMetadata.Builder setUpdateTime(Timestamp value)

Output only. Time when the operation was updated for the last time.

.google.protobuf.Timestamp update_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
OperationMetadata.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public OperationMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Time when the operation was updated for the last time.

.google.protobuf.Timestamp update_time = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
OperationMetadata.Builder