public final class OperationMetadata extends GeneratedMessageV3 implements OperationMetadataOrBuilder
Metadata used across all long running operations returned by AutoML API.
Protobuf type google.cloud.automl.v1.OperationMetadata
Static Fields
public static final int BATCH_PREDICT_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int CREATE_DATASET_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int CREATE_MODEL_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DELETE_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DEPLOY_MODEL_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int EXPORT_DATA_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int EXPORT_MODEL_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int IMPORT_DATA_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PARTIAL_FAILURES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PROGRESS_PERCENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int UNDEPLOY_MODEL_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static OperationMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static OperationMetadata.Builder newBuilder()
public static OperationMetadata.Builder newBuilder(OperationMetadata prototype)
public static OperationMetadata parseDelimitedFrom(InputStream input)
public static OperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OperationMetadata parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static OperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OperationMetadata parseFrom(ByteString data)
public static OperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OperationMetadata parseFrom(CodedInputStream input)
public static OperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OperationMetadata parseFrom(InputStream input)
public static OperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OperationMetadata parseFrom(ByteBuffer data)
public static OperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<OperationMetadata> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public BatchPredictOperationMetadata getBatchPredictDetails()
Details of BatchPredict operation.
.google.cloud.automl.v1.BatchPredictOperationMetadata batch_predict_details = 16;
public BatchPredictOperationMetadataOrBuilder getBatchPredictDetailsOrBuilder()
Details of BatchPredict operation.
.google.cloud.automl.v1.BatchPredictOperationMetadata batch_predict_details = 16;
public CreateDatasetOperationMetadata getCreateDatasetDetails()
Details of CreateDataset operation.
.google.cloud.automl.v1.CreateDatasetOperationMetadata create_dataset_details = 30;
public CreateDatasetOperationMetadataOrBuilder getCreateDatasetDetailsOrBuilder()
Details of CreateDataset operation.
.google.cloud.automl.v1.CreateDatasetOperationMetadata create_dataset_details = 30;
public CreateModelOperationMetadata getCreateModelDetails()
Details of CreateModel operation.
.google.cloud.automl.v1.CreateModelOperationMetadata create_model_details = 10;
public CreateModelOperationMetadataOrBuilder getCreateModelDetailsOrBuilder()
Details of CreateModel operation.
.google.cloud.automl.v1.CreateModelOperationMetadata create_model_details = 10;
public Timestamp getCreateTime()
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
public OperationMetadata getDefaultInstanceForType()
public DeleteOperationMetadata getDeleteDetails()
Details of a Delete operation.
.google.cloud.automl.v1.DeleteOperationMetadata delete_details = 8;
public DeleteOperationMetadataOrBuilder getDeleteDetailsOrBuilder()
Details of a Delete operation.
.google.cloud.automl.v1.DeleteOperationMetadata delete_details = 8;
public DeployModelOperationMetadata getDeployModelDetails()
Details of a DeployModel operation.
.google.cloud.automl.v1.DeployModelOperationMetadata deploy_model_details = 24;
public DeployModelOperationMetadataOrBuilder getDeployModelDetailsOrBuilder()
Details of a DeployModel operation.
.google.cloud.automl.v1.DeployModelOperationMetadata deploy_model_details = 24;
public OperationMetadata.DetailsCase getDetailsCase()
public ExportDataOperationMetadata getExportDataDetails()
Details of ExportData operation.
.google.cloud.automl.v1.ExportDataOperationMetadata export_data_details = 21;
public ExportDataOperationMetadataOrBuilder getExportDataDetailsOrBuilder()
Details of ExportData operation.
.google.cloud.automl.v1.ExportDataOperationMetadata export_data_details = 21;
public ExportModelOperationMetadata getExportModelDetails()
Details of ExportModel operation.
.google.cloud.automl.v1.ExportModelOperationMetadata export_model_details = 22;
public ExportModelOperationMetadataOrBuilder getExportModelDetailsOrBuilder()
Details of ExportModel operation.
.google.cloud.automl.v1.ExportModelOperationMetadata export_model_details = 22;
public ImportDataOperationMetadata getImportDataDetails()
Details of ImportData operation.
.google.cloud.automl.v1.ImportDataOperationMetadata import_data_details = 15;
public ImportDataOperationMetadataOrBuilder getImportDataDetailsOrBuilder()
Details of ImportData operation.
.google.cloud.automl.v1.ImportDataOperationMetadata import_data_details = 15;
public Parser<OperationMetadata> getParserForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
Overrides
public UndeployModelOperationMetadata getUndeployModelDetails()
Details of an UndeployModel operation.
.google.cloud.automl.v1.UndeployModelOperationMetadata undeploy_model_details = 25;
public UndeployModelOperationMetadataOrBuilder getUndeployModelDetailsOrBuilder()
Details of an UndeployModel operation.
.google.cloud.automl.v1.UndeployModelOperationMetadata undeploy_model_details = 25;
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when the operation was updated for the last time.
.google.protobuf.Timestamp update_time = 4;
public boolean hasBatchPredictDetails()
Details of BatchPredict operation.
.google.cloud.automl.v1.BatchPredictOperationMetadata batch_predict_details = 16;
Returns |
---|
Type | Description |
boolean | Whether the batchPredictDetails field is set.
|
public boolean hasCreateDatasetDetails()
Details of CreateDataset operation.
.google.cloud.automl.v1.CreateDatasetOperationMetadata create_dataset_details = 30;
Returns |
---|
Type | Description |
boolean | Whether the createDatasetDetails field is set.
|
public boolean hasCreateModelDetails()
Details of CreateModel operation.
.google.cloud.automl.v1.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.v1.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.v1.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.v1.ExportDataOperationMetadata export_data_details = 21;
Returns |
---|
Type | Description |
boolean | Whether the exportDataDetails field is set.
|
public boolean hasExportModelDetails()
Details of ExportModel operation.
.google.cloud.automl.v1.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.v1.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.v1.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 |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public OperationMetadata.Builder newBuilderForType()
protected OperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public OperationMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides