Class OperationMetadata (2.34.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
TypeDescription
int

CREATE_MODEL_DETAILS_FIELD_NUMBER

public static final int CREATE_MODEL_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DELETE_DETAILS_FIELD_NUMBER

public static final int DELETE_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

DEPLOY_MODEL_DETAILS_FIELD_NUMBER

public static final int DEPLOY_MODEL_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

EXPORT_DATA_DETAILS_FIELD_NUMBER

public static final int EXPORT_DATA_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

EXPORT_EVALUATED_EXAMPLES_DETAILS_FIELD_NUMBER

public static final int EXPORT_EVALUATED_EXAMPLES_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

EXPORT_MODEL_DETAILS_FIELD_NUMBER

public static final int EXPORT_MODEL_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

IMPORT_DATA_DETAILS_FIELD_NUMBER

public static final int IMPORT_DATA_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

PARTIAL_FAILURES_FIELD_NUMBER

public static final int PARTIAL_FAILURES_FIELD_NUMBER
Field Value
TypeDescription
int

PROGRESS_PERCENT_FIELD_NUMBER

public static final int PROGRESS_PERCENT_FIELD_NUMBER
Field Value
TypeDescription
int

UNDEPLOY_MODEL_DETAILS_FIELD_NUMBER

public static final int UNDEPLOY_MODEL_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static OperationMetadata getDefaultInstance()
Returns
TypeDescription
OperationMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static OperationMetadata.Builder newBuilder()
Returns
TypeDescription
OperationMetadata.Builder

newBuilder(OperationMetadata prototype)

public static OperationMetadata.Builder newBuilder(OperationMetadata prototype)
Parameter
NameDescription
prototypeOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static OperationMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static OperationMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OperationMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OperationMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static OperationMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static OperationMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<OperationMetadata> parser()
Returns
TypeDescription
Parser<OperationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBatchPredictDetails()

public BatchPredictOperationMetadata getBatchPredictDetails()

Details of BatchPredict operation.

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

Returns
TypeDescription
BatchPredictOperationMetadata

The batchPredictDetails.

getBatchPredictDetailsOrBuilder()

public BatchPredictOperationMetadataOrBuilder getBatchPredictDetailsOrBuilder()

Details of BatchPredict operation.

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

Returns
TypeDescription
BatchPredictOperationMetadataOrBuilder

getCreateModelDetails()

public CreateModelOperationMetadata getCreateModelDetails()

Details of CreateModel operation.

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

Returns
TypeDescription
CreateModelOperationMetadata

The createModelDetails.

getCreateModelDetailsOrBuilder()

public CreateModelOperationMetadataOrBuilder getCreateModelDetailsOrBuilder()

Details of CreateModel operation.

.google.cloud.automl.v1beta1.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.

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.v1beta1.DeleteOperationMetadata delete_details = 8;

Returns
TypeDescription
DeleteOperationMetadata

The deleteDetails.

getDeleteDetailsOrBuilder()

public DeleteOperationMetadataOrBuilder getDeleteDetailsOrBuilder()

Details of a Delete operation.

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

Returns
TypeDescription
DeleteOperationMetadataOrBuilder

getDeployModelDetails()

public DeployModelOperationMetadata getDeployModelDetails()

Details of a DeployModel operation.

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

Returns
TypeDescription
DeployModelOperationMetadata

The deployModelDetails.

getDeployModelDetailsOrBuilder()

public DeployModelOperationMetadataOrBuilder getDeployModelDetailsOrBuilder()

Details of a DeployModel operation.

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

Returns
TypeDescription
DeployModelOperationMetadataOrBuilder

getDetailsCase()

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

getExportDataDetails()

public ExportDataOperationMetadata getExportDataDetails()

Details of ExportData operation.

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

Returns
TypeDescription
ExportDataOperationMetadata

The exportDataDetails.

getExportDataDetailsOrBuilder()

public ExportDataOperationMetadataOrBuilder getExportDataDetailsOrBuilder()

Details of ExportData operation.

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

Returns
TypeDescription
ExportDataOperationMetadataOrBuilder

getExportEvaluatedExamplesDetails()

public ExportEvaluatedExamplesOperationMetadata getExportEvaluatedExamplesDetails()

Details of ExportEvaluatedExamples operation.

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

Returns
TypeDescription
ExportEvaluatedExamplesOperationMetadata

The exportEvaluatedExamplesDetails.

getExportEvaluatedExamplesDetailsOrBuilder()

public ExportEvaluatedExamplesOperationMetadataOrBuilder getExportEvaluatedExamplesDetailsOrBuilder()

Details of ExportEvaluatedExamples operation.

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

Returns
TypeDescription
ExportEvaluatedExamplesOperationMetadataOrBuilder

getExportModelDetails()

public ExportModelOperationMetadata getExportModelDetails()

Details of ExportModel operation.

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

Returns
TypeDescription
ExportModelOperationMetadata

The exportModelDetails.

getExportModelDetailsOrBuilder()

public ExportModelOperationMetadataOrBuilder getExportModelDetailsOrBuilder()

Details of ExportModel operation.

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

Returns
TypeDescription
ExportModelOperationMetadataOrBuilder

getImportDataDetails()

public ImportDataOperationMetadata getImportDataDetails()

Details of ImportData operation.

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

Returns
TypeDescription
ImportDataOperationMetadata

The importDataDetails.

getImportDataDetailsOrBuilder()

public ImportDataOperationMetadataOrBuilder getImportDataDetailsOrBuilder()

Details of ImportData operation.

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

Returns
TypeDescription
ImportDataOperationMetadataOrBuilder

getParserForType()

public Parser<OperationMetadata> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUndeployModelDetails()

public UndeployModelOperationMetadata getUndeployModelDetails()

Details of an UndeployModel operation.

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

Returns
TypeDescription
UndeployModelOperationMetadata

The undeployModelDetails.

getUndeployModelDetailsOrBuilder()

public UndeployModelOperationMetadataOrBuilder getUndeployModelDetailsOrBuilder()

Details of an UndeployModel operation.

.google.cloud.automl.v1beta1.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.

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.v1beta1.BatchPredictOperationMetadata batch_predict_details = 16;

Returns
TypeDescription
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
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.v1beta1.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.v1beta1.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.v1beta1.ExportDataOperationMetadata export_data_details = 21;

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
OperationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException