Class OperationMetadata

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.automl.v1.OperationMetadata
All Implemented Interfaces:
OperationMetadataOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class OperationMetadata extends com.google.protobuf.GeneratedMessage implements OperationMetadataOrBuilder
 Metadata used across all long running operations returned by AutoML API.
 
Protobuf type google.cloud.automl.v1.OperationMetadata
See Also:
  • Field Details

    • DELETE_DETAILS_FIELD_NUMBER

      public static final int DELETE_DETAILS_FIELD_NUMBER
      See Also:
    • DEPLOY_MODEL_DETAILS_FIELD_NUMBER

      public static final int DEPLOY_MODEL_DETAILS_FIELD_NUMBER
      See Also:
    • UNDEPLOY_MODEL_DETAILS_FIELD_NUMBER

      public static final int UNDEPLOY_MODEL_DETAILS_FIELD_NUMBER
      See Also:
    • CREATE_MODEL_DETAILS_FIELD_NUMBER

      public static final int CREATE_MODEL_DETAILS_FIELD_NUMBER
      See Also:
    • CREATE_DATASET_DETAILS_FIELD_NUMBER

      public static final int CREATE_DATASET_DETAILS_FIELD_NUMBER
      See Also:
    • IMPORT_DATA_DETAILS_FIELD_NUMBER

      public static final int IMPORT_DATA_DETAILS_FIELD_NUMBER
      See Also:
    • BATCH_PREDICT_DETAILS_FIELD_NUMBER

      public static final int BATCH_PREDICT_DETAILS_FIELD_NUMBER
      See Also:
    • EXPORT_DATA_DETAILS_FIELD_NUMBER

      public static final int EXPORT_DATA_DETAILS_FIELD_NUMBER
      See Also:
    • EXPORT_MODEL_DETAILS_FIELD_NUMBER

      public static final int EXPORT_MODEL_DETAILS_FIELD_NUMBER
      See Also:
    • PROGRESS_PERCENT_FIELD_NUMBER

      public static final int PROGRESS_PERCENT_FIELD_NUMBER
      See Also:
    • PARTIAL_FAILURES_FIELD_NUMBER

      public static final int PARTIAL_FAILURES_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDetailsCase

      public OperationMetadata.DetailsCase getDetailsCase()
      Specified by:
      getDetailsCase in interface OperationMetadataOrBuilder
    • hasDeleteDetails

      public boolean hasDeleteDetails()
       Details of a Delete operation.
       
      .google.cloud.automl.v1.DeleteOperationMetadata delete_details = 8;
      Specified by:
      hasDeleteDetails in interface OperationMetadataOrBuilder
      Returns:
      Whether the deleteDetails field is set.
    • getDeleteDetails

      public DeleteOperationMetadata getDeleteDetails()
       Details of a Delete operation.
       
      .google.cloud.automl.v1.DeleteOperationMetadata delete_details = 8;
      Specified by:
      getDeleteDetails in interface OperationMetadataOrBuilder
      Returns:
      The deleteDetails.
    • getDeleteDetailsOrBuilder

      public DeleteOperationMetadataOrBuilder getDeleteDetailsOrBuilder()
       Details of a Delete operation.
       
      .google.cloud.automl.v1.DeleteOperationMetadata delete_details = 8;
      Specified by:
      getDeleteDetailsOrBuilder in interface OperationMetadataOrBuilder
    • hasDeployModelDetails

      public boolean hasDeployModelDetails()
       Details of a DeployModel operation.
       
      .google.cloud.automl.v1.DeployModelOperationMetadata deploy_model_details = 24;
      Specified by:
      hasDeployModelDetails in interface OperationMetadataOrBuilder
      Returns:
      Whether the deployModelDetails field is set.
    • getDeployModelDetails

      public DeployModelOperationMetadata getDeployModelDetails()
       Details of a DeployModel operation.
       
      .google.cloud.automl.v1.DeployModelOperationMetadata deploy_model_details = 24;
      Specified by:
      getDeployModelDetails in interface OperationMetadataOrBuilder
      Returns:
      The deployModelDetails.
    • getDeployModelDetailsOrBuilder

      public DeployModelOperationMetadataOrBuilder getDeployModelDetailsOrBuilder()
       Details of a DeployModel operation.
       
      .google.cloud.automl.v1.DeployModelOperationMetadata deploy_model_details = 24;
      Specified by:
      getDeployModelDetailsOrBuilder in interface OperationMetadataOrBuilder
    • hasUndeployModelDetails

      public boolean hasUndeployModelDetails()
       Details of an UndeployModel operation.
       
      .google.cloud.automl.v1.UndeployModelOperationMetadata undeploy_model_details = 25;
      Specified by:
      hasUndeployModelDetails in interface OperationMetadataOrBuilder
      Returns:
      Whether the undeployModelDetails field is set.
    • getUndeployModelDetails

      public UndeployModelOperationMetadata getUndeployModelDetails()
       Details of an UndeployModel operation.
       
      .google.cloud.automl.v1.UndeployModelOperationMetadata undeploy_model_details = 25;
      Specified by:
      getUndeployModelDetails in interface OperationMetadataOrBuilder
      Returns:
      The undeployModelDetails.
    • getUndeployModelDetailsOrBuilder

      public UndeployModelOperationMetadataOrBuilder getUndeployModelDetailsOrBuilder()
       Details of an UndeployModel operation.
       
      .google.cloud.automl.v1.UndeployModelOperationMetadata undeploy_model_details = 25;
      Specified by:
      getUndeployModelDetailsOrBuilder in interface OperationMetadataOrBuilder
    • hasCreateModelDetails

      public boolean hasCreateModelDetails()
       Details of CreateModel operation.
       
      .google.cloud.automl.v1.CreateModelOperationMetadata create_model_details = 10;
      Specified by:
      hasCreateModelDetails in interface OperationMetadataOrBuilder
      Returns:
      Whether the createModelDetails field is set.
    • getCreateModelDetails

      public CreateModelOperationMetadata getCreateModelDetails()
       Details of CreateModel operation.
       
      .google.cloud.automl.v1.CreateModelOperationMetadata create_model_details = 10;
      Specified by:
      getCreateModelDetails in interface OperationMetadataOrBuilder
      Returns:
      The createModelDetails.
    • getCreateModelDetailsOrBuilder

      public CreateModelOperationMetadataOrBuilder getCreateModelDetailsOrBuilder()
       Details of CreateModel operation.
       
      .google.cloud.automl.v1.CreateModelOperationMetadata create_model_details = 10;
      Specified by:
      getCreateModelDetailsOrBuilder in interface OperationMetadataOrBuilder
    • hasCreateDatasetDetails

      public boolean hasCreateDatasetDetails()
       Details of CreateDataset operation.
       
      .google.cloud.automl.v1.CreateDatasetOperationMetadata create_dataset_details = 30;
      Specified by:
      hasCreateDatasetDetails in interface OperationMetadataOrBuilder
      Returns:
      Whether the createDatasetDetails field is set.
    • getCreateDatasetDetails

      public CreateDatasetOperationMetadata getCreateDatasetDetails()
       Details of CreateDataset operation.
       
      .google.cloud.automl.v1.CreateDatasetOperationMetadata create_dataset_details = 30;
      Specified by:
      getCreateDatasetDetails in interface OperationMetadataOrBuilder
      Returns:
      The createDatasetDetails.
    • getCreateDatasetDetailsOrBuilder

      public CreateDatasetOperationMetadataOrBuilder getCreateDatasetDetailsOrBuilder()
       Details of CreateDataset operation.
       
      .google.cloud.automl.v1.CreateDatasetOperationMetadata create_dataset_details = 30;
      Specified by:
      getCreateDatasetDetailsOrBuilder in interface OperationMetadataOrBuilder
    • hasImportDataDetails

      public boolean hasImportDataDetails()
       Details of ImportData operation.
       
      .google.cloud.automl.v1.ImportDataOperationMetadata import_data_details = 15;
      Specified by:
      hasImportDataDetails in interface OperationMetadataOrBuilder
      Returns:
      Whether the importDataDetails field is set.
    • getImportDataDetails

      public ImportDataOperationMetadata getImportDataDetails()
       Details of ImportData operation.
       
      .google.cloud.automl.v1.ImportDataOperationMetadata import_data_details = 15;
      Specified by:
      getImportDataDetails in interface OperationMetadataOrBuilder
      Returns:
      The importDataDetails.
    • getImportDataDetailsOrBuilder

      public ImportDataOperationMetadataOrBuilder getImportDataDetailsOrBuilder()
       Details of ImportData operation.
       
      .google.cloud.automl.v1.ImportDataOperationMetadata import_data_details = 15;
      Specified by:
      getImportDataDetailsOrBuilder in interface OperationMetadataOrBuilder
    • hasBatchPredictDetails

      public boolean hasBatchPredictDetails()
       Details of BatchPredict operation.
       
      .google.cloud.automl.v1.BatchPredictOperationMetadata batch_predict_details = 16;
      Specified by:
      hasBatchPredictDetails in interface OperationMetadataOrBuilder
      Returns:
      Whether the batchPredictDetails field is set.
    • getBatchPredictDetails

      public BatchPredictOperationMetadata getBatchPredictDetails()
       Details of BatchPredict operation.
       
      .google.cloud.automl.v1.BatchPredictOperationMetadata batch_predict_details = 16;
      Specified by:
      getBatchPredictDetails in interface OperationMetadataOrBuilder
      Returns:
      The batchPredictDetails.
    • getBatchPredictDetailsOrBuilder

      public BatchPredictOperationMetadataOrBuilder getBatchPredictDetailsOrBuilder()
       Details of BatchPredict operation.
       
      .google.cloud.automl.v1.BatchPredictOperationMetadata batch_predict_details = 16;
      Specified by:
      getBatchPredictDetailsOrBuilder in interface OperationMetadataOrBuilder
    • hasExportDataDetails

      public boolean hasExportDataDetails()
       Details of ExportData operation.
       
      .google.cloud.automl.v1.ExportDataOperationMetadata export_data_details = 21;
      Specified by:
      hasExportDataDetails in interface OperationMetadataOrBuilder
      Returns:
      Whether the exportDataDetails field is set.
    • getExportDataDetails

      public ExportDataOperationMetadata getExportDataDetails()
       Details of ExportData operation.
       
      .google.cloud.automl.v1.ExportDataOperationMetadata export_data_details = 21;
      Specified by:
      getExportDataDetails in interface OperationMetadataOrBuilder
      Returns:
      The exportDataDetails.
    • getExportDataDetailsOrBuilder

      public ExportDataOperationMetadataOrBuilder getExportDataDetailsOrBuilder()
       Details of ExportData operation.
       
      .google.cloud.automl.v1.ExportDataOperationMetadata export_data_details = 21;
      Specified by:
      getExportDataDetailsOrBuilder in interface OperationMetadataOrBuilder
    • hasExportModelDetails

      public boolean hasExportModelDetails()
       Details of ExportModel operation.
       
      .google.cloud.automl.v1.ExportModelOperationMetadata export_model_details = 22;
      Specified by:
      hasExportModelDetails in interface OperationMetadataOrBuilder
      Returns:
      Whether the exportModelDetails field is set.
    • getExportModelDetails

      public ExportModelOperationMetadata getExportModelDetails()
       Details of ExportModel operation.
       
      .google.cloud.automl.v1.ExportModelOperationMetadata export_model_details = 22;
      Specified by:
      getExportModelDetails in interface OperationMetadataOrBuilder
      Returns:
      The exportModelDetails.
    • getExportModelDetailsOrBuilder

      public ExportModelOperationMetadataOrBuilder getExportModelDetailsOrBuilder()
       Details of ExportModel operation.
       
      .google.cloud.automl.v1.ExportModelOperationMetadata export_model_details = 22;
      Specified by:
      getExportModelDetailsOrBuilder in interface OperationMetadataOrBuilder
    • getProgressPercent

      public int getProgressPercent()
       Output only. Progress of operation. Range: [0, 100].
       Not used currently.
       
      int32 progress_percent = 13;
      Specified by:
      getProgressPercent in interface OperationMetadataOrBuilder
      Returns:
      The progressPercent.
    • 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;
      Specified by:
      getPartialFailuresList in interface OperationMetadataOrBuilder
    • 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;
      Specified by:
      getPartialFailuresOrBuilderList in interface OperationMetadataOrBuilder
    • 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;
      Specified by:
      getPartialFailuresCount in interface OperationMetadataOrBuilder
    • getPartialFailures

      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;
      Specified by:
      getPartialFailures in interface OperationMetadataOrBuilder
    • getPartialFailuresOrBuilder

      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;
      Specified by:
      getPartialFailuresOrBuilder in interface OperationMetadataOrBuilder
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Time when the operation was created.
       
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      hasCreateTime in interface OperationMetadataOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Time when the operation was created.
       
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      getCreateTime in interface OperationMetadataOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time when the operation was created.
       
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      getCreateTimeOrBuilder in interface OperationMetadataOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Time when the operation was updated for the last time.
       
      .google.protobuf.Timestamp update_time = 4;
      Specified by:
      hasUpdateTime in interface OperationMetadataOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Time when the operation was updated for the last time.
       
      .google.protobuf.Timestamp update_time = 4;
      Specified by:
      getUpdateTime in interface OperationMetadataOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Time when the operation was updated for the last time.
       
      .google.protobuf.Timestamp update_time = 4;
      Specified by:
      getUpdateTimeOrBuilder in interface OperationMetadataOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static OperationMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OperationMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OperationMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OperationMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OperationMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OperationMetadata parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OperationMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static OperationMetadata parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static OperationMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OperationMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OperationMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public OperationMetadata.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static OperationMetadata.Builder newBuilder()
    • newBuilder

      public static OperationMetadata.Builder newBuilder(OperationMetadata prototype)
    • toBuilder

      public OperationMetadata.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected OperationMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static OperationMetadata getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<OperationMetadata> parser()
    • getParserForType

      public com.google.protobuf.Parser<OperationMetadata> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public OperationMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder