Class OperationMetadata.Builder (4.40.0)

public static final class OperationMetadata.Builder extends GeneratedMessageV3.Builder<OperationMetadata.Builder> implements OperationMetadataOrBuilder

Represents the metadata of a long-running operation.

Protobuf type google.cloud.speech.v2.OperationMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OperationMetadata.Builder
Overrides

build()

public OperationMetadata build()
Returns
Type Description
OperationMetadata

buildPartial()

public OperationMetadata buildPartial()
Returns
Type Description
OperationMetadata

clear()

public OperationMetadata.Builder clear()
Returns
Type Description
OperationMetadata.Builder
Overrides

clearBatchRecognizeMetadata()

public OperationMetadata.Builder clearBatchRecognizeMetadata()

Metadata specific to the BatchRecognize method.

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

Returns
Type Description
OperationMetadata.Builder

clearBatchRecognizeRequest()

public OperationMetadata.Builder clearBatchRecognizeRequest()

The BatchRecognizeRequest that spawned the Operation.

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

Returns
Type Description
OperationMetadata.Builder

clearCreateCustomClassRequest()

public OperationMetadata.Builder clearCreateCustomClassRequest()

The CreateCustomClassRequest that spawned the Operation.

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

Returns
Type Description
OperationMetadata.Builder

clearCreatePhraseSetRequest()

public OperationMetadata.Builder clearCreatePhraseSetRequest()

The CreatePhraseSetRequest that spawned the Operation.

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

Returns
Type Description
OperationMetadata.Builder

clearCreateRecognizerRequest()

public OperationMetadata.Builder clearCreateRecognizerRequest()

The CreateRecognizerRequest that spawned the Operation.

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

Returns
Type Description
OperationMetadata.Builder

clearCreateTime()

public OperationMetadata.Builder clearCreateTime()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
OperationMetadata.Builder

clearDeleteCustomClassRequest()

public OperationMetadata.Builder clearDeleteCustomClassRequest()

The DeleteCustomClassRequest that spawned the Operation.

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

Returns
Type Description
OperationMetadata.Builder

clearDeletePhraseSetRequest()

public OperationMetadata.Builder clearDeletePhraseSetRequest()

The DeletePhraseSetRequest that spawned the Operation.

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

Returns
Type Description
OperationMetadata.Builder

clearDeleteRecognizerRequest()

public OperationMetadata.Builder clearDeleteRecognizerRequest()

The DeleteRecognizerRequest that spawned the Operation.

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

Returns
Type Description
OperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public OperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OperationMetadata.Builder
Overrides

clearKmsKeyName()

public OperationMetadata.Builder clearKmsKeyName()

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
OperationMetadata.Builder

This builder for chaining.

clearKmsKeyVersionName()

public OperationMetadata.Builder clearKmsKeyVersionName()

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
OperationMetadata.Builder

This builder for chaining.

clearMetadata()

public OperationMetadata.Builder clearMetadata()
Returns
Type Description
OperationMetadata.Builder

clearMethod()

public OperationMetadata.Builder clearMethod()

The method that triggered the operation.

string method = 4;

Returns
Type Description
OperationMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public OperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OperationMetadata.Builder
Overrides

clearProgressPercent()

public OperationMetadata.Builder clearProgressPercent()

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
OperationMetadata.Builder

This builder for chaining.

clearRequest()

public OperationMetadata.Builder clearRequest()
Returns
Type Description
OperationMetadata.Builder

clearResource()

public OperationMetadata.Builder clearResource()

The resource path for the target of the operation.

string resource = 3;

Returns
Type Description
OperationMetadata.Builder

This builder for chaining.

clearUndeleteCustomClassRequest()

public OperationMetadata.Builder clearUndeleteCustomClassRequest()

The UndeleteCustomClassRequest that spawned the Operation.

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

Returns
Type Description
OperationMetadata.Builder

clearUndeletePhraseSetRequest()

public OperationMetadata.Builder clearUndeletePhraseSetRequest()

The UndeletePhraseSetRequest that spawned the Operation.

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

Returns
Type Description
OperationMetadata.Builder

clearUndeleteRecognizerRequest()

public OperationMetadata.Builder clearUndeleteRecognizerRequest()

The UndeleteRecognizerRequest that spawned the Operation.

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

Returns
Type Description
OperationMetadata.Builder

clearUpdateConfigRequest() (deprecated)

public OperationMetadata.Builder clearUpdateConfigRequest()

The UpdateConfigRequest that spawned the Operation.

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

Returns
Type Description
OperationMetadata.Builder

clearUpdateCustomClassRequest()

public OperationMetadata.Builder clearUpdateCustomClassRequest()

The UpdateCustomClassRequest that spawned the Operation.

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

Returns
Type Description
OperationMetadata.Builder

clearUpdatePhraseSetRequest()

public OperationMetadata.Builder clearUpdatePhraseSetRequest()

The UpdatePhraseSetRequest that spawned the Operation.

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

Returns
Type Description
OperationMetadata.Builder

clearUpdateRecognizerRequest()

public OperationMetadata.Builder clearUpdateRecognizerRequest()

The UpdateRecognizerRequest that spawned the Operation.

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

Returns
Type Description
OperationMetadata.Builder

clearUpdateTime()

public OperationMetadata.Builder clearUpdateTime()

The time the operation was last updated.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
OperationMetadata.Builder

clone()

public OperationMetadata.Builder clone()
Returns
Type Description
OperationMetadata.Builder
Overrides

getBatchRecognizeMetadata()

public BatchRecognizeMetadata getBatchRecognizeMetadata()

Metadata specific to the BatchRecognize method.

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

Returns
Type Description
BatchRecognizeMetadata

The batchRecognizeMetadata.

getBatchRecognizeMetadataBuilder()

public BatchRecognizeMetadata.Builder getBatchRecognizeMetadataBuilder()

Metadata specific to the BatchRecognize method.

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

Returns
Type Description
BatchRecognizeMetadata.Builder

getBatchRecognizeMetadataOrBuilder()

public BatchRecognizeMetadataOrBuilder getBatchRecognizeMetadataOrBuilder()

Metadata specific to the BatchRecognize method.

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

Returns
Type Description
BatchRecognizeMetadataOrBuilder

getBatchRecognizeRequest()

public BatchRecognizeRequest getBatchRecognizeRequest()

The BatchRecognizeRequest that spawned the Operation.

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

Returns
Type Description
BatchRecognizeRequest

The batchRecognizeRequest.

getBatchRecognizeRequestBuilder()

public BatchRecognizeRequest.Builder getBatchRecognizeRequestBuilder()

The BatchRecognizeRequest that spawned the Operation.

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

Returns
Type Description
BatchRecognizeRequest.Builder

getBatchRecognizeRequestOrBuilder()

public BatchRecognizeRequestOrBuilder getBatchRecognizeRequestOrBuilder()

The BatchRecognizeRequest that spawned the Operation.

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

Returns
Type Description
BatchRecognizeRequestOrBuilder

getCreateCustomClassRequest()

public CreateCustomClassRequest getCreateCustomClassRequest()

The CreateCustomClassRequest that spawned the Operation.

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

Returns
Type Description
CreateCustomClassRequest

The createCustomClassRequest.

getCreateCustomClassRequestBuilder()

public CreateCustomClassRequest.Builder getCreateCustomClassRequestBuilder()

The CreateCustomClassRequest that spawned the Operation.

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

Returns
Type Description
CreateCustomClassRequest.Builder

getCreateCustomClassRequestOrBuilder()

public CreateCustomClassRequestOrBuilder getCreateCustomClassRequestOrBuilder()

The CreateCustomClassRequest that spawned the Operation.

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

Returns
Type Description
CreateCustomClassRequestOrBuilder

getCreatePhraseSetRequest()

public CreatePhraseSetRequest getCreatePhraseSetRequest()

The CreatePhraseSetRequest that spawned the Operation.

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

Returns
Type Description
CreatePhraseSetRequest

The createPhraseSetRequest.

getCreatePhraseSetRequestBuilder()

public CreatePhraseSetRequest.Builder getCreatePhraseSetRequestBuilder()

The CreatePhraseSetRequest that spawned the Operation.

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

Returns
Type Description
CreatePhraseSetRequest.Builder

getCreatePhraseSetRequestOrBuilder()

public CreatePhraseSetRequestOrBuilder getCreatePhraseSetRequestOrBuilder()

The CreatePhraseSetRequest that spawned the Operation.

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

Returns
Type Description
CreatePhraseSetRequestOrBuilder

getCreateRecognizerRequest()

public CreateRecognizerRequest getCreateRecognizerRequest()

The CreateRecognizerRequest that spawned the Operation.

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

Returns
Type Description
CreateRecognizerRequest

The createRecognizerRequest.

getCreateRecognizerRequestBuilder()

public CreateRecognizerRequest.Builder getCreateRecognizerRequestBuilder()

The CreateRecognizerRequest that spawned the Operation.

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

Returns
Type Description
CreateRecognizerRequest.Builder

getCreateRecognizerRequestOrBuilder()

public CreateRecognizerRequestOrBuilder getCreateRecognizerRequestOrBuilder()

The CreateRecognizerRequest that spawned the Operation.

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

Returns
Type Description
CreateRecognizerRequestOrBuilder

getCreateTime()

public Timestamp getCreateTime()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public OperationMetadata getDefaultInstanceForType()
Returns
Type Description
OperationMetadata

getDeleteCustomClassRequest()

public DeleteCustomClassRequest getDeleteCustomClassRequest()

The DeleteCustomClassRequest that spawned the Operation.

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

Returns
Type Description
DeleteCustomClassRequest

The deleteCustomClassRequest.

getDeleteCustomClassRequestBuilder()

public DeleteCustomClassRequest.Builder getDeleteCustomClassRequestBuilder()

The DeleteCustomClassRequest that spawned the Operation.

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

Returns
Type Description
DeleteCustomClassRequest.Builder

getDeleteCustomClassRequestOrBuilder()

public DeleteCustomClassRequestOrBuilder getDeleteCustomClassRequestOrBuilder()

The DeleteCustomClassRequest that spawned the Operation.

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

Returns
Type Description
DeleteCustomClassRequestOrBuilder

getDeletePhraseSetRequest()

public DeletePhraseSetRequest getDeletePhraseSetRequest()

The DeletePhraseSetRequest that spawned the Operation.

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

Returns
Type Description
DeletePhraseSetRequest

The deletePhraseSetRequest.

getDeletePhraseSetRequestBuilder()

public DeletePhraseSetRequest.Builder getDeletePhraseSetRequestBuilder()

The DeletePhraseSetRequest that spawned the Operation.

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

Returns
Type Description
DeletePhraseSetRequest.Builder

getDeletePhraseSetRequestOrBuilder()

public DeletePhraseSetRequestOrBuilder getDeletePhraseSetRequestOrBuilder()

The DeletePhraseSetRequest that spawned the Operation.

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

Returns
Type Description
DeletePhraseSetRequestOrBuilder

getDeleteRecognizerRequest()

public DeleteRecognizerRequest getDeleteRecognizerRequest()

The DeleteRecognizerRequest that spawned the Operation.

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

Returns
Type Description
DeleteRecognizerRequest

The deleteRecognizerRequest.

getDeleteRecognizerRequestBuilder()

public DeleteRecognizerRequest.Builder getDeleteRecognizerRequestBuilder()

The DeleteRecognizerRequest that spawned the Operation.

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

Returns
Type Description
DeleteRecognizerRequest.Builder

getDeleteRecognizerRequestOrBuilder()

public DeleteRecognizerRequestOrBuilder getDeleteRecognizerRequestOrBuilder()

The DeleteRecognizerRequest that spawned the Operation.

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

Returns
Type Description
DeleteRecognizerRequestOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKmsKeyName()

public 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 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 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 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 OperationMetadata.MetadataCase getMetadataCase()
Returns
Type Description
OperationMetadata.MetadataCase

getMethod()

public String getMethod()

The method that triggered the operation.

string method = 4;

Returns
Type Description
String

The method.

getMethodBytes()

public ByteString getMethodBytes()

The method that triggered the operation.

string method = 4;

Returns
Type Description
ByteString

The bytes for method.

getProgressPercent()

public 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 OperationMetadata.RequestCase getRequestCase()
Returns
Type Description
OperationMetadata.RequestCase

getResource()

public String getResource()

The resource path for the target of the operation.

string resource = 3;

Returns
Type Description
String

The resource.

getResourceBytes()

public ByteString getResourceBytes()

The resource path for the target of the operation.

string resource = 3;

Returns
Type Description
ByteString

The bytes for resource.

getUndeleteCustomClassRequest()

public UndeleteCustomClassRequest getUndeleteCustomClassRequest()

The UndeleteCustomClassRequest that spawned the Operation.

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

Returns
Type Description
UndeleteCustomClassRequest

The undeleteCustomClassRequest.

getUndeleteCustomClassRequestBuilder()

public UndeleteCustomClassRequest.Builder getUndeleteCustomClassRequestBuilder()

The UndeleteCustomClassRequest that spawned the Operation.

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

Returns
Type Description
UndeleteCustomClassRequest.Builder

getUndeleteCustomClassRequestOrBuilder()

public UndeleteCustomClassRequestOrBuilder getUndeleteCustomClassRequestOrBuilder()

The UndeleteCustomClassRequest that spawned the Operation.

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

Returns
Type Description
UndeleteCustomClassRequestOrBuilder

getUndeletePhraseSetRequest()

public UndeletePhraseSetRequest getUndeletePhraseSetRequest()

The UndeletePhraseSetRequest that spawned the Operation.

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

Returns
Type Description
UndeletePhraseSetRequest

The undeletePhraseSetRequest.

getUndeletePhraseSetRequestBuilder()

public UndeletePhraseSetRequest.Builder getUndeletePhraseSetRequestBuilder()

The UndeletePhraseSetRequest that spawned the Operation.

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

Returns
Type Description
UndeletePhraseSetRequest.Builder

getUndeletePhraseSetRequestOrBuilder()

public UndeletePhraseSetRequestOrBuilder getUndeletePhraseSetRequestOrBuilder()

The UndeletePhraseSetRequest that spawned the Operation.

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

Returns
Type Description
UndeletePhraseSetRequestOrBuilder

getUndeleteRecognizerRequest()

public UndeleteRecognizerRequest getUndeleteRecognizerRequest()

The UndeleteRecognizerRequest that spawned the Operation.

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

Returns
Type Description
UndeleteRecognizerRequest

The undeleteRecognizerRequest.

getUndeleteRecognizerRequestBuilder()

public UndeleteRecognizerRequest.Builder getUndeleteRecognizerRequestBuilder()

The UndeleteRecognizerRequest that spawned the Operation.

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

Returns
Type Description
UndeleteRecognizerRequest.Builder

getUndeleteRecognizerRequestOrBuilder()

public UndeleteRecognizerRequestOrBuilder getUndeleteRecognizerRequestOrBuilder()

The UndeleteRecognizerRequest that spawned the Operation.

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

Returns
Type Description
UndeleteRecognizerRequestOrBuilder

getUpdateConfigRequest() (deprecated)

public 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.

getUpdateConfigRequestBuilder() (deprecated)

public UpdateConfigRequest.Builder getUpdateConfigRequestBuilder()

The UpdateConfigRequest that spawned the Operation.

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

Returns
Type Description
UpdateConfigRequest.Builder

getUpdateConfigRequestOrBuilder() (deprecated)

public 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 UpdateCustomClassRequest getUpdateCustomClassRequest()

The UpdateCustomClassRequest that spawned the Operation.

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

Returns
Type Description
UpdateCustomClassRequest

The updateCustomClassRequest.

getUpdateCustomClassRequestBuilder()

public UpdateCustomClassRequest.Builder getUpdateCustomClassRequestBuilder()

The UpdateCustomClassRequest that spawned the Operation.

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

Returns
Type Description
UpdateCustomClassRequest.Builder

getUpdateCustomClassRequestOrBuilder()

public UpdateCustomClassRequestOrBuilder getUpdateCustomClassRequestOrBuilder()

The UpdateCustomClassRequest that spawned the Operation.

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

Returns
Type Description
UpdateCustomClassRequestOrBuilder

getUpdatePhraseSetRequest()

public UpdatePhraseSetRequest getUpdatePhraseSetRequest()

The UpdatePhraseSetRequest that spawned the Operation.

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

Returns
Type Description
UpdatePhraseSetRequest

The updatePhraseSetRequest.

getUpdatePhraseSetRequestBuilder()

public UpdatePhraseSetRequest.Builder getUpdatePhraseSetRequestBuilder()

The UpdatePhraseSetRequest that spawned the Operation.

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

Returns
Type Description
UpdatePhraseSetRequest.Builder

getUpdatePhraseSetRequestOrBuilder()

public UpdatePhraseSetRequestOrBuilder getUpdatePhraseSetRequestOrBuilder()

The UpdatePhraseSetRequest that spawned the Operation.

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

Returns
Type Description
UpdatePhraseSetRequestOrBuilder

getUpdateRecognizerRequest()

public UpdateRecognizerRequest getUpdateRecognizerRequest()

The UpdateRecognizerRequest that spawned the Operation.

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

Returns
Type Description
UpdateRecognizerRequest

The updateRecognizerRequest.

getUpdateRecognizerRequestBuilder()

public UpdateRecognizerRequest.Builder getUpdateRecognizerRequestBuilder()

The UpdateRecognizerRequest that spawned the Operation.

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

Returns
Type Description
UpdateRecognizerRequest.Builder

getUpdateRecognizerRequestOrBuilder()

public UpdateRecognizerRequestOrBuilder getUpdateRecognizerRequestOrBuilder()

The UpdateRecognizerRequest that spawned the Operation.

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

Returns
Type Description
UpdateRecognizerRequestOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

The time the operation was last updated.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

The time the operation was last updated.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The time the operation was last updated.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
TimestampOrBuilder

hasBatchRecognizeMetadata()

public 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBatchRecognizeMetadata(BatchRecognizeMetadata value)

public OperationMetadata.Builder mergeBatchRecognizeMetadata(BatchRecognizeMetadata value)

Metadata specific to the BatchRecognize method.

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

Parameter
Name Description
value BatchRecognizeMetadata
Returns
Type Description
OperationMetadata.Builder

mergeBatchRecognizeRequest(BatchRecognizeRequest value)

public OperationMetadata.Builder mergeBatchRecognizeRequest(BatchRecognizeRequest value)

The BatchRecognizeRequest that spawned the Operation.

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

Parameter
Name Description
value BatchRecognizeRequest
Returns
Type Description
OperationMetadata.Builder

mergeCreateCustomClassRequest(CreateCustomClassRequest value)

public OperationMetadata.Builder mergeCreateCustomClassRequest(CreateCustomClassRequest value)

The CreateCustomClassRequest that spawned the Operation.

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

Parameter
Name Description
value CreateCustomClassRequest
Returns
Type Description
OperationMetadata.Builder

mergeCreatePhraseSetRequest(CreatePhraseSetRequest value)

public OperationMetadata.Builder mergeCreatePhraseSetRequest(CreatePhraseSetRequest value)

The CreatePhraseSetRequest that spawned the Operation.

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

Parameter
Name Description
value CreatePhraseSetRequest
Returns
Type Description
OperationMetadata.Builder

mergeCreateRecognizerRequest(CreateRecognizerRequest value)

public OperationMetadata.Builder mergeCreateRecognizerRequest(CreateRecognizerRequest value)

The CreateRecognizerRequest that spawned the Operation.

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

Parameter
Name Description
value CreateRecognizerRequest
Returns
Type Description
OperationMetadata.Builder

mergeCreateTime(Timestamp value)

public OperationMetadata.Builder mergeCreateTime(Timestamp value)

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
OperationMetadata.Builder

mergeDeleteCustomClassRequest(DeleteCustomClassRequest value)

public OperationMetadata.Builder mergeDeleteCustomClassRequest(DeleteCustomClassRequest value)

The DeleteCustomClassRequest that spawned the Operation.

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

Parameter
Name Description
value DeleteCustomClassRequest
Returns
Type Description
OperationMetadata.Builder

mergeDeletePhraseSetRequest(DeletePhraseSetRequest value)

public OperationMetadata.Builder mergeDeletePhraseSetRequest(DeletePhraseSetRequest value)

The DeletePhraseSetRequest that spawned the Operation.

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

Parameter
Name Description
value DeletePhraseSetRequest
Returns
Type Description
OperationMetadata.Builder

mergeDeleteRecognizerRequest(DeleteRecognizerRequest value)

public OperationMetadata.Builder mergeDeleteRecognizerRequest(DeleteRecognizerRequest value)

The DeleteRecognizerRequest that spawned the Operation.

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

Parameter
Name Description
value DeleteRecognizerRequest
Returns
Type Description
OperationMetadata.Builder

mergeFrom(OperationMetadata other)

public OperationMetadata.Builder mergeFrom(OperationMetadata other)
Parameter
Name Description
other OperationMetadata
Returns
Type Description
OperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OperationMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OperationMetadata.Builder
Overrides

mergeUndeleteCustomClassRequest(UndeleteCustomClassRequest value)

public OperationMetadata.Builder mergeUndeleteCustomClassRequest(UndeleteCustomClassRequest value)

The UndeleteCustomClassRequest that spawned the Operation.

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

Parameter
Name Description
value UndeleteCustomClassRequest
Returns
Type Description
OperationMetadata.Builder

mergeUndeletePhraseSetRequest(UndeletePhraseSetRequest value)

public OperationMetadata.Builder mergeUndeletePhraseSetRequest(UndeletePhraseSetRequest value)

The UndeletePhraseSetRequest that spawned the Operation.

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

Parameter
Name Description
value UndeletePhraseSetRequest
Returns
Type Description
OperationMetadata.Builder

mergeUndeleteRecognizerRequest(UndeleteRecognizerRequest value)

public OperationMetadata.Builder mergeUndeleteRecognizerRequest(UndeleteRecognizerRequest value)

The UndeleteRecognizerRequest that spawned the Operation.

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

Parameter
Name Description
value UndeleteRecognizerRequest
Returns
Type Description
OperationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OperationMetadata.Builder
Overrides

mergeUpdateConfigRequest(UpdateConfigRequest value) (deprecated)

public OperationMetadata.Builder mergeUpdateConfigRequest(UpdateConfigRequest value)

The UpdateConfigRequest that spawned the Operation.

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

Parameter
Name Description
value UpdateConfigRequest
Returns
Type Description
OperationMetadata.Builder

mergeUpdateCustomClassRequest(UpdateCustomClassRequest value)

public OperationMetadata.Builder mergeUpdateCustomClassRequest(UpdateCustomClassRequest value)

The UpdateCustomClassRequest that spawned the Operation.

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

Parameter
Name Description
value UpdateCustomClassRequest
Returns
Type Description
OperationMetadata.Builder

mergeUpdatePhraseSetRequest(UpdatePhraseSetRequest value)

public OperationMetadata.Builder mergeUpdatePhraseSetRequest(UpdatePhraseSetRequest value)

The UpdatePhraseSetRequest that spawned the Operation.

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

Parameter
Name Description
value UpdatePhraseSetRequest
Returns
Type Description
OperationMetadata.Builder

mergeUpdateRecognizerRequest(UpdateRecognizerRequest value)

public OperationMetadata.Builder mergeUpdateRecognizerRequest(UpdateRecognizerRequest value)

The UpdateRecognizerRequest that spawned the Operation.

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

Parameter
Name Description
value UpdateRecognizerRequest
Returns
Type Description
OperationMetadata.Builder

mergeUpdateTime(Timestamp value)

public OperationMetadata.Builder mergeUpdateTime(Timestamp value)

The time the operation was last updated.

.google.protobuf.Timestamp update_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
OperationMetadata.Builder

setBatchRecognizeMetadata(BatchRecognizeMetadata value)

public OperationMetadata.Builder setBatchRecognizeMetadata(BatchRecognizeMetadata value)

Metadata specific to the BatchRecognize method.

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

Parameter
Name Description
value BatchRecognizeMetadata
Returns
Type Description
OperationMetadata.Builder

setBatchRecognizeMetadata(BatchRecognizeMetadata.Builder builderForValue)

public OperationMetadata.Builder setBatchRecognizeMetadata(BatchRecognizeMetadata.Builder builderForValue)

Metadata specific to the BatchRecognize method.

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

Parameter
Name Description
builderForValue BatchRecognizeMetadata.Builder
Returns
Type Description
OperationMetadata.Builder

setBatchRecognizeRequest(BatchRecognizeRequest value)

public OperationMetadata.Builder setBatchRecognizeRequest(BatchRecognizeRequest value)

The BatchRecognizeRequest that spawned the Operation.

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

Parameter
Name Description
value BatchRecognizeRequest
Returns
Type Description
OperationMetadata.Builder

setBatchRecognizeRequest(BatchRecognizeRequest.Builder builderForValue)

public OperationMetadata.Builder setBatchRecognizeRequest(BatchRecognizeRequest.Builder builderForValue)

The BatchRecognizeRequest that spawned the Operation.

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

Parameter
Name Description
builderForValue BatchRecognizeRequest.Builder
Returns
Type Description
OperationMetadata.Builder

setCreateCustomClassRequest(CreateCustomClassRequest value)

public OperationMetadata.Builder setCreateCustomClassRequest(CreateCustomClassRequest value)

The CreateCustomClassRequest that spawned the Operation.

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

Parameter
Name Description
value CreateCustomClassRequest
Returns
Type Description
OperationMetadata.Builder

setCreateCustomClassRequest(CreateCustomClassRequest.Builder builderForValue)

public OperationMetadata.Builder setCreateCustomClassRequest(CreateCustomClassRequest.Builder builderForValue)

The CreateCustomClassRequest that spawned the Operation.

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

Parameter
Name Description
builderForValue CreateCustomClassRequest.Builder
Returns
Type Description
OperationMetadata.Builder

setCreatePhraseSetRequest(CreatePhraseSetRequest value)

public OperationMetadata.Builder setCreatePhraseSetRequest(CreatePhraseSetRequest value)

The CreatePhraseSetRequest that spawned the Operation.

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

Parameter
Name Description
value CreatePhraseSetRequest
Returns
Type Description
OperationMetadata.Builder

setCreatePhraseSetRequest(CreatePhraseSetRequest.Builder builderForValue)

public OperationMetadata.Builder setCreatePhraseSetRequest(CreatePhraseSetRequest.Builder builderForValue)

The CreatePhraseSetRequest that spawned the Operation.

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

Parameter
Name Description
builderForValue CreatePhraseSetRequest.Builder
Returns
Type Description
OperationMetadata.Builder

setCreateRecognizerRequest(CreateRecognizerRequest value)

public OperationMetadata.Builder setCreateRecognizerRequest(CreateRecognizerRequest value)

The CreateRecognizerRequest that spawned the Operation.

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

Parameter
Name Description
value CreateRecognizerRequest
Returns
Type Description
OperationMetadata.Builder

setCreateRecognizerRequest(CreateRecognizerRequest.Builder builderForValue)

public OperationMetadata.Builder setCreateRecognizerRequest(CreateRecognizerRequest.Builder builderForValue)

The CreateRecognizerRequest that spawned the Operation.

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

Parameter
Name Description
builderForValue CreateRecognizerRequest.Builder
Returns
Type Description
OperationMetadata.Builder

setCreateTime(Timestamp value)

public OperationMetadata.Builder setCreateTime(Timestamp value)

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
OperationMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public OperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
OperationMetadata.Builder

setDeleteCustomClassRequest(DeleteCustomClassRequest value)

public OperationMetadata.Builder setDeleteCustomClassRequest(DeleteCustomClassRequest value)

The DeleteCustomClassRequest that spawned the Operation.

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

Parameter
Name Description
value DeleteCustomClassRequest
Returns
Type Description
OperationMetadata.Builder

setDeleteCustomClassRequest(DeleteCustomClassRequest.Builder builderForValue)

public OperationMetadata.Builder setDeleteCustomClassRequest(DeleteCustomClassRequest.Builder builderForValue)

The DeleteCustomClassRequest that spawned the Operation.

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

Parameter
Name Description
builderForValue DeleteCustomClassRequest.Builder
Returns
Type Description
OperationMetadata.Builder

setDeletePhraseSetRequest(DeletePhraseSetRequest value)

public OperationMetadata.Builder setDeletePhraseSetRequest(DeletePhraseSetRequest value)

The DeletePhraseSetRequest that spawned the Operation.

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

Parameter
Name Description
value DeletePhraseSetRequest
Returns
Type Description
OperationMetadata.Builder

setDeletePhraseSetRequest(DeletePhraseSetRequest.Builder builderForValue)

public OperationMetadata.Builder setDeletePhraseSetRequest(DeletePhraseSetRequest.Builder builderForValue)

The DeletePhraseSetRequest that spawned the Operation.

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

Parameter
Name Description
builderForValue DeletePhraseSetRequest.Builder
Returns
Type Description
OperationMetadata.Builder

setDeleteRecognizerRequest(DeleteRecognizerRequest value)

public OperationMetadata.Builder setDeleteRecognizerRequest(DeleteRecognizerRequest value)

The DeleteRecognizerRequest that spawned the Operation.

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

Parameter
Name Description
value DeleteRecognizerRequest
Returns
Type Description
OperationMetadata.Builder

setDeleteRecognizerRequest(DeleteRecognizerRequest.Builder builderForValue)

public OperationMetadata.Builder setDeleteRecognizerRequest(DeleteRecognizerRequest.Builder builderForValue)

The DeleteRecognizerRequest that spawned the Operation.

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

Parameter
Name Description
builderForValue DeleteRecognizerRequest.Builder
Returns
Type Description
OperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public OperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OperationMetadata.Builder
Overrides

setKmsKeyName(String value)

public OperationMetadata.Builder setKmsKeyName(String value)

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) = { ... }

Parameter
Name Description
value String

The kmsKeyName to set.

Returns
Type Description
OperationMetadata.Builder

This builder for chaining.

setKmsKeyNameBytes(ByteString value)

public OperationMetadata.Builder setKmsKeyNameBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for kmsKeyName to set.

Returns
Type Description
OperationMetadata.Builder

This builder for chaining.

setKmsKeyVersionName(String value)

public OperationMetadata.Builder setKmsKeyVersionName(String value)

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) = { ... }

Parameter
Name Description
value String

The kmsKeyVersionName to set.

Returns
Type Description
OperationMetadata.Builder

This builder for chaining.

setKmsKeyVersionNameBytes(ByteString value)

public OperationMetadata.Builder setKmsKeyVersionNameBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for kmsKeyVersionName to set.

Returns
Type Description
OperationMetadata.Builder

This builder for chaining.

setMethod(String value)

public OperationMetadata.Builder setMethod(String value)

The method that triggered the operation.

string method = 4;

Parameter
Name Description
value String

The method to set.

Returns
Type Description
OperationMetadata.Builder

This builder for chaining.

setMethodBytes(ByteString value)

public OperationMetadata.Builder setMethodBytes(ByteString value)

The method that triggered the operation.

string method = 4;

Parameter
Name Description
value ByteString

The bytes for method to set.

Returns
Type Description
OperationMetadata.Builder

This builder for chaining.

setProgressPercent(int value)

public OperationMetadata.Builder setProgressPercent(int value)

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;

Parameter
Name Description
value int

The progressPercent to set.

Returns
Type Description
OperationMetadata.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public OperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OperationMetadata.Builder
Overrides

setResource(String value)

public OperationMetadata.Builder setResource(String value)

The resource path for the target of the operation.

string resource = 3;

Parameter
Name Description
value String

The resource to set.

Returns
Type Description
OperationMetadata.Builder

This builder for chaining.

setResourceBytes(ByteString value)

public OperationMetadata.Builder setResourceBytes(ByteString value)

The resource path for the target of the operation.

string resource = 3;

Parameter
Name Description
value ByteString

The bytes for resource to set.

Returns
Type Description
OperationMetadata.Builder

This builder for chaining.

setUndeleteCustomClassRequest(UndeleteCustomClassRequest value)

public OperationMetadata.Builder setUndeleteCustomClassRequest(UndeleteCustomClassRequest value)

The UndeleteCustomClassRequest that spawned the Operation.

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

Parameter
Name Description
value UndeleteCustomClassRequest
Returns
Type Description
OperationMetadata.Builder

setUndeleteCustomClassRequest(UndeleteCustomClassRequest.Builder builderForValue)

public OperationMetadata.Builder setUndeleteCustomClassRequest(UndeleteCustomClassRequest.Builder builderForValue)

The UndeleteCustomClassRequest that spawned the Operation.

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

Parameter
Name Description
builderForValue UndeleteCustomClassRequest.Builder
Returns
Type Description
OperationMetadata.Builder

setUndeletePhraseSetRequest(UndeletePhraseSetRequest value)

public OperationMetadata.Builder setUndeletePhraseSetRequest(UndeletePhraseSetRequest value)

The UndeletePhraseSetRequest that spawned the Operation.

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

Parameter
Name Description
value UndeletePhraseSetRequest
Returns
Type Description
OperationMetadata.Builder

setUndeletePhraseSetRequest(UndeletePhraseSetRequest.Builder builderForValue)

public OperationMetadata.Builder setUndeletePhraseSetRequest(UndeletePhraseSetRequest.Builder builderForValue)

The UndeletePhraseSetRequest that spawned the Operation.

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

Parameter
Name Description
builderForValue UndeletePhraseSetRequest.Builder
Returns
Type Description
OperationMetadata.Builder

setUndeleteRecognizerRequest(UndeleteRecognizerRequest value)

public OperationMetadata.Builder setUndeleteRecognizerRequest(UndeleteRecognizerRequest value)

The UndeleteRecognizerRequest that spawned the Operation.

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

Parameter
Name Description
value UndeleteRecognizerRequest
Returns
Type Description
OperationMetadata.Builder

setUndeleteRecognizerRequest(UndeleteRecognizerRequest.Builder builderForValue)

public OperationMetadata.Builder setUndeleteRecognizerRequest(UndeleteRecognizerRequest.Builder builderForValue)

The UndeleteRecognizerRequest that spawned the Operation.

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

Parameter
Name Description
builderForValue UndeleteRecognizerRequest.Builder
Returns
Type Description
OperationMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final OperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OperationMetadata.Builder
Overrides

setUpdateConfigRequest(UpdateConfigRequest value) (deprecated)

public OperationMetadata.Builder setUpdateConfigRequest(UpdateConfigRequest value)

The UpdateConfigRequest that spawned the Operation.

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

Parameter
Name Description
value UpdateConfigRequest
Returns
Type Description
OperationMetadata.Builder

setUpdateConfigRequest(UpdateConfigRequest.Builder builderForValue) (deprecated)

public OperationMetadata.Builder setUpdateConfigRequest(UpdateConfigRequest.Builder builderForValue)

The UpdateConfigRequest that spawned the Operation.

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

Parameter
Name Description
builderForValue UpdateConfigRequest.Builder
Returns
Type Description
OperationMetadata.Builder

setUpdateCustomClassRequest(UpdateCustomClassRequest value)

public OperationMetadata.Builder setUpdateCustomClassRequest(UpdateCustomClassRequest value)

The UpdateCustomClassRequest that spawned the Operation.

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

Parameter
Name Description
value UpdateCustomClassRequest
Returns
Type Description
OperationMetadata.Builder

setUpdateCustomClassRequest(UpdateCustomClassRequest.Builder builderForValue)

public OperationMetadata.Builder setUpdateCustomClassRequest(UpdateCustomClassRequest.Builder builderForValue)

The UpdateCustomClassRequest that spawned the Operation.

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

Parameter
Name Description
builderForValue UpdateCustomClassRequest.Builder
Returns
Type Description
OperationMetadata.Builder

setUpdatePhraseSetRequest(UpdatePhraseSetRequest value)

public OperationMetadata.Builder setUpdatePhraseSetRequest(UpdatePhraseSetRequest value)

The UpdatePhraseSetRequest that spawned the Operation.

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

Parameter
Name Description
value UpdatePhraseSetRequest
Returns
Type Description
OperationMetadata.Builder

setUpdatePhraseSetRequest(UpdatePhraseSetRequest.Builder builderForValue)

public OperationMetadata.Builder setUpdatePhraseSetRequest(UpdatePhraseSetRequest.Builder builderForValue)

The UpdatePhraseSetRequest that spawned the Operation.

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

Parameter
Name Description
builderForValue UpdatePhraseSetRequest.Builder
Returns
Type Description
OperationMetadata.Builder

setUpdateRecognizerRequest(UpdateRecognizerRequest value)

public OperationMetadata.Builder setUpdateRecognizerRequest(UpdateRecognizerRequest value)

The UpdateRecognizerRequest that spawned the Operation.

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

Parameter
Name Description
value UpdateRecognizerRequest
Returns
Type Description
OperationMetadata.Builder

setUpdateRecognizerRequest(UpdateRecognizerRequest.Builder builderForValue)

public OperationMetadata.Builder setUpdateRecognizerRequest(UpdateRecognizerRequest.Builder builderForValue)

The UpdateRecognizerRequest that spawned the Operation.

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

Parameter
Name Description
builderForValue UpdateRecognizerRequest.Builder
Returns
Type Description
OperationMetadata.Builder

setUpdateTime(Timestamp value)

public OperationMetadata.Builder setUpdateTime(Timestamp value)

The time the operation was last updated.

.google.protobuf.Timestamp update_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
OperationMetadata.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public OperationMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)

The time the operation was last updated.

.google.protobuf.Timestamp update_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
OperationMetadata.Builder