Class OperationMetadata (4.30.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
TypeDescription
int

BATCH_RECOGNIZE_REQUEST_FIELD_NUMBER

public static final int BATCH_RECOGNIZE_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER

public static final int CREATE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_PHRASE_SET_REQUEST_FIELD_NUMBER

public static final int CREATE_PHRASE_SET_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_RECOGNIZER_REQUEST_FIELD_NUMBER

public static final int CREATE_RECOGNIZER_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DELETE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER

public static final int DELETE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

DELETE_PHRASE_SET_REQUEST_FIELD_NUMBER

public static final int DELETE_PHRASE_SET_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

DELETE_RECOGNIZER_REQUEST_FIELD_NUMBER

public static final int DELETE_RECOGNIZER_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

KMS_KEY_NAME_FIELD_NUMBER

public static final int KMS_KEY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

KMS_KEY_VERSION_NAME_FIELD_NUMBER

public static final int KMS_KEY_VERSION_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

METHOD_FIELD_NUMBER

public static final int METHOD_FIELD_NUMBER
Field Value
TypeDescription
int

PROGRESS_PERCENT_FIELD_NUMBER

public static final int PROGRESS_PERCENT_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

UNDELETE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER

public static final int UNDELETE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

UNDELETE_PHRASE_SET_REQUEST_FIELD_NUMBER

public static final int UNDELETE_PHRASE_SET_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

UNDELETE_RECOGNIZER_REQUEST_FIELD_NUMBER

public static final int UNDELETE_RECOGNIZER_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_CONFIG_REQUEST_FIELD_NUMBER

public static final int UPDATE_CONFIG_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER

public static final int UPDATE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_PHRASE_SET_REQUEST_FIELD_NUMBER

public static final int UPDATE_PHRASE_SET_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_RECOGNIZER_REQUEST_FIELD_NUMBER

public static final int UPDATE_RECOGNIZER_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static OperationMetadata getDefaultInstance()
Returns
TypeDescription
OperationMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static OperationMetadata.Builder newBuilder()
Returns
TypeDescription
OperationMetadata.Builder

newBuilder(OperationMetadata prototype)

public static OperationMetadata.Builder newBuilder(OperationMetadata prototype)
Parameter
NameDescription
prototypeOperationMetadata
Returns
TypeDescription
OperationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static OperationMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static OperationMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OperationMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OperationMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static OperationMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static OperationMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<OperationMetadata> parser()
Returns
TypeDescription
Parser<OperationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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.

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.

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.

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.

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.

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.

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.

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.

getDeleteRecognizerRequestOrBuilder()

public DeleteRecognizerRequestOrBuilder getDeleteRecognizerRequestOrBuilder()

The DeleteRecognizerRequest that spawned the Operation.

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

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

getParserForType()

public Parser<OperationMetadata> getParserForType()
Returns
TypeDescription
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
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

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.

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.

getUndeleteRecognizerRequestOrBuilder()

public UndeleteRecognizerRequestOrBuilder getUndeleteRecognizerRequestOrBuilder()

The UndeleteRecognizerRequest that spawned the Operation.

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

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

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.

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.

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.

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
OperationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException