Class OperationMetadata.Builder (4.3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OperationMetadata.Builder
Overrides

build()

public OperationMetadata build()
Returns
TypeDescription
OperationMetadata

buildPartial()

public OperationMetadata buildPartial()
Returns
TypeDescription
OperationMetadata

clear()

public OperationMetadata.Builder clear()
Returns
TypeDescription
OperationMetadata.Builder
Overrides

clearBatchRecognizeMetadata()

public OperationMetadata.Builder clearBatchRecognizeMetadata()

Metadata specific to the BatchRecognize method.

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

Returns
TypeDescription
OperationMetadata.Builder

clearBatchRecognizeRequest()

public OperationMetadata.Builder clearBatchRecognizeRequest()

The BatchRecognizeRequest that spawned the Operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearCreateCustomClassRequest()

public OperationMetadata.Builder clearCreateCustomClassRequest()

The CreateCustomClassRequest that spawned the Operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearCreatePhraseSetRequest()

public OperationMetadata.Builder clearCreatePhraseSetRequest()

The CreatePhraseSetRequest that spawned the Operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearCreateRecognizerRequest()

public OperationMetadata.Builder clearCreateRecognizerRequest()

The CreateRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearCreateTime()

public OperationMetadata.Builder clearCreateTime()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
OperationMetadata.Builder

clearDeleteCustomClassRequest()

public OperationMetadata.Builder clearDeleteCustomClassRequest()

The DeleteCustomClassRequest that spawned the Operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearDeletePhraseSetRequest()

public OperationMetadata.Builder clearDeletePhraseSetRequest()

The DeletePhraseSetRequest that spawned the Operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearDeleteRecognizerRequest()

public OperationMetadata.Builder clearDeleteRecognizerRequest()

The DeleteRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public OperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
OperationMetadata.Builder

This builder for chaining.

clearMetadata()

public OperationMetadata.Builder clearMetadata()
Returns
TypeDescription
OperationMetadata.Builder

clearMethod()

public OperationMetadata.Builder clearMethod()

The method that triggered the operation.

string method = 4;

Returns
TypeDescription
OperationMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public OperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
OperationMetadata.Builder

This builder for chaining.

clearRequest()

public OperationMetadata.Builder clearRequest()
Returns
TypeDescription
OperationMetadata.Builder

clearResource()

public OperationMetadata.Builder clearResource()

The resource path for the target of the operation.

string resource = 3;

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

clearUndeletePhraseSetRequest()

public OperationMetadata.Builder clearUndeletePhraseSetRequest()

The UndeletePhraseSetRequest that spawned the Operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearUndeleteRecognizerRequest()

public OperationMetadata.Builder clearUndeleteRecognizerRequest()

The UndeleteRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearUpdateConfigRequest()

public OperationMetadata.Builder clearUpdateConfigRequest()

The UpdateConfigRequest that spawned the Operation.

.google.cloud.speech.v2.UpdateConfigRequest update_config_request = 21;

Returns
TypeDescription
OperationMetadata.Builder

clearUpdateCustomClassRequest()

public OperationMetadata.Builder clearUpdateCustomClassRequest()

The UpdateCustomClassRequest that spawned the Operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearUpdatePhraseSetRequest()

public OperationMetadata.Builder clearUpdatePhraseSetRequest()

The UpdatePhraseSetRequest that spawned the Operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearUpdateRecognizerRequest()

public OperationMetadata.Builder clearUpdateRecognizerRequest()

The UpdateRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
OperationMetadata.Builder

clearUpdateTime()

public OperationMetadata.Builder clearUpdateTime()

The time the operation was last updated.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
OperationMetadata.Builder

clone()

public OperationMetadata.Builder clone()
Returns
TypeDescription
OperationMetadata.Builder
Overrides

getBatchRecognizeMetadata()

public BatchRecognizeMetadata getBatchRecognizeMetadata()

Metadata specific to the BatchRecognize method.

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

Returns
TypeDescription
BatchRecognizeMetadata

The batchRecognizeMetadata.

getBatchRecognizeMetadataBuilder()

public BatchRecognizeMetadata.Builder getBatchRecognizeMetadataBuilder()

Metadata specific to the BatchRecognize method.

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

Returns
TypeDescription
BatchRecognizeMetadata.Builder

getBatchRecognizeMetadataOrBuilder()

public BatchRecognizeMetadataOrBuilder getBatchRecognizeMetadataOrBuilder()

Metadata specific to the BatchRecognize method.

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

Returns
TypeDescription
BatchRecognizeMetadataOrBuilder

getBatchRecognizeRequest()

public BatchRecognizeRequest getBatchRecognizeRequest()

The BatchRecognizeRequest that spawned the Operation.

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

Returns
TypeDescription
BatchRecognizeRequest

The batchRecognizeRequest.

getBatchRecognizeRequestBuilder()

public BatchRecognizeRequest.Builder getBatchRecognizeRequestBuilder()

The BatchRecognizeRequest that spawned the Operation.

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

Returns
TypeDescription
BatchRecognizeRequest.Builder

getBatchRecognizeRequestOrBuilder()

public BatchRecognizeRequestOrBuilder getBatchRecognizeRequestOrBuilder()

The BatchRecognizeRequest that spawned the Operation.

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

Returns
TypeDescription
BatchRecognizeRequestOrBuilder

getCreateCustomClassRequest()

public CreateCustomClassRequest getCreateCustomClassRequest()

The CreateCustomClassRequest that spawned the Operation.

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

Returns
TypeDescription
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
TypeDescription
CreateCustomClassRequest.Builder

getCreateCustomClassRequestOrBuilder()

public CreateCustomClassRequestOrBuilder getCreateCustomClassRequestOrBuilder()

The CreateCustomClassRequest that spawned the Operation.

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

Returns
TypeDescription
CreateCustomClassRequestOrBuilder

getCreatePhraseSetRequest()

public CreatePhraseSetRequest getCreatePhraseSetRequest()

The CreatePhraseSetRequest that spawned the Operation.

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

Returns
TypeDescription
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
TypeDescription
CreatePhraseSetRequest.Builder

getCreatePhraseSetRequestOrBuilder()

public CreatePhraseSetRequestOrBuilder getCreatePhraseSetRequestOrBuilder()

The CreatePhraseSetRequest that spawned the Operation.

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

Returns
TypeDescription
CreatePhraseSetRequestOrBuilder

getCreateRecognizerRequest()

public CreateRecognizerRequest getCreateRecognizerRequest()

The CreateRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
CreateRecognizerRequest

The createRecognizerRequest.

getCreateRecognizerRequestBuilder()

public CreateRecognizerRequest.Builder getCreateRecognizerRequestBuilder()

The CreateRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
CreateRecognizerRequest.Builder

getCreateRecognizerRequestOrBuilder()

public CreateRecognizerRequestOrBuilder getCreateRecognizerRequestOrBuilder()

The CreateRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
CreateRecognizerRequestOrBuilder

getCreateTime()

public Timestamp getCreateTime()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public OperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
OperationMetadata

getDeleteCustomClassRequest()

public DeleteCustomClassRequest getDeleteCustomClassRequest()

The DeleteCustomClassRequest that spawned the Operation.

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

Returns
TypeDescription
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
TypeDescription
DeleteCustomClassRequest.Builder

getDeleteCustomClassRequestOrBuilder()

public DeleteCustomClassRequestOrBuilder getDeleteCustomClassRequestOrBuilder()

The DeleteCustomClassRequest that spawned the Operation.

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

Returns
TypeDescription
DeleteCustomClassRequestOrBuilder

getDeletePhraseSetRequest()

public DeletePhraseSetRequest getDeletePhraseSetRequest()

The DeletePhraseSetRequest that spawned the Operation.

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

Returns
TypeDescription
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
TypeDescription
DeletePhraseSetRequest.Builder

getDeletePhraseSetRequestOrBuilder()

public DeletePhraseSetRequestOrBuilder getDeletePhraseSetRequestOrBuilder()

The DeletePhraseSetRequest that spawned the Operation.

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

Returns
TypeDescription
DeletePhraseSetRequestOrBuilder

getDeleteRecognizerRequest()

public DeleteRecognizerRequest getDeleteRecognizerRequest()

The DeleteRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
DeleteRecognizerRequest

The deleteRecognizerRequest.

getDeleteRecognizerRequestBuilder()

public DeleteRecognizerRequest.Builder getDeleteRecognizerRequestBuilder()

The DeleteRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
DeleteRecognizerRequest.Builder

getDeleteRecognizerRequestOrBuilder()

public DeleteRecognizerRequestOrBuilder getDeleteRecognizerRequestOrBuilder()

The DeleteRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
DeleteRecognizerRequestOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for kmsKeyVersionName.

getMetadataCase()

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

getMethod()

public String getMethod()

The method that triggered the operation.

string method = 4;

Returns
TypeDescription
String

The method.

getMethodBytes()

public ByteString getMethodBytes()

The method that triggered the operation.

string method = 4;

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

The progressPercent.

getRequestCase()

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

getResource()

public String getResource()

The resource path for the target of the operation.

string resource = 3;

Returns
TypeDescription
String

The resource.

getResourceBytes()

public ByteString getResourceBytes()

The resource path for the target of the operation.

string resource = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
UndeleteCustomClassRequest.Builder

getUndeleteCustomClassRequestOrBuilder()

public UndeleteCustomClassRequestOrBuilder getUndeleteCustomClassRequestOrBuilder()

The UndeleteCustomClassRequest that spawned the Operation.

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

Returns
TypeDescription
UndeleteCustomClassRequestOrBuilder

getUndeletePhraseSetRequest()

public UndeletePhraseSetRequest getUndeletePhraseSetRequest()

The UndeletePhraseSetRequest that spawned the Operation.

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

Returns
TypeDescription
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
TypeDescription
UndeletePhraseSetRequest.Builder

getUndeletePhraseSetRequestOrBuilder()

public UndeletePhraseSetRequestOrBuilder getUndeletePhraseSetRequestOrBuilder()

The UndeletePhraseSetRequest that spawned the Operation.

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

Returns
TypeDescription
UndeletePhraseSetRequestOrBuilder

getUndeleteRecognizerRequest()

public UndeleteRecognizerRequest getUndeleteRecognizerRequest()

The UndeleteRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
UndeleteRecognizerRequest

The undeleteRecognizerRequest.

getUndeleteRecognizerRequestBuilder()

public UndeleteRecognizerRequest.Builder getUndeleteRecognizerRequestBuilder()

The UndeleteRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
UndeleteRecognizerRequest.Builder

getUndeleteRecognizerRequestOrBuilder()

public UndeleteRecognizerRequestOrBuilder getUndeleteRecognizerRequestOrBuilder()

The UndeleteRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
UndeleteRecognizerRequestOrBuilder

getUpdateConfigRequest()

public UpdateConfigRequest getUpdateConfigRequest()

The UpdateConfigRequest that spawned the Operation.

.google.cloud.speech.v2.UpdateConfigRequest update_config_request = 21;

Returns
TypeDescription
UpdateConfigRequest

The updateConfigRequest.

getUpdateConfigRequestBuilder()

public UpdateConfigRequest.Builder getUpdateConfigRequestBuilder()

The UpdateConfigRequest that spawned the Operation.

.google.cloud.speech.v2.UpdateConfigRequest update_config_request = 21;

Returns
TypeDescription
UpdateConfigRequest.Builder

getUpdateConfigRequestOrBuilder()

public UpdateConfigRequestOrBuilder getUpdateConfigRequestOrBuilder()

The UpdateConfigRequest that spawned the Operation.

.google.cloud.speech.v2.UpdateConfigRequest update_config_request = 21;

Returns
TypeDescription
UpdateConfigRequestOrBuilder

getUpdateCustomClassRequest()

public UpdateCustomClassRequest getUpdateCustomClassRequest()

The UpdateCustomClassRequest that spawned the Operation.

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

Returns
TypeDescription
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
TypeDescription
UpdateCustomClassRequest.Builder

getUpdateCustomClassRequestOrBuilder()

public UpdateCustomClassRequestOrBuilder getUpdateCustomClassRequestOrBuilder()

The UpdateCustomClassRequest that spawned the Operation.

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

Returns
TypeDescription
UpdateCustomClassRequestOrBuilder

getUpdatePhraseSetRequest()

public UpdatePhraseSetRequest getUpdatePhraseSetRequest()

The UpdatePhraseSetRequest that spawned the Operation.

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

Returns
TypeDescription
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
TypeDescription
UpdatePhraseSetRequest.Builder

getUpdatePhraseSetRequestOrBuilder()

public UpdatePhraseSetRequestOrBuilder getUpdatePhraseSetRequestOrBuilder()

The UpdatePhraseSetRequest that spawned the Operation.

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

Returns
TypeDescription
UpdatePhraseSetRequestOrBuilder

getUpdateRecognizerRequest()

public UpdateRecognizerRequest getUpdateRecognizerRequest()

The UpdateRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
UpdateRecognizerRequest

The updateRecognizerRequest.

getUpdateRecognizerRequestBuilder()

public UpdateRecognizerRequest.Builder getUpdateRecognizerRequestBuilder()

The UpdateRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
UpdateRecognizerRequest.Builder

getUpdateRecognizerRequestOrBuilder()

public UpdateRecognizerRequestOrBuilder getUpdateRecognizerRequestOrBuilder()

The UpdateRecognizerRequest that spawned the Operation.

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

Returns
TypeDescription
UpdateRecognizerRequestOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

The time the operation was last updated.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

The time the operation was last updated.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The time the operation was last updated.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
TimestampOrBuilder

hasBatchRecognizeMetadata()

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

public boolean hasUpdateConfigRequest()

The UpdateConfigRequest that spawned the Operation.

.google.cloud.speech.v2.UpdateConfigRequest update_config_request = 21;

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

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueBatchRecognizeMetadata
Returns
TypeDescription
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
NameDescription
valueBatchRecognizeRequest
Returns
TypeDescription
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
NameDescription
valueCreateCustomClassRequest
Returns
TypeDescription
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
NameDescription
valueCreatePhraseSetRequest
Returns
TypeDescription
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
NameDescription
valueCreateRecognizerRequest
Returns
TypeDescription
OperationMetadata.Builder

mergeCreateTime(Timestamp value)

public OperationMetadata.Builder mergeCreateTime(Timestamp value)

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueDeleteCustomClassRequest
Returns
TypeDescription
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
NameDescription
valueDeletePhraseSetRequest
Returns
TypeDescription
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
NameDescription
valueDeleteRecognizerRequest
Returns
TypeDescription
OperationMetadata.Builder

mergeFrom(OperationMetadata other)

public OperationMetadata.Builder mergeFrom(OperationMetadata other)
Parameter
NameDescription
otherOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadata.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public OperationMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueUndeleteCustomClassRequest
Returns
TypeDescription
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
NameDescription
valueUndeletePhraseSetRequest
Returns
TypeDescription
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
NameDescription
valueUndeleteRecognizerRequest
Returns
TypeDescription
OperationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OperationMetadata.Builder
Overrides

mergeUpdateConfigRequest(UpdateConfigRequest value)

public OperationMetadata.Builder mergeUpdateConfigRequest(UpdateConfigRequest value)

The UpdateConfigRequest that spawned the Operation.

.google.cloud.speech.v2.UpdateConfigRequest update_config_request = 21;

Parameter
NameDescription
valueUpdateConfigRequest
Returns
TypeDescription
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
NameDescription
valueUpdateCustomClassRequest
Returns
TypeDescription
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
NameDescription
valueUpdatePhraseSetRequest
Returns
TypeDescription
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
NameDescription
valueUpdateRecognizerRequest
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueBatchRecognizeMetadata
Returns
TypeDescription
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
NameDescription
builderForValueBatchRecognizeMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueBatchRecognizeRequest
Returns
TypeDescription
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
NameDescription
builderForValueBatchRecognizeRequest.Builder
Returns
TypeDescription
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
NameDescription
valueCreateCustomClassRequest
Returns
TypeDescription
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
NameDescription
builderForValueCreateCustomClassRequest.Builder
Returns
TypeDescription
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
NameDescription
valueCreatePhraseSetRequest
Returns
TypeDescription
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
NameDescription
builderForValueCreatePhraseSetRequest.Builder
Returns
TypeDescription
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
NameDescription
valueCreateRecognizerRequest
Returns
TypeDescription
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
NameDescription
builderForValueCreateRecognizerRequest.Builder
Returns
TypeDescription
OperationMetadata.Builder

setCreateTime(Timestamp value)

public OperationMetadata.Builder setCreateTime(Timestamp value)

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueDeleteCustomClassRequest
Returns
TypeDescription
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
NameDescription
builderForValueDeleteCustomClassRequest.Builder
Returns
TypeDescription
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
NameDescription
valueDeletePhraseSetRequest
Returns
TypeDescription
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
NameDescription
builderForValueDeletePhraseSetRequest.Builder
Returns
TypeDescription
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
NameDescription
valueDeleteRecognizerRequest
Returns
TypeDescription
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
NameDescription
builderForValueDeleteRecognizerRequest.Builder
Returns
TypeDescription
OperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public OperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The kmsKeyName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for kmsKeyName to set.

Returns
TypeDescription
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
NameDescription
valueString

The kmsKeyVersionName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for kmsKeyVersionName to set.

Returns
TypeDescription
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
NameDescription
valueString

The method to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for method to set.

Returns
TypeDescription
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
NameDescription
valueint

The progressPercent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The resource to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for resource to set.

Returns
TypeDescription
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
NameDescription
valueUndeleteCustomClassRequest
Returns
TypeDescription
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
NameDescription
builderForValueUndeleteCustomClassRequest.Builder
Returns
TypeDescription
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
NameDescription
valueUndeletePhraseSetRequest
Returns
TypeDescription
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
NameDescription
builderForValueUndeletePhraseSetRequest.Builder
Returns
TypeDescription
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
NameDescription
valueUndeleteRecognizerRequest
Returns
TypeDescription
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
NameDescription
builderForValueUndeleteRecognizerRequest.Builder
Returns
TypeDescription
OperationMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final OperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OperationMetadata.Builder
Overrides

setUpdateConfigRequest(UpdateConfigRequest value)

public OperationMetadata.Builder setUpdateConfigRequest(UpdateConfigRequest value)

The UpdateConfigRequest that spawned the Operation.

.google.cloud.speech.v2.UpdateConfigRequest update_config_request = 21;

Parameter
NameDescription
valueUpdateConfigRequest
Returns
TypeDescription
OperationMetadata.Builder

setUpdateConfigRequest(UpdateConfigRequest.Builder builderForValue)

public OperationMetadata.Builder setUpdateConfigRequest(UpdateConfigRequest.Builder builderForValue)

The UpdateConfigRequest that spawned the Operation.

.google.cloud.speech.v2.UpdateConfigRequest update_config_request = 21;

Parameter
NameDescription
builderForValueUpdateConfigRequest.Builder
Returns
TypeDescription
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
NameDescription
valueUpdateCustomClassRequest
Returns
TypeDescription
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
NameDescription
builderForValueUpdateCustomClassRequest.Builder
Returns
TypeDescription
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
NameDescription
valueUpdatePhraseSetRequest
Returns
TypeDescription
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
NameDescription
builderForValueUpdatePhraseSetRequest.Builder
Returns
TypeDescription
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
NameDescription
valueUpdateRecognizerRequest
Returns
TypeDescription
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
NameDescription
builderForValueUpdateRecognizerRequest.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
OperationMetadata.Builder