Interface OperationMetadataOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    OperationMetadata, OperationMetadata.Builder

    public interface OperationMetadataOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasCreateTime

        boolean hasCreateTime()
         The time the operation was created.
         
        .google.protobuf.Timestamp create_time = 1;
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         The time the operation was created.
         
        .google.protobuf.Timestamp create_time = 1;
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         The time the operation was created.
         
        .google.protobuf.Timestamp create_time = 1;
      • hasUpdateTime

        boolean hasUpdateTime()
         The time the operation was last updated.
         
        .google.protobuf.Timestamp update_time = 2;
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        com.google.protobuf.Timestamp getUpdateTime()
         The time the operation was last updated.
         
        .google.protobuf.Timestamp update_time = 2;
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         The time the operation was last updated.
         
        .google.protobuf.Timestamp update_time = 2;
      • getResource

        String getResource()
         The resource path for the target of the operation.
         
        string resource = 3;
        Returns:
        The resource.
      • getResourceBytes

        com.google.protobuf.ByteString getResourceBytes()
         The resource path for the target of the operation.
         
        string resource = 3;
        Returns:
        The bytes for resource.
      • getMethod

        String getMethod()
         The method that triggered the operation.
         
        string method = 4;
        Returns:
        The method.
      • getMethodBytes

        com.google.protobuf.ByteString getMethodBytes()
         The method that triggered the operation.
         
        string method = 4;
        Returns:
        The bytes for method.
      • getKmsKeyName

        String getKmsKeyName()
         The [KMS key
         name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which
         the content of the Operation is encrypted. The expected format is
         `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
         
        string kms_key_name = 6 [(.google.api.resource_reference) = { ... }
        Returns:
        The kmsKeyName.
      • getKmsKeyNameBytes

        com.google.protobuf.ByteString getKmsKeyNameBytes()
         The [KMS key
         name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which
         the content of the Operation is encrypted. The expected format is
         `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
         
        string kms_key_name = 6 [(.google.api.resource_reference) = { ... }
        Returns:
        The bytes for kmsKeyName.
      • getKmsKeyVersionName

        String getKmsKeyVersionName()
         The [KMS key version
         name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions)
         with which content of the Operation is encrypted. The expected format is
         `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`.
         
        string kms_key_version_name = 7 [(.google.api.resource_reference) = { ... }
        Returns:
        The kmsKeyVersionName.
      • getKmsKeyVersionNameBytes

        com.google.protobuf.ByteString getKmsKeyVersionNameBytes()
         The [KMS key version
         name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions)
         with which content of the Operation is encrypted. The expected format is
         `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`.
         
        string kms_key_version_name = 7 [(.google.api.resource_reference) = { ... }
        Returns:
        The bytes for kmsKeyVersionName.
      • hasBatchRecognizeRequest

        boolean hasBatchRecognizeRequest()
         The BatchRecognizeRequest that spawned the Operation.
         
        .google.cloud.speech.v2.BatchRecognizeRequest batch_recognize_request = 8;
        Returns:
        Whether the batchRecognizeRequest field is set.
      • getBatchRecognizeRequest

        BatchRecognizeRequest getBatchRecognizeRequest()
         The BatchRecognizeRequest that spawned the Operation.
         
        .google.cloud.speech.v2.BatchRecognizeRequest batch_recognize_request = 8;
        Returns:
        The batchRecognizeRequest.
      • getBatchRecognizeRequestOrBuilder

        BatchRecognizeRequestOrBuilder getBatchRecognizeRequestOrBuilder()
         The BatchRecognizeRequest that spawned the Operation.
         
        .google.cloud.speech.v2.BatchRecognizeRequest batch_recognize_request = 8;
      • hasCreateRecognizerRequest

        boolean hasCreateRecognizerRequest()
         The CreateRecognizerRequest that spawned the Operation.
         
        .google.cloud.speech.v2.CreateRecognizerRequest create_recognizer_request = 9;
        Returns:
        Whether the createRecognizerRequest field is set.
      • getCreateRecognizerRequest

        CreateRecognizerRequest getCreateRecognizerRequest()
         The CreateRecognizerRequest that spawned the Operation.
         
        .google.cloud.speech.v2.CreateRecognizerRequest create_recognizer_request = 9;
        Returns:
        The createRecognizerRequest.
      • getCreateRecognizerRequestOrBuilder

        CreateRecognizerRequestOrBuilder getCreateRecognizerRequestOrBuilder()
         The CreateRecognizerRequest that spawned the Operation.
         
        .google.cloud.speech.v2.CreateRecognizerRequest create_recognizer_request = 9;
      • hasUpdateRecognizerRequest

        boolean hasUpdateRecognizerRequest()
         The UpdateRecognizerRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UpdateRecognizerRequest update_recognizer_request = 10;
        Returns:
        Whether the updateRecognizerRequest field is set.
      • getUpdateRecognizerRequest

        UpdateRecognizerRequest getUpdateRecognizerRequest()
         The UpdateRecognizerRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UpdateRecognizerRequest update_recognizer_request = 10;
        Returns:
        The updateRecognizerRequest.
      • getUpdateRecognizerRequestOrBuilder

        UpdateRecognizerRequestOrBuilder getUpdateRecognizerRequestOrBuilder()
         The UpdateRecognizerRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UpdateRecognizerRequest update_recognizer_request = 10;
      • hasDeleteRecognizerRequest

        boolean hasDeleteRecognizerRequest()
         The DeleteRecognizerRequest that spawned the Operation.
         
        .google.cloud.speech.v2.DeleteRecognizerRequest delete_recognizer_request = 11;
        Returns:
        Whether the deleteRecognizerRequest field is set.
      • getDeleteRecognizerRequest

        DeleteRecognizerRequest getDeleteRecognizerRequest()
         The DeleteRecognizerRequest that spawned the Operation.
         
        .google.cloud.speech.v2.DeleteRecognizerRequest delete_recognizer_request = 11;
        Returns:
        The deleteRecognizerRequest.
      • getDeleteRecognizerRequestOrBuilder

        DeleteRecognizerRequestOrBuilder getDeleteRecognizerRequestOrBuilder()
         The DeleteRecognizerRequest that spawned the Operation.
         
        .google.cloud.speech.v2.DeleteRecognizerRequest delete_recognizer_request = 11;
      • hasUndeleteRecognizerRequest

        boolean hasUndeleteRecognizerRequest()
         The UndeleteRecognizerRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UndeleteRecognizerRequest undelete_recognizer_request = 12;
        Returns:
        Whether the undeleteRecognizerRequest field is set.
      • getUndeleteRecognizerRequest

        UndeleteRecognizerRequest getUndeleteRecognizerRequest()
         The UndeleteRecognizerRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UndeleteRecognizerRequest undelete_recognizer_request = 12;
        Returns:
        The undeleteRecognizerRequest.
      • getUndeleteRecognizerRequestOrBuilder

        UndeleteRecognizerRequestOrBuilder getUndeleteRecognizerRequestOrBuilder()
         The UndeleteRecognizerRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UndeleteRecognizerRequest undelete_recognizer_request = 12;
      • hasCreateCustomClassRequest

        boolean hasCreateCustomClassRequest()
         The CreateCustomClassRequest that spawned the Operation.
         
        .google.cloud.speech.v2.CreateCustomClassRequest create_custom_class_request = 13;
        Returns:
        Whether the createCustomClassRequest field is set.
      • getCreateCustomClassRequest

        CreateCustomClassRequest getCreateCustomClassRequest()
         The CreateCustomClassRequest that spawned the Operation.
         
        .google.cloud.speech.v2.CreateCustomClassRequest create_custom_class_request = 13;
        Returns:
        The createCustomClassRequest.
      • getCreateCustomClassRequestOrBuilder

        CreateCustomClassRequestOrBuilder getCreateCustomClassRequestOrBuilder()
         The CreateCustomClassRequest that spawned the Operation.
         
        .google.cloud.speech.v2.CreateCustomClassRequest create_custom_class_request = 13;
      • hasUpdateCustomClassRequest

        boolean hasUpdateCustomClassRequest()
         The UpdateCustomClassRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UpdateCustomClassRequest update_custom_class_request = 14;
        Returns:
        Whether the updateCustomClassRequest field is set.
      • getUpdateCustomClassRequest

        UpdateCustomClassRequest getUpdateCustomClassRequest()
         The UpdateCustomClassRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UpdateCustomClassRequest update_custom_class_request = 14;
        Returns:
        The updateCustomClassRequest.
      • getUpdateCustomClassRequestOrBuilder

        UpdateCustomClassRequestOrBuilder getUpdateCustomClassRequestOrBuilder()
         The UpdateCustomClassRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UpdateCustomClassRequest update_custom_class_request = 14;
      • hasDeleteCustomClassRequest

        boolean hasDeleteCustomClassRequest()
         The DeleteCustomClassRequest that spawned the Operation.
         
        .google.cloud.speech.v2.DeleteCustomClassRequest delete_custom_class_request = 15;
        Returns:
        Whether the deleteCustomClassRequest field is set.
      • getDeleteCustomClassRequest

        DeleteCustomClassRequest getDeleteCustomClassRequest()
         The DeleteCustomClassRequest that spawned the Operation.
         
        .google.cloud.speech.v2.DeleteCustomClassRequest delete_custom_class_request = 15;
        Returns:
        The deleteCustomClassRequest.
      • getDeleteCustomClassRequestOrBuilder

        DeleteCustomClassRequestOrBuilder getDeleteCustomClassRequestOrBuilder()
         The DeleteCustomClassRequest that spawned the Operation.
         
        .google.cloud.speech.v2.DeleteCustomClassRequest delete_custom_class_request = 15;
      • hasUndeleteCustomClassRequest

        boolean hasUndeleteCustomClassRequest()
         The UndeleteCustomClassRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UndeleteCustomClassRequest undelete_custom_class_request = 16;
        Returns:
        Whether the undeleteCustomClassRequest field is set.
      • getUndeleteCustomClassRequest

        UndeleteCustomClassRequest getUndeleteCustomClassRequest()
         The UndeleteCustomClassRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UndeleteCustomClassRequest undelete_custom_class_request = 16;
        Returns:
        The undeleteCustomClassRequest.
      • getUndeleteCustomClassRequestOrBuilder

        UndeleteCustomClassRequestOrBuilder getUndeleteCustomClassRequestOrBuilder()
         The UndeleteCustomClassRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UndeleteCustomClassRequest undelete_custom_class_request = 16;
      • hasCreatePhraseSetRequest

        boolean hasCreatePhraseSetRequest()
         The CreatePhraseSetRequest that spawned the Operation.
         
        .google.cloud.speech.v2.CreatePhraseSetRequest create_phrase_set_request = 17;
        Returns:
        Whether the createPhraseSetRequest field is set.
      • getCreatePhraseSetRequest

        CreatePhraseSetRequest getCreatePhraseSetRequest()
         The CreatePhraseSetRequest that spawned the Operation.
         
        .google.cloud.speech.v2.CreatePhraseSetRequest create_phrase_set_request = 17;
        Returns:
        The createPhraseSetRequest.
      • getCreatePhraseSetRequestOrBuilder

        CreatePhraseSetRequestOrBuilder getCreatePhraseSetRequestOrBuilder()
         The CreatePhraseSetRequest that spawned the Operation.
         
        .google.cloud.speech.v2.CreatePhraseSetRequest create_phrase_set_request = 17;
      • hasUpdatePhraseSetRequest

        boolean hasUpdatePhraseSetRequest()
         The UpdatePhraseSetRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UpdatePhraseSetRequest update_phrase_set_request = 18;
        Returns:
        Whether the updatePhraseSetRequest field is set.
      • getUpdatePhraseSetRequest

        UpdatePhraseSetRequest getUpdatePhraseSetRequest()
         The UpdatePhraseSetRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UpdatePhraseSetRequest update_phrase_set_request = 18;
        Returns:
        The updatePhraseSetRequest.
      • getUpdatePhraseSetRequestOrBuilder

        UpdatePhraseSetRequestOrBuilder getUpdatePhraseSetRequestOrBuilder()
         The UpdatePhraseSetRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UpdatePhraseSetRequest update_phrase_set_request = 18;
      • hasDeletePhraseSetRequest

        boolean hasDeletePhraseSetRequest()
         The DeletePhraseSetRequest that spawned the Operation.
         
        .google.cloud.speech.v2.DeletePhraseSetRequest delete_phrase_set_request = 19;
        Returns:
        Whether the deletePhraseSetRequest field is set.
      • getDeletePhraseSetRequest

        DeletePhraseSetRequest getDeletePhraseSetRequest()
         The DeletePhraseSetRequest that spawned the Operation.
         
        .google.cloud.speech.v2.DeletePhraseSetRequest delete_phrase_set_request = 19;
        Returns:
        The deletePhraseSetRequest.
      • getDeletePhraseSetRequestOrBuilder

        DeletePhraseSetRequestOrBuilder getDeletePhraseSetRequestOrBuilder()
         The DeletePhraseSetRequest that spawned the Operation.
         
        .google.cloud.speech.v2.DeletePhraseSetRequest delete_phrase_set_request = 19;
      • hasUndeletePhraseSetRequest

        boolean hasUndeletePhraseSetRequest()
         The UndeletePhraseSetRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UndeletePhraseSetRequest undelete_phrase_set_request = 20;
        Returns:
        Whether the undeletePhraseSetRequest field is set.
      • getUndeletePhraseSetRequest

        UndeletePhraseSetRequest getUndeletePhraseSetRequest()
         The UndeletePhraseSetRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UndeletePhraseSetRequest undelete_phrase_set_request = 20;
        Returns:
        The undeletePhraseSetRequest.
      • getUndeletePhraseSetRequestOrBuilder

        UndeletePhraseSetRequestOrBuilder getUndeletePhraseSetRequestOrBuilder()
         The UndeletePhraseSetRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UndeletePhraseSetRequest undelete_phrase_set_request = 20;
      • hasUpdateConfigRequest

        @Deprecated
        boolean hasUpdateConfigRequest()
        Deprecated.
        google.cloud.speech.v2.OperationMetadata.update_config_request is deprecated. See google/cloud/speech/v2/cloud_speech.proto;l=419
         The UpdateConfigRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UpdateConfigRequest update_config_request = 21 [deprecated = true];
        Returns:
        Whether the updateConfigRequest field is set.
      • getUpdateConfigRequest

        @Deprecated
        UpdateConfigRequest getUpdateConfigRequest()
        Deprecated.
        google.cloud.speech.v2.OperationMetadata.update_config_request is deprecated. See google/cloud/speech/v2/cloud_speech.proto;l=419
         The UpdateConfigRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UpdateConfigRequest update_config_request = 21 [deprecated = true];
        Returns:
        The updateConfigRequest.
      • getUpdateConfigRequestOrBuilder

        @Deprecated
        UpdateConfigRequestOrBuilder getUpdateConfigRequestOrBuilder()
        Deprecated.
         The UpdateConfigRequest that spawned the Operation.
         
        .google.cloud.speech.v2.UpdateConfigRequest update_config_request = 21 [deprecated = true];
      • getProgressPercent

        int getProgressPercent()
         The percent progress of the Operation. Values can range from 0-100. If the
         value is 100, then the operation is finished.
         
        int32 progress_percent = 22;
        Returns:
        The progressPercent.
      • hasBatchRecognizeMetadata

        boolean hasBatchRecognizeMetadata()
         Metadata specific to the BatchRecognize method.
         
        .google.cloud.speech.v2.BatchRecognizeMetadata batch_recognize_metadata = 23;
        Returns:
        Whether the batchRecognizeMetadata field is set.
      • getBatchRecognizeMetadata

        BatchRecognizeMetadata getBatchRecognizeMetadata()
         Metadata specific to the BatchRecognize method.
         
        .google.cloud.speech.v2.BatchRecognizeMetadata batch_recognize_metadata = 23;
        Returns:
        The batchRecognizeMetadata.
      • getBatchRecognizeMetadataOrBuilder

        BatchRecognizeMetadataOrBuilder getBatchRecognizeMetadataOrBuilder()
         Metadata specific to the BatchRecognize method.
         
        .google.cloud.speech.v2.BatchRecognizeMetadata batch_recognize_metadata = 23;