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
public static final int BATCH_PREDICT_DETAILS_FIELD_NUMBER
Field Value
public static final int CREATE_MODEL_DETAILS_FIELD_NUMBER
Field Value
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int DELETE_DETAILS_FIELD_NUMBER
Field Value
public static final int DEPLOY_MODEL_DETAILS_FIELD_NUMBER
Field Value
public static final int EXPORT_DATA_DETAILS_FIELD_NUMBER
Field Value
public static final int EXPORT_EVALUATED_EXAMPLES_DETAILS_FIELD_NUMBER
Field Value
public static final int EXPORT_MODEL_DETAILS_FIELD_NUMBER
Field Value
public static final int IMPORT_DATA_DETAILS_FIELD_NUMBER
Field Value
public static final int PARTIAL_FAILURES_FIELD_NUMBER
Field Value
public static final int PROGRESS_PERCENT_FIELD_NUMBER
Field Value
public static final int UNDEPLOY_MODEL_DETAILS_FIELD_NUMBER
Field Value
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
public static OperationMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static OperationMetadata.Builder newBuilder()
Returns
public static OperationMetadata.Builder newBuilder(OperationMetadata prototype)
Parameter
Returns
public static OperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static OperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OperationMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static OperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OperationMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static OperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OperationMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static OperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OperationMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static OperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OperationMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static OperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<OperationMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public BatchPredictOperationMetadata getBatchPredictDetails()
Details of BatchPredict operation.
.google.cloud.automl.v1beta1.BatchPredictOperationMetadata batch_predict_details = 16;
Returns
public BatchPredictOperationMetadataOrBuilder getBatchPredictDetailsOrBuilder()
Details of BatchPredict operation.
.google.cloud.automl.v1beta1.BatchPredictOperationMetadata batch_predict_details = 16;
Returns
public CreateModelOperationMetadata getCreateModelDetails()
Details of CreateModel operation.
.google.cloud.automl.v1beta1.CreateModelOperationMetadata create_model_details = 10;
Returns
public CreateModelOperationMetadataOrBuilder getCreateModelDetailsOrBuilder()
Details of CreateModel operation.
.google.cloud.automl.v1beta1.CreateModelOperationMetadata create_model_details = 10;
Returns
public Timestamp getCreateTime()
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
Returns
public OperationMetadata getDefaultInstanceForType()
Returns
public DeleteOperationMetadata getDeleteDetails()
Details of a Delete operation.
.google.cloud.automl.v1beta1.DeleteOperationMetadata delete_details = 8;
Returns
public DeleteOperationMetadataOrBuilder getDeleteDetailsOrBuilder()
Details of a Delete operation.
.google.cloud.automl.v1beta1.DeleteOperationMetadata delete_details = 8;
Returns
public DeployModelOperationMetadata getDeployModelDetails()
Details of a DeployModel operation.
.google.cloud.automl.v1beta1.DeployModelOperationMetadata deploy_model_details = 24;
Returns
public DeployModelOperationMetadataOrBuilder getDeployModelDetailsOrBuilder()
Details of a DeployModel operation.
.google.cloud.automl.v1beta1.DeployModelOperationMetadata deploy_model_details = 24;
Returns
public OperationMetadata.DetailsCase getDetailsCase()
Returns
public ExportDataOperationMetadata getExportDataDetails()
Details of ExportData operation.
.google.cloud.automl.v1beta1.ExportDataOperationMetadata export_data_details = 21;
Returns
public ExportDataOperationMetadataOrBuilder getExportDataDetailsOrBuilder()
Details of ExportData operation.
.google.cloud.automl.v1beta1.ExportDataOperationMetadata export_data_details = 21;
Returns
public ExportEvaluatedExamplesOperationMetadata getExportEvaluatedExamplesDetails()
Details of ExportEvaluatedExamples operation.
.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOperationMetadata export_evaluated_examples_details = 26;
Returns
public ExportEvaluatedExamplesOperationMetadataOrBuilder getExportEvaluatedExamplesDetailsOrBuilder()
Details of ExportEvaluatedExamples operation.
.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOperationMetadata export_evaluated_examples_details = 26;
Returns
public ExportModelOperationMetadata getExportModelDetails()
Details of ExportModel operation.
.google.cloud.automl.v1beta1.ExportModelOperationMetadata export_model_details = 22;
Returns
public ExportModelOperationMetadataOrBuilder getExportModelDetailsOrBuilder()
Details of ExportModel operation.
.google.cloud.automl.v1beta1.ExportModelOperationMetadata export_model_details = 22;
Returns
public ImportDataOperationMetadata getImportDataDetails()
Details of ImportData operation.
.google.cloud.automl.v1beta1.ImportDataOperationMetadata import_data_details = 15;
Returns
public ImportDataOperationMetadataOrBuilder getImportDataDetailsOrBuilder()
Details of ImportData operation.
.google.cloud.automl.v1beta1.ImportDataOperationMetadata import_data_details = 15;
Returns
public Parser<OperationMetadata> getParserForType()
Returns
Overrides
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
Returns
Type | Description |
com.google.rpc.Status | |
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
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> | |
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
Returns
Type | Description |
com.google.rpc.StatusOrBuilder | |
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> | |
public int getProgressPercent()
Output only. Progress of operation. Range: [0, 100].
Not used currently.
int32 progress_percent = 13;
Returns
Type | Description |
int | The progressPercent.
|
public int getSerializedSize()
Returns
Overrides
public UndeployModelOperationMetadata getUndeployModelDetails()
Details of an UndeployModel operation.
.google.cloud.automl.v1beta1.UndeployModelOperationMetadata undeploy_model_details = 25;
Returns
public UndeployModelOperationMetadataOrBuilder getUndeployModelDetailsOrBuilder()
Details of an UndeployModel operation.
.google.cloud.automl.v1beta1.UndeployModelOperationMetadata undeploy_model_details = 25;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public Timestamp getUpdateTime()
Output only. Time when the operation was updated for the last time.
.google.protobuf.Timestamp update_time = 4;
Returns
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when the operation was updated for the last time.
.google.protobuf.Timestamp update_time = 4;
Returns
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public OperationMetadata.Builder newBuilderForType()
Returns
protected OperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public OperationMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions