Interface OperationMetadataOrBuilder (4.37.0)

public interface OperationMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBatchRecognizeMetadata()

public abstract BatchRecognizeMetadata getBatchRecognizeMetadata()

Metadata specific to the BatchRecognize method.

.google.cloud.speech.v2.BatchRecognizeMetadata batch_recognize_metadata = 23;

Returns
Type Description
BatchRecognizeMetadata

The batchRecognizeMetadata.

getBatchRecognizeMetadataOrBuilder()

public abstract BatchRecognizeMetadataOrBuilder getBatchRecognizeMetadataOrBuilder()

Metadata specific to the BatchRecognize method.

.google.cloud.speech.v2.BatchRecognizeMetadata batch_recognize_metadata = 23;

Returns
Type Description
BatchRecognizeMetadataOrBuilder

getBatchRecognizeRequest()

public abstract BatchRecognizeRequest getBatchRecognizeRequest()

The BatchRecognizeRequest that spawned the Operation.

.google.cloud.speech.v2.BatchRecognizeRequest batch_recognize_request = 8;

Returns
Type Description
BatchRecognizeRequest

The batchRecognizeRequest.

getBatchRecognizeRequestOrBuilder()

public abstract BatchRecognizeRequestOrBuilder getBatchRecognizeRequestOrBuilder()

The BatchRecognizeRequest that spawned the Operation.

.google.cloud.speech.v2.BatchRecognizeRequest batch_recognize_request = 8;

Returns
Type Description
BatchRecognizeRequestOrBuilder

getCreateCustomClassRequest()

public abstract CreateCustomClassRequest getCreateCustomClassRequest()

The CreateCustomClassRequest that spawned the Operation.

.google.cloud.speech.v2.CreateCustomClassRequest create_custom_class_request = 13;

Returns
Type Description
CreateCustomClassRequest

The createCustomClassRequest.

getCreateCustomClassRequestOrBuilder()

public abstract CreateCustomClassRequestOrBuilder getCreateCustomClassRequestOrBuilder()

The CreateCustomClassRequest that spawned the Operation.

.google.cloud.speech.v2.CreateCustomClassRequest create_custom_class_request = 13;

Returns
Type Description
CreateCustomClassRequestOrBuilder

getCreatePhraseSetRequest()

public abstract CreatePhraseSetRequest getCreatePhraseSetRequest()

The CreatePhraseSetRequest that spawned the Operation.

.google.cloud.speech.v2.CreatePhraseSetRequest create_phrase_set_request = 17;

Returns
Type Description
CreatePhraseSetRequest

The createPhraseSetRequest.

getCreatePhraseSetRequestOrBuilder()

public abstract CreatePhraseSetRequestOrBuilder getCreatePhraseSetRequestOrBuilder()

The CreatePhraseSetRequest that spawned the Operation.

.google.cloud.speech.v2.CreatePhraseSetRequest create_phrase_set_request = 17;

Returns
Type Description
CreatePhraseSetRequestOrBuilder

getCreateRecognizerRequest()

public abstract CreateRecognizerRequest getCreateRecognizerRequest()

The CreateRecognizerRequest that spawned the Operation.

.google.cloud.speech.v2.CreateRecognizerRequest create_recognizer_request = 9;

Returns
Type Description
CreateRecognizerRequest

The createRecognizerRequest.

getCreateRecognizerRequestOrBuilder()

public abstract CreateRecognizerRequestOrBuilder getCreateRecognizerRequestOrBuilder()

The CreateRecognizerRequest that spawned the Operation.

.google.cloud.speech.v2.CreateRecognizerRequest create_recognizer_request = 9;

Returns
Type Description
CreateRecognizerRequestOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
TimestampOrBuilder

getDeleteCustomClassRequest()

public abstract DeleteCustomClassRequest getDeleteCustomClassRequest()

The DeleteCustomClassRequest that spawned the Operation.

.google.cloud.speech.v2.DeleteCustomClassRequest delete_custom_class_request = 15;

Returns
Type Description
DeleteCustomClassRequest

The deleteCustomClassRequest.

getDeleteCustomClassRequestOrBuilder()

public abstract DeleteCustomClassRequestOrBuilder getDeleteCustomClassRequestOrBuilder()

The DeleteCustomClassRequest that spawned the Operation.

.google.cloud.speech.v2.DeleteCustomClassRequest delete_custom_class_request = 15;

Returns
Type Description
DeleteCustomClassRequestOrBuilder

getDeletePhraseSetRequest()

public abstract DeletePhraseSetRequest getDeletePhraseSetRequest()

The DeletePhraseSetRequest that spawned the Operation.

.google.cloud.speech.v2.DeletePhraseSetRequest delete_phrase_set_request = 19;

Returns
Type Description
DeletePhraseSetRequest

The deletePhraseSetRequest.

getDeletePhraseSetRequestOrBuilder()

public abstract DeletePhraseSetRequestOrBuilder getDeletePhraseSetRequestOrBuilder()

The DeletePhraseSetRequest that spawned the Operation.

.google.cloud.speech.v2.DeletePhraseSetRequest delete_phrase_set_request = 19;

Returns
Type Description
DeletePhraseSetRequestOrBuilder

getDeleteRecognizerRequest()

public abstract DeleteRecognizerRequest getDeleteRecognizerRequest()

The DeleteRecognizerRequest that spawned the Operation.

.google.cloud.speech.v2.DeleteRecognizerRequest delete_recognizer_request = 11;

Returns
Type Description
DeleteRecognizerRequest

The deleteRecognizerRequest.

getDeleteRecognizerRequestOrBuilder()

public abstract DeleteRecognizerRequestOrBuilder getDeleteRecognizerRequestOrBuilder()

The DeleteRecognizerRequest that spawned the Operation.

.google.cloud.speech.v2.DeleteRecognizerRequest delete_recognizer_request = 11;

Returns
Type Description
DeleteRecognizerRequestOrBuilder

getKmsKeyName()

public abstract String getKmsKeyName()

The KMS key name 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
Type Description
String

The kmsKeyName.

getKmsKeyNameBytes()

public abstract ByteString getKmsKeyNameBytes()

The KMS key name 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
Type Description
ByteString

The bytes for kmsKeyName.

getKmsKeyVersionName()

public abstract String getKmsKeyVersionName()

The KMS key version name 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
Type Description
String

The kmsKeyVersionName.

getKmsKeyVersionNameBytes()

public abstract ByteString getKmsKeyVersionNameBytes()

The KMS key version name 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
Type Description
ByteString

The bytes for kmsKeyVersionName.

getMetadataCase()

public abstract OperationMetadata.MetadataCase getMetadataCase()
Returns
Type Description
OperationMetadata.MetadataCase

getMethod()

public abstract String getMethod()

The method that triggered the operation.

string method = 4;

Returns
Type Description
String

The method.

getMethodBytes()

public abstract ByteString getMethodBytes()

The method that triggered the operation.

string method = 4;

Returns
Type Description
ByteString

The bytes for method.

getProgressPercent()

public abstract 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
Type Description
int

The progressPercent.

getRequestCase()

public abstract OperationMetadata.RequestCase getRequestCase()
Returns
Type Description
OperationMetadata.RequestCase

getResource()

public abstract String getResource()

The resource path for the target of the operation.

string resource = 3;

Returns
Type Description
String

The resource.

getResourceBytes()

public abstract ByteString getResourceBytes()

The resource path for the target of the operation.

string resource = 3;

Returns
Type Description
ByteString

The bytes for resource.

getUndeleteCustomClassRequest()

public abstract UndeleteCustomClassRequest getUndeleteCustomClassRequest()

The UndeleteCustomClassRequest that spawned the Operation.

.google.cloud.speech.v2.UndeleteCustomClassRequest undelete_custom_class_request = 16;

Returns
Type Description
UndeleteCustomClassRequest

The undeleteCustomClassRequest.

getUndeleteCustomClassRequestOrBuilder()

public abstract UndeleteCustomClassRequestOrBuilder getUndeleteCustomClassRequestOrBuilder()

The UndeleteCustomClassRequest that spawned the Operation.

.google.cloud.speech.v2.UndeleteCustomClassRequest undelete_custom_class_request = 16;

Returns
Type Description
UndeleteCustomClassRequestOrBuilder

getUndeletePhraseSetRequest()

public abstract UndeletePhraseSetRequest getUndeletePhraseSetRequest()

The UndeletePhraseSetRequest that spawned the Operation.

.google.cloud.speech.v2.UndeletePhraseSetRequest undelete_phrase_set_request = 20;

Returns
Type Description
UndeletePhraseSetRequest

The undeletePhraseSetRequest.

getUndeletePhraseSetRequestOrBuilder()

public abstract UndeletePhraseSetRequestOrBuilder getUndeletePhraseSetRequestOrBuilder()

The UndeletePhraseSetRequest that spawned the Operation.

.google.cloud.speech.v2.UndeletePhraseSetRequest undelete_phrase_set_request = 20;

Returns
Type Description
UndeletePhraseSetRequestOrBuilder

getUndeleteRecognizerRequest()

public abstract UndeleteRecognizerRequest getUndeleteRecognizerRequest()

The UndeleteRecognizerRequest that spawned the Operation.

.google.cloud.speech.v2.UndeleteRecognizerRequest undelete_recognizer_request = 12;

Returns
Type Description
UndeleteRecognizerRequest

The undeleteRecognizerRequest.

getUndeleteRecognizerRequestOrBuilder()

public abstract UndeleteRecognizerRequestOrBuilder getUndeleteRecognizerRequestOrBuilder()

The UndeleteRecognizerRequest that spawned the Operation.

.google.cloud.speech.v2.UndeleteRecognizerRequest undelete_recognizer_request = 12;

Returns
Type Description
UndeleteRecognizerRequestOrBuilder

getUpdateConfigRequest() (deprecated)

public abstract 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
Type Description
UpdateConfigRequest

The updateConfigRequest.

getUpdateConfigRequestOrBuilder() (deprecated)

public abstract UpdateConfigRequestOrBuilder getUpdateConfigRequestOrBuilder()

The UpdateConfigRequest that spawned the Operation.

.google.cloud.speech.v2.UpdateConfigRequest update_config_request = 21 [deprecated = true];

Returns
Type Description
UpdateConfigRequestOrBuilder

getUpdateCustomClassRequest()

public abstract UpdateCustomClassRequest getUpdateCustomClassRequest()

The UpdateCustomClassRequest that spawned the Operation.

.google.cloud.speech.v2.UpdateCustomClassRequest update_custom_class_request = 14;

Returns
Type Description
UpdateCustomClassRequest

The updateCustomClassRequest.

getUpdateCustomClassRequestOrBuilder()

public abstract UpdateCustomClassRequestOrBuilder getUpdateCustomClassRequestOrBuilder()

The UpdateCustomClassRequest that spawned the Operation.

.google.cloud.speech.v2.UpdateCustomClassRequest update_custom_class_request = 14;

Returns
Type Description
UpdateCustomClassRequestOrBuilder

getUpdatePhraseSetRequest()

public abstract UpdatePhraseSetRequest getUpdatePhraseSetRequest()

The UpdatePhraseSetRequest that spawned the Operation.

.google.cloud.speech.v2.UpdatePhraseSetRequest update_phrase_set_request = 18;

Returns
Type Description
UpdatePhraseSetRequest

The updatePhraseSetRequest.

getUpdatePhraseSetRequestOrBuilder()

public abstract UpdatePhraseSetRequestOrBuilder getUpdatePhraseSetRequestOrBuilder()

The UpdatePhraseSetRequest that spawned the Operation.

.google.cloud.speech.v2.UpdatePhraseSetRequest update_phrase_set_request = 18;

Returns
Type Description
UpdatePhraseSetRequestOrBuilder

getUpdateRecognizerRequest()

public abstract UpdateRecognizerRequest getUpdateRecognizerRequest()

The UpdateRecognizerRequest that spawned the Operation.

.google.cloud.speech.v2.UpdateRecognizerRequest update_recognizer_request = 10;

Returns
Type Description
UpdateRecognizerRequest

The updateRecognizerRequest.

getUpdateRecognizerRequestOrBuilder()

public abstract UpdateRecognizerRequestOrBuilder getUpdateRecognizerRequestOrBuilder()

The UpdateRecognizerRequest that spawned the Operation.

.google.cloud.speech.v2.UpdateRecognizerRequest update_recognizer_request = 10;

Returns
Type Description
UpdateRecognizerRequestOrBuilder

getUpdateTime()

public abstract Timestamp getUpdateTime()

The time the operation was last updated.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

The time the operation was last updated.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
TimestampOrBuilder

hasBatchRecognizeMetadata()

public abstract boolean hasBatchRecognizeMetadata()

Metadata specific to the BatchRecognize method.

.google.cloud.speech.v2.BatchRecognizeMetadata batch_recognize_metadata = 23;

Returns
Type Description
boolean

Whether the batchRecognizeMetadata field is set.

hasBatchRecognizeRequest()

public abstract boolean hasBatchRecognizeRequest()

The BatchRecognizeRequest that spawned the Operation.

.google.cloud.speech.v2.BatchRecognizeRequest batch_recognize_request = 8;

Returns
Type Description
boolean

Whether the batchRecognizeRequest field is set.

hasCreateCustomClassRequest()

public abstract boolean hasCreateCustomClassRequest()

The CreateCustomClassRequest that spawned the Operation.

.google.cloud.speech.v2.CreateCustomClassRequest create_custom_class_request = 13;

Returns
Type Description
boolean

Whether the createCustomClassRequest field is set.

hasCreatePhraseSetRequest()

public abstract boolean hasCreatePhraseSetRequest()

The CreatePhraseSetRequest that spawned the Operation.

.google.cloud.speech.v2.CreatePhraseSetRequest create_phrase_set_request = 17;

Returns
Type Description
boolean

Whether the createPhraseSetRequest field is set.

hasCreateRecognizerRequest()

public abstract boolean hasCreateRecognizerRequest()

The CreateRecognizerRequest that spawned the Operation.

.google.cloud.speech.v2.CreateRecognizerRequest create_recognizer_request = 9;

Returns
Type Description
boolean

Whether the createRecognizerRequest field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
boolean

Whether the createTime field is set.

hasDeleteCustomClassRequest()

public abstract boolean hasDeleteCustomClassRequest()

The DeleteCustomClassRequest that spawned the Operation.

.google.cloud.speech.v2.DeleteCustomClassRequest delete_custom_class_request = 15;

Returns
Type Description
boolean

Whether the deleteCustomClassRequest field is set.

hasDeletePhraseSetRequest()

public abstract boolean hasDeletePhraseSetRequest()

The DeletePhraseSetRequest that spawned the Operation.

.google.cloud.speech.v2.DeletePhraseSetRequest delete_phrase_set_request = 19;

Returns
Type Description
boolean

Whether the deletePhraseSetRequest field is set.

hasDeleteRecognizerRequest()

public abstract boolean hasDeleteRecognizerRequest()

The DeleteRecognizerRequest that spawned the Operation.

.google.cloud.speech.v2.DeleteRecognizerRequest delete_recognizer_request = 11;

Returns
Type Description
boolean

Whether the deleteRecognizerRequest field is set.

hasUndeleteCustomClassRequest()

public abstract boolean hasUndeleteCustomClassRequest()

The UndeleteCustomClassRequest that spawned the Operation.

.google.cloud.speech.v2.UndeleteCustomClassRequest undelete_custom_class_request = 16;

Returns
Type Description
boolean

Whether the undeleteCustomClassRequest field is set.

hasUndeletePhraseSetRequest()

public abstract boolean hasUndeletePhraseSetRequest()

The UndeletePhraseSetRequest that spawned the Operation.

.google.cloud.speech.v2.UndeletePhraseSetRequest undelete_phrase_set_request = 20;

Returns
Type Description
boolean

Whether the undeletePhraseSetRequest field is set.

hasUndeleteRecognizerRequest()

public abstract boolean hasUndeleteRecognizerRequest()

The UndeleteRecognizerRequest that spawned the Operation.

.google.cloud.speech.v2.UndeleteRecognizerRequest undelete_recognizer_request = 12;

Returns
Type Description
boolean

Whether the undeleteRecognizerRequest field is set.

hasUpdateConfigRequest() (deprecated)

public abstract 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
Type Description
boolean

Whether the updateConfigRequest field is set.

hasUpdateCustomClassRequest()

public abstract boolean hasUpdateCustomClassRequest()

The UpdateCustomClassRequest that spawned the Operation.

.google.cloud.speech.v2.UpdateCustomClassRequest update_custom_class_request = 14;

Returns
Type Description
boolean

Whether the updateCustomClassRequest field is set.

hasUpdatePhraseSetRequest()

public abstract boolean hasUpdatePhraseSetRequest()

The UpdatePhraseSetRequest that spawned the Operation.

.google.cloud.speech.v2.UpdatePhraseSetRequest update_phrase_set_request = 18;

Returns
Type Description
boolean

Whether the updatePhraseSetRequest field is set.

hasUpdateRecognizerRequest()

public abstract boolean hasUpdateRecognizerRequest()

The UpdateRecognizerRequest that spawned the Operation.

.google.cloud.speech.v2.UpdateRecognizerRequest update_recognizer_request = 10;

Returns
Type Description
boolean

Whether the updateRecognizerRequest field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

The time the operation was last updated.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
boolean

Whether the updateTime field is set.