Interface OperationMetadataOrBuilder (4.11.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
TypeDescription
BatchRecognizeMetadata

The batchRecognizeMetadata.

getBatchRecognizeMetadataOrBuilder()

public abstract BatchRecognizeMetadataOrBuilder getBatchRecognizeMetadataOrBuilder()

Metadata specific to the BatchRecognize method.

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

Returns
TypeDescription
BatchRecognizeMetadataOrBuilder

getBatchRecognizeRequest()

public abstract BatchRecognizeRequest getBatchRecognizeRequest()

The BatchRecognizeRequest that spawned the Operation.

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

Returns
TypeDescription
BatchRecognizeRequest

The batchRecognizeRequest.

getBatchRecognizeRequestOrBuilder()

public abstract BatchRecognizeRequestOrBuilder getBatchRecognizeRequestOrBuilder()

The BatchRecognizeRequest that spawned the Operation.

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

Returns
TypeDescription
BatchRecognizeRequestOrBuilder

getCreateCustomClassRequest()

public abstract CreateCustomClassRequest getCreateCustomClassRequest()

The CreateCustomClassRequest that spawned the Operation.

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

Returns
TypeDescription
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
TypeDescription
CreateCustomClassRequestOrBuilder

getCreatePhraseSetRequest()

public abstract CreatePhraseSetRequest getCreatePhraseSetRequest()

The CreatePhraseSetRequest that spawned the Operation.

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

Returns
TypeDescription
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
TypeDescription
CreatePhraseSetRequestOrBuilder

getCreateRecognizerRequest()

public abstract CreateRecognizerRequest getCreateRecognizerRequest()

The CreateRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
CreateRecognizerRequest

The createRecognizerRequest.

getCreateRecognizerRequestOrBuilder()

public abstract CreateRecognizerRequestOrBuilder getCreateRecognizerRequestOrBuilder()

The CreateRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
CreateRecognizerRequestOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getDeleteCustomClassRequest()

public abstract DeleteCustomClassRequest getDeleteCustomClassRequest()

The DeleteCustomClassRequest that spawned the Operation.

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

Returns
TypeDescription
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
TypeDescription
DeleteCustomClassRequestOrBuilder

getDeletePhraseSetRequest()

public abstract DeletePhraseSetRequest getDeletePhraseSetRequest()

The DeletePhraseSetRequest that spawned the Operation.

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

Returns
TypeDescription
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
TypeDescription
DeletePhraseSetRequestOrBuilder

getDeleteRecognizerRequest()

public abstract DeleteRecognizerRequest getDeleteRecognizerRequest()

The DeleteRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
DeleteRecognizerRequest

The deleteRecognizerRequest.

getDeleteRecognizerRequestOrBuilder()

public abstract DeleteRecognizerRequestOrBuilder getDeleteRecognizerRequestOrBuilder()

The DeleteRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for kmsKeyVersionName.

getMetadataCase()

public abstract OperationMetadata.MetadataCase getMetadataCase()
Returns
TypeDescription
OperationMetadata.MetadataCase

getMethod()

public abstract String getMethod()

The method that triggered the operation.

string method = 4;

Returns
TypeDescription
String

The method.

getMethodBytes()

public abstract ByteString getMethodBytes()

The method that triggered the operation.

string method = 4;

Returns
TypeDescription
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
TypeDescription
int

The progressPercent.

getRequestCase()

public abstract OperationMetadata.RequestCase getRequestCase()
Returns
TypeDescription
OperationMetadata.RequestCase

getResource()

public abstract String getResource()

The resource path for the target of the operation.

string resource = 3;

Returns
TypeDescription
String

The resource.

getResourceBytes()

public abstract ByteString getResourceBytes()

The resource path for the target of the operation.

string resource = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
UndeleteCustomClassRequestOrBuilder

getUndeletePhraseSetRequest()

public abstract UndeletePhraseSetRequest getUndeletePhraseSetRequest()

The UndeletePhraseSetRequest that spawned the Operation.

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

Returns
TypeDescription
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
TypeDescription
UndeletePhraseSetRequestOrBuilder

getUndeleteRecognizerRequest()

public abstract UndeleteRecognizerRequest getUndeleteRecognizerRequest()

The UndeleteRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
UndeleteRecognizerRequest

The undeleteRecognizerRequest.

getUndeleteRecognizerRequestOrBuilder()

public abstract UndeleteRecognizerRequestOrBuilder getUndeleteRecognizerRequestOrBuilder()

The UndeleteRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
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
TypeDescription
UpdateConfigRequest

The updateConfigRequest.

getUpdateConfigRequestOrBuilder()

public abstract UpdateConfigRequestOrBuilder getUpdateConfigRequestOrBuilder()

The UpdateConfigRequest that spawned the Operation.

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

Returns
TypeDescription
UpdateConfigRequestOrBuilder

getUpdateCustomClassRequest()

public abstract UpdateCustomClassRequest getUpdateCustomClassRequest()

The UpdateCustomClassRequest that spawned the Operation.

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

Returns
TypeDescription
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
TypeDescription
UpdateCustomClassRequestOrBuilder

getUpdatePhraseSetRequest()

public abstract UpdatePhraseSetRequest getUpdatePhraseSetRequest()

The UpdatePhraseSetRequest that spawned the Operation.

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

Returns
TypeDescription
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
TypeDescription
UpdatePhraseSetRequestOrBuilder

getUpdateRecognizerRequest()

public abstract UpdateRecognizerRequest getUpdateRecognizerRequest()

The UpdateRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
UpdateRecognizerRequest

The updateRecognizerRequest.

getUpdateRecognizerRequestOrBuilder()

public abstract UpdateRecognizerRequestOrBuilder getUpdateRecognizerRequestOrBuilder()

The UpdateRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
UpdateRecognizerRequestOrBuilder

getUpdateTime()

public abstract Timestamp getUpdateTime()

The time the operation was last updated.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

The time the operation was last updated.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
TimestampOrBuilder

hasBatchRecognizeMetadata()

public abstract boolean hasBatchRecognizeMetadata()

Metadata specific to the BatchRecognize method.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.