Class OperationMetadata (4.49.0)

public final class OperationMetadata extends GeneratedMessageV3 implements OperationMetadataOrBuilder

Represents the metadata of a long-running operation.

Protobuf type google.cloud.speech.v2.OperationMetadata

Static Fields

BATCH_RECOGNIZE_METADATA_FIELD_NUMBER

public static final int BATCH_RECOGNIZE_METADATA_FIELD_NUMBER
Field Value
Type Description
int

BATCH_RECOGNIZE_REQUEST_FIELD_NUMBER

public static final int BATCH_RECOGNIZE_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

CREATE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER

public static final int CREATE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

CREATE_PHRASE_SET_REQUEST_FIELD_NUMBER

public static final int CREATE_PHRASE_SET_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

CREATE_RECOGNIZER_REQUEST_FIELD_NUMBER

public static final int CREATE_RECOGNIZER_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DELETE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER

public static final int DELETE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

DELETE_PHRASE_SET_REQUEST_FIELD_NUMBER

public static final int DELETE_PHRASE_SET_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

DELETE_RECOGNIZER_REQUEST_FIELD_NUMBER

public static final int DELETE_RECOGNIZER_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

KMS_KEY_NAME_FIELD_NUMBER

public static final int KMS_KEY_NAME_FIELD_NUMBER
Field Value
Type Description
int

KMS_KEY_VERSION_NAME_FIELD_NUMBER

public static final int KMS_KEY_VERSION_NAME_FIELD_NUMBER
Field Value
Type Description
int

METHOD_FIELD_NUMBER

public static final int METHOD_FIELD_NUMBER
Field Value
Type Description
int

PROGRESS_PERCENT_FIELD_NUMBER

public static final int PROGRESS_PERCENT_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

UNDELETE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER

public static final int UNDELETE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

UNDELETE_PHRASE_SET_REQUEST_FIELD_NUMBER

public static final int UNDELETE_PHRASE_SET_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

UNDELETE_RECOGNIZER_REQUEST_FIELD_NUMBER

public static final int UNDELETE_RECOGNIZER_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_CONFIG_REQUEST_FIELD_NUMBER

public static final int UPDATE_CONFIG_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER

public static final int UPDATE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_PHRASE_SET_REQUEST_FIELD_NUMBER

public static final int UPDATE_PHRASE_SET_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_RECOGNIZER_REQUEST_FIELD_NUMBER

public static final int UPDATE_RECOGNIZER_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OperationMetadata getDefaultInstance()
Returns
Type Description
OperationMetadata

getDescriptor()

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

newBuilder()

public static OperationMetadata.Builder newBuilder()
Returns
Type Description
OperationMetadata.Builder

newBuilder(OperationMetadata prototype)

public static OperationMetadata.Builder newBuilder(OperationMetadata prototype)
Parameter
Name Description
prototype OperationMetadata
Returns
Type Description
OperationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static OperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OperationMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OperationMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OperationMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OperationMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OperationMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OperationMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OperationMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OperationMetadata> parser()
Returns
Type Description
Parser<OperationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

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.

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.

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.

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.

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.

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.

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.

getDeleteRecognizerRequestOrBuilder()

public DeleteRecognizerRequestOrBuilder getDeleteRecognizerRequestOrBuilder()

The DeleteRecognizerRequest that spawned the Operation.

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

Returns
Type Description
DeleteRecognizerRequestOrBuilder

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.

getParserForType()

public Parser<OperationMetadata> getParserForType()
Returns
Type Description
Parser<OperationMetadata>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

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.

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=420

The UpdateConfigRequest that spawned the Operation.

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

Returns
Type Description
UpdateConfigRequest

The updateConfigRequest.

getUpdateConfigRequestOrBuilder() (deprecated)

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

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.

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.

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.

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=420

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OperationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException