Class OperationMetadata (2.54.0)

public final class OperationMetadata extends GeneratedMessageV3 implements OperationMetadataOrBuilder

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

Protobuf type google.cloud.automl.v1beta1.OperationMetadata

Static Fields

BATCH_PREDICT_DETAILS_FIELD_NUMBER

public static final int BATCH_PREDICT_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

CREATE_MODEL_DETAILS_FIELD_NUMBER

public static final int CREATE_MODEL_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DELETE_DETAILS_FIELD_NUMBER

public static final int DELETE_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

DEPLOY_MODEL_DETAILS_FIELD_NUMBER

public static final int DEPLOY_MODEL_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

EXPORT_DATA_DETAILS_FIELD_NUMBER

public static final int EXPORT_DATA_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

EXPORT_EVALUATED_EXAMPLES_DETAILS_FIELD_NUMBER

public static final int EXPORT_EVALUATED_EXAMPLES_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

EXPORT_MODEL_DETAILS_FIELD_NUMBER

public static final int EXPORT_MODEL_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

IMPORT_DATA_DETAILS_FIELD_NUMBER

public static final int IMPORT_DATA_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

PARTIAL_FAILURES_FIELD_NUMBER

public static final int PARTIAL_FAILURES_FIELD_NUMBER
Field Value
Type Description
int

PROGRESS_PERCENT_FIELD_NUMBER

public static final int PROGRESS_PERCENT_FIELD_NUMBER
Field Value
Type Description
int

UNDEPLOY_MODEL_DETAILS_FIELD_NUMBER

public static final int UNDEPLOY_MODEL_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OperationMetadata getDefaultInstance()
Returns
Type Description
OperationMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(OperationMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBatchPredictDetails()

public BatchPredictOperationMetadata getBatchPredictDetails()

Details of BatchPredict operation.

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

Returns
Type Description
BatchPredictOperationMetadata

The batchPredictDetails.

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.

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.

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.

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.

getDeployModelDetailsOrBuilder()

public DeployModelOperationMetadataOrBuilder getDeployModelDetailsOrBuilder()

Details of a DeployModel operation.

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

Returns
Type Description
DeployModelOperationMetadataOrBuilder

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.

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.

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.

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.

getImportDataDetailsOrBuilder()

public ImportDataOperationMetadataOrBuilder getImportDataDetailsOrBuilder()

Details of ImportData operation.

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

Returns
Type Description
ImportDataOperationMetadataOrBuilder

getParserForType()

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

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

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUndeployModelDetails()

public UndeployModelOperationMetadata getUndeployModelDetails()

Details of an UndeployModel operation.

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

Returns
Type Description
UndeployModelOperationMetadata

The undeployModelDetails.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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