Class OperationMetadata.Builder (2.8.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.v1.OperationMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.rpc.Status>
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OperationMetadata.Builder
Overrides

build()

public OperationMetadata build()
Returns
TypeDescription
OperationMetadata

buildPartial()

public OperationMetadata buildPartial()
Returns
TypeDescription
OperationMetadata

clear()

public OperationMetadata.Builder clear()
Returns
TypeDescription
OperationMetadata.Builder
Overrides

clearBatchPredictDetails()

public OperationMetadata.Builder clearBatchPredictDetails()

Details of BatchPredict operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearCreateDatasetDetails()

public OperationMetadata.Builder clearCreateDatasetDetails()

Details of CreateDataset operation.

.google.cloud.automl.v1.CreateDatasetOperationMetadata create_dataset_details = 30;

Returns
TypeDescription
OperationMetadata.Builder

clearCreateModelDetails()

public OperationMetadata.Builder clearCreateModelDetails()

Details of CreateModel operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearCreateTime()

public OperationMetadata.Builder clearCreateTime()

Output only. Time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
OperationMetadata.Builder

clearDeleteDetails()

public OperationMetadata.Builder clearDeleteDetails()

Details of a Delete operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearDeployModelDetails()

public OperationMetadata.Builder clearDeployModelDetails()

Details of a DeployModel operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearDetails()

public OperationMetadata.Builder clearDetails()
Returns
TypeDescription
OperationMetadata.Builder

clearExportDataDetails()

public OperationMetadata.Builder clearExportDataDetails()

Details of ExportData operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearExportModelDetails()

public OperationMetadata.Builder clearExportModelDetails()

Details of ExportModel operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public OperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
OperationMetadata.Builder
Overrides

clearImportDataDetails()

public OperationMetadata.Builder clearImportDataDetails()

Details of ImportData operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public OperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
OperationMetadata.Builder

clearProgressPercent()

public OperationMetadata.Builder clearProgressPercent()

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

int32 progress_percent = 13;

Returns
TypeDescription
OperationMetadata.Builder

This builder for chaining.

clearUndeployModelDetails()

public OperationMetadata.Builder clearUndeployModelDetails()

Details of an UndeployModel operation.

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

Returns
TypeDescription
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
TypeDescription
OperationMetadata.Builder

clone()

public OperationMetadata.Builder clone()
Returns
TypeDescription
OperationMetadata.Builder
Overrides

getBatchPredictDetails()

public BatchPredictOperationMetadata getBatchPredictDetails()

Details of BatchPredict operation.

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

Returns
TypeDescription
BatchPredictOperationMetadata

The batchPredictDetails.

getBatchPredictDetailsBuilder()

public BatchPredictOperationMetadata.Builder getBatchPredictDetailsBuilder()

Details of BatchPredict operation.

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

Returns
TypeDescription
BatchPredictOperationMetadata.Builder

getBatchPredictDetailsOrBuilder()

public BatchPredictOperationMetadataOrBuilder getBatchPredictDetailsOrBuilder()

Details of BatchPredict operation.

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

Returns
TypeDescription
BatchPredictOperationMetadataOrBuilder

getCreateDatasetDetails()

public CreateDatasetOperationMetadata getCreateDatasetDetails()

Details of CreateDataset operation.

.google.cloud.automl.v1.CreateDatasetOperationMetadata create_dataset_details = 30;

Returns
TypeDescription
CreateDatasetOperationMetadata

The createDatasetDetails.

getCreateDatasetDetailsBuilder()

public CreateDatasetOperationMetadata.Builder getCreateDatasetDetailsBuilder()

Details of CreateDataset operation.

.google.cloud.automl.v1.CreateDatasetOperationMetadata create_dataset_details = 30;

Returns
TypeDescription
CreateDatasetOperationMetadata.Builder

getCreateDatasetDetailsOrBuilder()

public CreateDatasetOperationMetadataOrBuilder getCreateDatasetDetailsOrBuilder()

Details of CreateDataset operation.

.google.cloud.automl.v1.CreateDatasetOperationMetadata create_dataset_details = 30;

Returns
TypeDescription
CreateDatasetOperationMetadataOrBuilder

getCreateModelDetails()

public CreateModelOperationMetadata getCreateModelDetails()

Details of CreateModel operation.

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

Returns
TypeDescription
CreateModelOperationMetadata

The createModelDetails.

getCreateModelDetailsBuilder()

public CreateModelOperationMetadata.Builder getCreateModelDetailsBuilder()

Details of CreateModel operation.

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

Returns
TypeDescription
CreateModelOperationMetadata.Builder

getCreateModelDetailsOrBuilder()

public CreateModelOperationMetadataOrBuilder getCreateModelDetailsOrBuilder()

Details of CreateModel operation.

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

Returns
TypeDescription
CreateModelOperationMetadataOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. Time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public OperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
OperationMetadata

getDeleteDetails()

public DeleteOperationMetadata getDeleteDetails()

Details of a Delete operation.

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

Returns
TypeDescription
DeleteOperationMetadata

The deleteDetails.

getDeleteDetailsBuilder()

public DeleteOperationMetadata.Builder getDeleteDetailsBuilder()

Details of a Delete operation.

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

Returns
TypeDescription
DeleteOperationMetadata.Builder

getDeleteDetailsOrBuilder()

public DeleteOperationMetadataOrBuilder getDeleteDetailsOrBuilder()

Details of a Delete operation.

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

Returns
TypeDescription
DeleteOperationMetadataOrBuilder

getDeployModelDetails()

public DeployModelOperationMetadata getDeployModelDetails()

Details of a DeployModel operation.

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

Returns
TypeDescription
DeployModelOperationMetadata

The deployModelDetails.

getDeployModelDetailsBuilder()

public DeployModelOperationMetadata.Builder getDeployModelDetailsBuilder()

Details of a DeployModel operation.

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

Returns
TypeDescription
DeployModelOperationMetadata.Builder

getDeployModelDetailsOrBuilder()

public DeployModelOperationMetadataOrBuilder getDeployModelDetailsOrBuilder()

Details of a DeployModel operation.

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

Returns
TypeDescription
DeployModelOperationMetadataOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDetailsCase()

public OperationMetadata.DetailsCase getDetailsCase()
Returns
TypeDescription
OperationMetadata.DetailsCase

getExportDataDetails()

public ExportDataOperationMetadata getExportDataDetails()

Details of ExportData operation.

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

Returns
TypeDescription
ExportDataOperationMetadata

The exportDataDetails.

getExportDataDetailsBuilder()

public ExportDataOperationMetadata.Builder getExportDataDetailsBuilder()

Details of ExportData operation.

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

Returns
TypeDescription
ExportDataOperationMetadata.Builder

getExportDataDetailsOrBuilder()

public ExportDataOperationMetadataOrBuilder getExportDataDetailsOrBuilder()

Details of ExportData operation.

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

Returns
TypeDescription
ExportDataOperationMetadataOrBuilder

getExportModelDetails()

public ExportModelOperationMetadata getExportModelDetails()

Details of ExportModel operation.

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

Returns
TypeDescription
ExportModelOperationMetadata

The exportModelDetails.

getExportModelDetailsBuilder()

public ExportModelOperationMetadata.Builder getExportModelDetailsBuilder()

Details of ExportModel operation.

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

Returns
TypeDescription
ExportModelOperationMetadata.Builder

getExportModelDetailsOrBuilder()

public ExportModelOperationMetadataOrBuilder getExportModelDetailsOrBuilder()

Details of ExportModel operation.

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

Returns
TypeDescription
ExportModelOperationMetadataOrBuilder

getImportDataDetails()

public ImportDataOperationMetadata getImportDataDetails()

Details of ImportData operation.

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

Returns
TypeDescription
ImportDataOperationMetadata

The importDataDetails.

getImportDataDetailsBuilder()

public ImportDataOperationMetadata.Builder getImportDataDetailsBuilder()

Details of ImportData operation.

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

Returns
TypeDescription
ImportDataOperationMetadata.Builder

getImportDataDetailsOrBuilder()

public ImportDataOperationMetadataOrBuilder getImportDataDetailsOrBuilder()

Details of ImportData operation.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The progressPercent.

getUndeployModelDetails()

public UndeployModelOperationMetadata getUndeployModelDetails()

Details of an UndeployModel operation.

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

Returns
TypeDescription
UndeployModelOperationMetadata

The undeployModelDetails.

getUndeployModelDetailsBuilder()

public UndeployModelOperationMetadata.Builder getUndeployModelDetailsBuilder()

Details of an UndeployModel operation.

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

Returns
TypeDescription
UndeployModelOperationMetadata.Builder

getUndeployModelDetailsOrBuilder()

public UndeployModelOperationMetadataOrBuilder getUndeployModelDetailsOrBuilder()

Details of an UndeployModel operation.

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

Returns
TypeDescription
UndeployModelOperationMetadataOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

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

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
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
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

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

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
TimestampOrBuilder

hasBatchPredictDetails()

public boolean hasBatchPredictDetails()

Details of BatchPredict operation.

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

Returns
TypeDescription
boolean

Whether the batchPredictDetails field is set.

hasCreateDatasetDetails()

public boolean hasCreateDatasetDetails()

Details of CreateDataset operation.

.google.cloud.automl.v1.CreateDatasetOperationMetadata create_dataset_details = 30;

Returns
TypeDescription
boolean

Whether the createDatasetDetails field is set.

hasCreateModelDetails()

public boolean hasCreateModelDetails()

Details of CreateModel operation.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the createTime field is set.

hasDeleteDetails()

public boolean hasDeleteDetails()

Details of a Delete operation.

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

Returns
TypeDescription
boolean

Whether the deleteDetails field is set.

hasDeployModelDetails()

public boolean hasDeployModelDetails()

Details of a DeployModel operation.

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

Returns
TypeDescription
boolean

Whether the deployModelDetails field is set.

hasExportDataDetails()

public boolean hasExportDataDetails()

Details of ExportData operation.

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

Returns
TypeDescription
boolean

Whether the exportDataDetails field is set.

hasExportModelDetails()

public boolean hasExportModelDetails()

Details of ExportModel operation.

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

Returns
TypeDescription
boolean

Whether the exportModelDetails field is set.

hasImportDataDetails()

public boolean hasImportDataDetails()

Details of ImportData operation.

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

Returns
TypeDescription
boolean

Whether the importDataDetails field is set.

hasUndeployModelDetails()

public boolean hasUndeployModelDetails()

Details of an UndeployModel operation.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBatchPredictDetails(BatchPredictOperationMetadata value)

public OperationMetadata.Builder mergeBatchPredictDetails(BatchPredictOperationMetadata value)

Details of BatchPredict operation.

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

Parameter
NameDescription
valueBatchPredictOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

mergeCreateDatasetDetails(CreateDatasetOperationMetadata value)

public OperationMetadata.Builder mergeCreateDatasetDetails(CreateDatasetOperationMetadata value)

Details of CreateDataset operation.

.google.cloud.automl.v1.CreateDatasetOperationMetadata create_dataset_details = 30;

Parameter
NameDescription
valueCreateDatasetOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

mergeCreateModelDetails(CreateModelOperationMetadata value)

public OperationMetadata.Builder mergeCreateModelDetails(CreateModelOperationMetadata value)

Details of CreateModel operation.

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

Parameter
NameDescription
valueCreateModelOperationMetadata
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
OperationMetadata.Builder

mergeDeleteDetails(DeleteOperationMetadata value)

public OperationMetadata.Builder mergeDeleteDetails(DeleteOperationMetadata value)

Details of a Delete operation.

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

Parameter
NameDescription
valueDeleteOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

mergeDeployModelDetails(DeployModelOperationMetadata value)

public OperationMetadata.Builder mergeDeployModelDetails(DeployModelOperationMetadata value)

Details of a DeployModel operation.

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

Parameter
NameDescription
valueDeployModelOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

mergeExportDataDetails(ExportDataOperationMetadata value)

public OperationMetadata.Builder mergeExportDataDetails(ExportDataOperationMetadata value)

Details of ExportData operation.

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

Parameter
NameDescription
valueExportDataOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

mergeExportModelDetails(ExportModelOperationMetadata value)

public OperationMetadata.Builder mergeExportModelDetails(ExportModelOperationMetadata value)

Details of ExportModel operation.

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

Parameter
NameDescription
valueExportModelOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

mergeFrom(OperationMetadata other)

public OperationMetadata.Builder mergeFrom(OperationMetadata other)
Parameter
NameDescription
otherOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadata.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public OperationMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
OperationMetadata.Builder
Overrides

mergeImportDataDetails(ImportDataOperationMetadata value)

public OperationMetadata.Builder mergeImportDataDetails(ImportDataOperationMetadata value)

Details of ImportData operation.

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

Parameter
NameDescription
valueImportDataOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

mergeUndeployModelDetails(UndeployModelOperationMetadata value)

public OperationMetadata.Builder mergeUndeployModelDetails(UndeployModelOperationMetadata value)

Details of an UndeployModel operation.

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

Parameter
NameDescription
valueUndeployModelOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
OperationMetadata.Builder

setBatchPredictDetails(BatchPredictOperationMetadata value)

public OperationMetadata.Builder setBatchPredictDetails(BatchPredictOperationMetadata value)

Details of BatchPredict operation.

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

Parameter
NameDescription
valueBatchPredictOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

setBatchPredictDetails(BatchPredictOperationMetadata.Builder builderForValue)

public OperationMetadata.Builder setBatchPredictDetails(BatchPredictOperationMetadata.Builder builderForValue)

Details of BatchPredict operation.

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

Parameter
NameDescription
builderForValueBatchPredictOperationMetadata.Builder
Returns
TypeDescription
OperationMetadata.Builder

setCreateDatasetDetails(CreateDatasetOperationMetadata value)

public OperationMetadata.Builder setCreateDatasetDetails(CreateDatasetOperationMetadata value)

Details of CreateDataset operation.

.google.cloud.automl.v1.CreateDatasetOperationMetadata create_dataset_details = 30;

Parameter
NameDescription
valueCreateDatasetOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

setCreateDatasetDetails(CreateDatasetOperationMetadata.Builder builderForValue)

public OperationMetadata.Builder setCreateDatasetDetails(CreateDatasetOperationMetadata.Builder builderForValue)

Details of CreateDataset operation.

.google.cloud.automl.v1.CreateDatasetOperationMetadata create_dataset_details = 30;

Parameter
NameDescription
builderForValueCreateDatasetOperationMetadata.Builder
Returns
TypeDescription
OperationMetadata.Builder

setCreateModelDetails(CreateModelOperationMetadata value)

public OperationMetadata.Builder setCreateModelDetails(CreateModelOperationMetadata value)

Details of CreateModel operation.

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

Parameter
NameDescription
valueCreateModelOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

setCreateModelDetails(CreateModelOperationMetadata.Builder builderForValue)

public OperationMetadata.Builder setCreateModelDetails(CreateModelOperationMetadata.Builder builderForValue)

Details of CreateModel operation.

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

Parameter
NameDescription
builderForValueCreateModelOperationMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
OperationMetadata.Builder

setDeleteDetails(DeleteOperationMetadata value)

public OperationMetadata.Builder setDeleteDetails(DeleteOperationMetadata value)

Details of a Delete operation.

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

Parameter
NameDescription
valueDeleteOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

setDeleteDetails(DeleteOperationMetadata.Builder builderForValue)

public OperationMetadata.Builder setDeleteDetails(DeleteOperationMetadata.Builder builderForValue)

Details of a Delete operation.

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

Parameter
NameDescription
builderForValueDeleteOperationMetadata.Builder
Returns
TypeDescription
OperationMetadata.Builder

setDeployModelDetails(DeployModelOperationMetadata value)

public OperationMetadata.Builder setDeployModelDetails(DeployModelOperationMetadata value)

Details of a DeployModel operation.

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

Parameter
NameDescription
valueDeployModelOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

setDeployModelDetails(DeployModelOperationMetadata.Builder builderForValue)

public OperationMetadata.Builder setDeployModelDetails(DeployModelOperationMetadata.Builder builderForValue)

Details of a DeployModel operation.

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

Parameter
NameDescription
builderForValueDeployModelOperationMetadata.Builder
Returns
TypeDescription
OperationMetadata.Builder

setExportDataDetails(ExportDataOperationMetadata value)

public OperationMetadata.Builder setExportDataDetails(ExportDataOperationMetadata value)

Details of ExportData operation.

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

Parameter
NameDescription
valueExportDataOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

setExportDataDetails(ExportDataOperationMetadata.Builder builderForValue)

public OperationMetadata.Builder setExportDataDetails(ExportDataOperationMetadata.Builder builderForValue)

Details of ExportData operation.

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

Parameter
NameDescription
builderForValueExportDataOperationMetadata.Builder
Returns
TypeDescription
OperationMetadata.Builder

setExportModelDetails(ExportModelOperationMetadata value)

public OperationMetadata.Builder setExportModelDetails(ExportModelOperationMetadata value)

Details of ExportModel operation.

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

Parameter
NameDescription
valueExportModelOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

setExportModelDetails(ExportModelOperationMetadata.Builder builderForValue)

public OperationMetadata.Builder setExportModelDetails(ExportModelOperationMetadata.Builder builderForValue)

Details of ExportModel operation.

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

Parameter
NameDescription
builderForValueExportModelOperationMetadata.Builder
Returns
TypeDescription
OperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public OperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OperationMetadata.Builder
Overrides

setImportDataDetails(ImportDataOperationMetadata value)

public OperationMetadata.Builder setImportDataDetails(ImportDataOperationMetadata value)

Details of ImportData operation.

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

Parameter
NameDescription
valueImportDataOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

setImportDataDetails(ImportDataOperationMetadata.Builder builderForValue)

public OperationMetadata.Builder setImportDataDetails(ImportDataOperationMetadata.Builder builderForValue)

Details of ImportData operation.

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

Parameter
NameDescription
builderForValueImportDataOperationMetadata.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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
NameDescription
valueint

The progressPercent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
OperationMetadata.Builder
Overrides

setUndeployModelDetails(UndeployModelOperationMetadata value)

public OperationMetadata.Builder setUndeployModelDetails(UndeployModelOperationMetadata value)

Details of an UndeployModel operation.

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

Parameter
NameDescription
valueUndeployModelOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

setUndeployModelDetails(UndeployModelOperationMetadata.Builder builderForValue)

public OperationMetadata.Builder setUndeployModelDetails(UndeployModelOperationMetadata.Builder builderForValue)

Details of an UndeployModel operation.

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

Parameter
NameDescription
builderForValueUndeployModelOperationMetadata.Builder
Returns
TypeDescription
OperationMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final OperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
OperationMetadata.Builder