Package com.google.cloud.speech.v2
Class OperationMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.speech.v2.OperationMetadata
-
- All Implemented Interfaces:
OperationMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 implements OperationMetadataOrBuilder
Represents the metadata of a long-running operation.
Protobuf typegoogle.cloud.speech.v2.OperationMetadata- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationMetadata.BuilderRepresents the metadata of a long-running operation.static classOperationMetadata.MetadataCasestatic classOperationMetadata.RequestCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)BatchRecognizeMetadatagetBatchRecognizeMetadata()Metadata specific to the BatchRecognize method.BatchRecognizeMetadataOrBuildergetBatchRecognizeMetadataOrBuilder()Metadata specific to the BatchRecognize method.BatchRecognizeRequestgetBatchRecognizeRequest()The BatchRecognizeRequest that spawned the Operation.BatchRecognizeRequestOrBuildergetBatchRecognizeRequestOrBuilder()The BatchRecognizeRequest that spawned the Operation.CreateCustomClassRequestgetCreateCustomClassRequest()The CreateCustomClassRequest that spawned the Operation.CreateCustomClassRequestOrBuildergetCreateCustomClassRequestOrBuilder()The CreateCustomClassRequest that spawned the Operation.CreatePhraseSetRequestgetCreatePhraseSetRequest()The CreatePhraseSetRequest that spawned the Operation.CreatePhraseSetRequestOrBuildergetCreatePhraseSetRequestOrBuilder()The CreatePhraseSetRequest that spawned the Operation.CreateRecognizerRequestgetCreateRecognizerRequest()The CreateRecognizerRequest that spawned the Operation.CreateRecognizerRequestOrBuildergetCreateRecognizerRequestOrBuilder()The CreateRecognizerRequest that spawned the Operation.com.google.protobuf.TimestampgetCreateTime()The time the operation was created.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The time the operation was created.static OperationMetadatagetDefaultInstance()OperationMetadatagetDefaultInstanceForType()DeleteCustomClassRequestgetDeleteCustomClassRequest()The DeleteCustomClassRequest that spawned the Operation.DeleteCustomClassRequestOrBuildergetDeleteCustomClassRequestOrBuilder()The DeleteCustomClassRequest that spawned the Operation.DeletePhraseSetRequestgetDeletePhraseSetRequest()The DeletePhraseSetRequest that spawned the Operation.DeletePhraseSetRequestOrBuildergetDeletePhraseSetRequestOrBuilder()The DeletePhraseSetRequest that spawned the Operation.DeleteRecognizerRequestgetDeleteRecognizerRequest()The DeleteRecognizerRequest that spawned the Operation.DeleteRecognizerRequestOrBuildergetDeleteRecognizerRequestOrBuilder()The DeleteRecognizerRequest that spawned the Operation.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetKmsKeyName()The [KMS key name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which the content of the Operation is encrypted.com.google.protobuf.ByteStringgetKmsKeyNameBytes()The [KMS key name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which the content of the Operation is encrypted.StringgetKmsKeyVersionName()The [KMS key version name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions) with which content of the Operation is encrypted.com.google.protobuf.ByteStringgetKmsKeyVersionNameBytes()The [KMS key version name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions) with which content of the Operation is encrypted.OperationMetadata.MetadataCasegetMetadataCase()StringgetMethod()The method that triggered the operation.com.google.protobuf.ByteStringgetMethodBytes()The method that triggered the operation.com.google.protobuf.Parser<OperationMetadata>getParserForType()intgetProgressPercent()The percent progress of the Operation.OperationMetadata.RequestCasegetRequestCase()StringgetResource()The resource path for the target of the operation.com.google.protobuf.ByteStringgetResourceBytes()The resource path for the target of the operation.intgetSerializedSize()UndeleteCustomClassRequestgetUndeleteCustomClassRequest()The UndeleteCustomClassRequest that spawned the Operation.UndeleteCustomClassRequestOrBuildergetUndeleteCustomClassRequestOrBuilder()The UndeleteCustomClassRequest that spawned the Operation.UndeletePhraseSetRequestgetUndeletePhraseSetRequest()The UndeletePhraseSetRequest that spawned the Operation.UndeletePhraseSetRequestOrBuildergetUndeletePhraseSetRequestOrBuilder()The UndeletePhraseSetRequest that spawned the Operation.UndeleteRecognizerRequestgetUndeleteRecognizerRequest()The UndeleteRecognizerRequest that spawned the Operation.UndeleteRecognizerRequestOrBuildergetUndeleteRecognizerRequestOrBuilder()The UndeleteRecognizerRequest that spawned the Operation.UpdateConfigRequestgetUpdateConfigRequest()Deprecated.google.cloud.speech.v2.OperationMetadata.update_config_request is deprecated.UpdateConfigRequestOrBuildergetUpdateConfigRequestOrBuilder()Deprecated.UpdateCustomClassRequestgetUpdateCustomClassRequest()The UpdateCustomClassRequest that spawned the Operation.UpdateCustomClassRequestOrBuildergetUpdateCustomClassRequestOrBuilder()The UpdateCustomClassRequest that spawned the Operation.UpdatePhraseSetRequestgetUpdatePhraseSetRequest()The UpdatePhraseSetRequest that spawned the Operation.UpdatePhraseSetRequestOrBuildergetUpdatePhraseSetRequestOrBuilder()The UpdatePhraseSetRequest that spawned the Operation.UpdateRecognizerRequestgetUpdateRecognizerRequest()The UpdateRecognizerRequest that spawned the Operation.UpdateRecognizerRequestOrBuildergetUpdateRecognizerRequestOrBuilder()The UpdateRecognizerRequest that spawned the Operation.com.google.protobuf.TimestampgetUpdateTime()The time the operation was last updated.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()The time the operation was last updated.booleanhasBatchRecognizeMetadata()Metadata specific to the BatchRecognize method.booleanhasBatchRecognizeRequest()The BatchRecognizeRequest that spawned the Operation.booleanhasCreateCustomClassRequest()The CreateCustomClassRequest that spawned the Operation.booleanhasCreatePhraseSetRequest()The CreatePhraseSetRequest that spawned the Operation.booleanhasCreateRecognizerRequest()The CreateRecognizerRequest that spawned the Operation.booleanhasCreateTime()The time the operation was created.booleanhasDeleteCustomClassRequest()The DeleteCustomClassRequest that spawned the Operation.booleanhasDeletePhraseSetRequest()The DeletePhraseSetRequest that spawned the Operation.booleanhasDeleteRecognizerRequest()The DeleteRecognizerRequest that spawned the Operation.inthashCode()booleanhasUndeleteCustomClassRequest()The UndeleteCustomClassRequest that spawned the Operation.booleanhasUndeletePhraseSetRequest()The UndeletePhraseSetRequest that spawned the Operation.booleanhasUndeleteRecognizerRequest()The UndeleteRecognizerRequest that spawned the Operation.booleanhasUpdateConfigRequest()Deprecated.google.cloud.speech.v2.OperationMetadata.update_config_request is deprecated.booleanhasUpdateCustomClassRequest()The UpdateCustomClassRequest that spawned the Operation.booleanhasUpdatePhraseSetRequest()The UpdatePhraseSetRequest that spawned the Operation.booleanhasUpdateRecognizerRequest()The UpdateRecognizerRequest that spawned the Operation.booleanhasUpdateTime()The time the operation was last updated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OperationMetadata.BuildernewBuilder()static OperationMetadata.BuildernewBuilder(OperationMetadata prototype)OperationMetadata.BuildernewBuilderForType()protected OperationMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OperationMetadataparseDelimitedFrom(InputStream input)static OperationMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OperationMetadataparseFrom(byte[] data)static OperationMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OperationMetadataparseFrom(com.google.protobuf.ByteString data)static OperationMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OperationMetadataparseFrom(com.google.protobuf.CodedInputStream input)static OperationMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OperationMetadataparseFrom(InputStream input)static OperationMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OperationMetadataparseFrom(ByteBuffer data)static OperationMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OperationMetadata>parser()OperationMetadata.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METHOD_FIELD_NUMBER
public static final int METHOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KMS_KEY_NAME_FIELD_NUMBER
public static final int KMS_KEY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KMS_KEY_VERSION_NAME_FIELD_NUMBER
public static final int KMS_KEY_VERSION_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BATCH_RECOGNIZE_REQUEST_FIELD_NUMBER
public static final int BATCH_RECOGNIZE_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_RECOGNIZER_REQUEST_FIELD_NUMBER
public static final int CREATE_RECOGNIZER_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_RECOGNIZER_REQUEST_FIELD_NUMBER
public static final int UPDATE_RECOGNIZER_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETE_RECOGNIZER_REQUEST_FIELD_NUMBER
public static final int DELETE_RECOGNIZER_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNDELETE_RECOGNIZER_REQUEST_FIELD_NUMBER
public static final int UNDELETE_RECOGNIZER_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER
public static final int CREATE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER
public static final int UPDATE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER
public static final int DELETE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNDELETE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER
public static final int UNDELETE_CUSTOM_CLASS_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_PHRASE_SET_REQUEST_FIELD_NUMBER
public static final int CREATE_PHRASE_SET_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_PHRASE_SET_REQUEST_FIELD_NUMBER
public static final int UPDATE_PHRASE_SET_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETE_PHRASE_SET_REQUEST_FIELD_NUMBER
public static final int DELETE_PHRASE_SET_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNDELETE_PHRASE_SET_REQUEST_FIELD_NUMBER
public static final int UNDELETE_PHRASE_SET_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_CONFIG_REQUEST_FIELD_NUMBER
public static final int UPDATE_CONFIG_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROGRESS_PERCENT_FIELD_NUMBER
public static final int PROGRESS_PERCENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BATCH_RECOGNIZE_METADATA_FIELD_NUMBER
public static final int BATCH_RECOGNIZE_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getRequestCase
public OperationMetadata.RequestCase getRequestCase()
- Specified by:
getRequestCasein interfaceOperationMetadataOrBuilder
-
getMetadataCase
public OperationMetadata.MetadataCase getMetadataCase()
- Specified by:
getMetadataCasein interfaceOperationMetadataOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
The time the operation was created.
.google.protobuf.Timestamp create_time = 1;- Specified by:
hasCreateTimein interfaceOperationMetadataOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
The time the operation was created.
.google.protobuf.Timestamp create_time = 1;- Specified by:
getCreateTimein interfaceOperationMetadataOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time the operation was created.
.google.protobuf.Timestamp create_time = 1;- Specified by:
getCreateTimeOrBuilderin interfaceOperationMetadataOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
The time the operation was last updated.
.google.protobuf.Timestamp update_time = 2;- Specified by:
hasUpdateTimein interfaceOperationMetadataOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
The time the operation was last updated.
.google.protobuf.Timestamp update_time = 2;- Specified by:
getUpdateTimein interfaceOperationMetadataOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
The time the operation was last updated.
.google.protobuf.Timestamp update_time = 2;- Specified by:
getUpdateTimeOrBuilderin interfaceOperationMetadataOrBuilder
-
getResource
public String getResource()
The resource path for the target of the operation.
string resource = 3;- Specified by:
getResourcein interfaceOperationMetadataOrBuilder- Returns:
- The resource.
-
getResourceBytes
public com.google.protobuf.ByteString getResourceBytes()
The resource path for the target of the operation.
string resource = 3;- Specified by:
getResourceBytesin interfaceOperationMetadataOrBuilder- Returns:
- The bytes for resource.
-
getMethod
public String getMethod()
The method that triggered the operation.
string method = 4;- Specified by:
getMethodin interfaceOperationMetadataOrBuilder- Returns:
- The method.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()
The method that triggered the operation.
string method = 4;- Specified by:
getMethodBytesin interfaceOperationMetadataOrBuilder- Returns:
- The bytes for method.
-
getKmsKeyName
public String getKmsKeyName()
The [KMS key name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) 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) = { ... }- Specified by:
getKmsKeyNamein interfaceOperationMetadataOrBuilder- Returns:
- The kmsKeyName.
-
getKmsKeyNameBytes
public com.google.protobuf.ByteString getKmsKeyNameBytes()
The [KMS key name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) 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) = { ... }- Specified by:
getKmsKeyNameBytesin interfaceOperationMetadataOrBuilder- Returns:
- The bytes for kmsKeyName.
-
getKmsKeyVersionName
public String getKmsKeyVersionName()
The [KMS key version name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions) 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) = { ... }- Specified by:
getKmsKeyVersionNamein interfaceOperationMetadataOrBuilder- Returns:
- The kmsKeyVersionName.
-
getKmsKeyVersionNameBytes
public com.google.protobuf.ByteString getKmsKeyVersionNameBytes()
The [KMS key version name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions) 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) = { ... }- Specified by:
getKmsKeyVersionNameBytesin interfaceOperationMetadataOrBuilder- Returns:
- The bytes for kmsKeyVersionName.
-
hasBatchRecognizeRequest
public boolean hasBatchRecognizeRequest()
The BatchRecognizeRequest that spawned the Operation.
.google.cloud.speech.v2.BatchRecognizeRequest batch_recognize_request = 8;- Specified by:
hasBatchRecognizeRequestin interfaceOperationMetadataOrBuilder- Returns:
- Whether the batchRecognizeRequest field is set.
-
getBatchRecognizeRequest
public BatchRecognizeRequest getBatchRecognizeRequest()
The BatchRecognizeRequest that spawned the Operation.
.google.cloud.speech.v2.BatchRecognizeRequest batch_recognize_request = 8;- Specified by:
getBatchRecognizeRequestin interfaceOperationMetadataOrBuilder- Returns:
- The batchRecognizeRequest.
-
getBatchRecognizeRequestOrBuilder
public BatchRecognizeRequestOrBuilder getBatchRecognizeRequestOrBuilder()
The BatchRecognizeRequest that spawned the Operation.
.google.cloud.speech.v2.BatchRecognizeRequest batch_recognize_request = 8;- Specified by:
getBatchRecognizeRequestOrBuilderin interfaceOperationMetadataOrBuilder
-
hasCreateRecognizerRequest
public boolean hasCreateRecognizerRequest()
The CreateRecognizerRequest that spawned the Operation.
.google.cloud.speech.v2.CreateRecognizerRequest create_recognizer_request = 9;- Specified by:
hasCreateRecognizerRequestin interfaceOperationMetadataOrBuilder- Returns:
- Whether the createRecognizerRequest field is set.
-
getCreateRecognizerRequest
public CreateRecognizerRequest getCreateRecognizerRequest()
The CreateRecognizerRequest that spawned the Operation.
.google.cloud.speech.v2.CreateRecognizerRequest create_recognizer_request = 9;- Specified by:
getCreateRecognizerRequestin interfaceOperationMetadataOrBuilder- Returns:
- The createRecognizerRequest.
-
getCreateRecognizerRequestOrBuilder
public CreateRecognizerRequestOrBuilder getCreateRecognizerRequestOrBuilder()
The CreateRecognizerRequest that spawned the Operation.
.google.cloud.speech.v2.CreateRecognizerRequest create_recognizer_request = 9;- Specified by:
getCreateRecognizerRequestOrBuilderin interfaceOperationMetadataOrBuilder
-
hasUpdateRecognizerRequest
public boolean hasUpdateRecognizerRequest()
The UpdateRecognizerRequest that spawned the Operation.
.google.cloud.speech.v2.UpdateRecognizerRequest update_recognizer_request = 10;- Specified by:
hasUpdateRecognizerRequestin interfaceOperationMetadataOrBuilder- Returns:
- Whether the updateRecognizerRequest field is set.
-
getUpdateRecognizerRequest
public UpdateRecognizerRequest getUpdateRecognizerRequest()
The UpdateRecognizerRequest that spawned the Operation.
.google.cloud.speech.v2.UpdateRecognizerRequest update_recognizer_request = 10;- Specified by:
getUpdateRecognizerRequestin interfaceOperationMetadataOrBuilder- Returns:
- The updateRecognizerRequest.
-
getUpdateRecognizerRequestOrBuilder
public UpdateRecognizerRequestOrBuilder getUpdateRecognizerRequestOrBuilder()
The UpdateRecognizerRequest that spawned the Operation.
.google.cloud.speech.v2.UpdateRecognizerRequest update_recognizer_request = 10;- Specified by:
getUpdateRecognizerRequestOrBuilderin interfaceOperationMetadataOrBuilder
-
hasDeleteRecognizerRequest
public boolean hasDeleteRecognizerRequest()
The DeleteRecognizerRequest that spawned the Operation.
.google.cloud.speech.v2.DeleteRecognizerRequest delete_recognizer_request = 11;- Specified by:
hasDeleteRecognizerRequestin interfaceOperationMetadataOrBuilder- Returns:
- Whether the deleteRecognizerRequest field is set.
-
getDeleteRecognizerRequest
public DeleteRecognizerRequest getDeleteRecognizerRequest()
The DeleteRecognizerRequest that spawned the Operation.
.google.cloud.speech.v2.DeleteRecognizerRequest delete_recognizer_request = 11;- Specified by:
getDeleteRecognizerRequestin interfaceOperationMetadataOrBuilder- Returns:
- The deleteRecognizerRequest.
-
getDeleteRecognizerRequestOrBuilder
public DeleteRecognizerRequestOrBuilder getDeleteRecognizerRequestOrBuilder()
The DeleteRecognizerRequest that spawned the Operation.
.google.cloud.speech.v2.DeleteRecognizerRequest delete_recognizer_request = 11;- Specified by:
getDeleteRecognizerRequestOrBuilderin interfaceOperationMetadataOrBuilder
-
hasUndeleteRecognizerRequest
public boolean hasUndeleteRecognizerRequest()
The UndeleteRecognizerRequest that spawned the Operation.
.google.cloud.speech.v2.UndeleteRecognizerRequest undelete_recognizer_request = 12;- Specified by:
hasUndeleteRecognizerRequestin interfaceOperationMetadataOrBuilder- Returns:
- Whether the undeleteRecognizerRequest field is set.
-
getUndeleteRecognizerRequest
public UndeleteRecognizerRequest getUndeleteRecognizerRequest()
The UndeleteRecognizerRequest that spawned the Operation.
.google.cloud.speech.v2.UndeleteRecognizerRequest undelete_recognizer_request = 12;- Specified by:
getUndeleteRecognizerRequestin interfaceOperationMetadataOrBuilder- Returns:
- The undeleteRecognizerRequest.
-
getUndeleteRecognizerRequestOrBuilder
public UndeleteRecognizerRequestOrBuilder getUndeleteRecognizerRequestOrBuilder()
The UndeleteRecognizerRequest that spawned the Operation.
.google.cloud.speech.v2.UndeleteRecognizerRequest undelete_recognizer_request = 12;- Specified by:
getUndeleteRecognizerRequestOrBuilderin interfaceOperationMetadataOrBuilder
-
hasCreateCustomClassRequest
public boolean hasCreateCustomClassRequest()
The CreateCustomClassRequest that spawned the Operation.
.google.cloud.speech.v2.CreateCustomClassRequest create_custom_class_request = 13;- Specified by:
hasCreateCustomClassRequestin interfaceOperationMetadataOrBuilder- Returns:
- Whether the createCustomClassRequest field is set.
-
getCreateCustomClassRequest
public CreateCustomClassRequest getCreateCustomClassRequest()
The CreateCustomClassRequest that spawned the Operation.
.google.cloud.speech.v2.CreateCustomClassRequest create_custom_class_request = 13;- Specified by:
getCreateCustomClassRequestin interfaceOperationMetadataOrBuilder- Returns:
- The createCustomClassRequest.
-
getCreateCustomClassRequestOrBuilder
public CreateCustomClassRequestOrBuilder getCreateCustomClassRequestOrBuilder()
The CreateCustomClassRequest that spawned the Operation.
.google.cloud.speech.v2.CreateCustomClassRequest create_custom_class_request = 13;- Specified by:
getCreateCustomClassRequestOrBuilderin interfaceOperationMetadataOrBuilder
-
hasUpdateCustomClassRequest
public boolean hasUpdateCustomClassRequest()
The UpdateCustomClassRequest that spawned the Operation.
.google.cloud.speech.v2.UpdateCustomClassRequest update_custom_class_request = 14;- Specified by:
hasUpdateCustomClassRequestin interfaceOperationMetadataOrBuilder- Returns:
- Whether the updateCustomClassRequest field is set.
-
getUpdateCustomClassRequest
public UpdateCustomClassRequest getUpdateCustomClassRequest()
The UpdateCustomClassRequest that spawned the Operation.
.google.cloud.speech.v2.UpdateCustomClassRequest update_custom_class_request = 14;- Specified by:
getUpdateCustomClassRequestin interfaceOperationMetadataOrBuilder- Returns:
- The updateCustomClassRequest.
-
getUpdateCustomClassRequestOrBuilder
public UpdateCustomClassRequestOrBuilder getUpdateCustomClassRequestOrBuilder()
The UpdateCustomClassRequest that spawned the Operation.
.google.cloud.speech.v2.UpdateCustomClassRequest update_custom_class_request = 14;- Specified by:
getUpdateCustomClassRequestOrBuilderin interfaceOperationMetadataOrBuilder
-
hasDeleteCustomClassRequest
public boolean hasDeleteCustomClassRequest()
The DeleteCustomClassRequest that spawned the Operation.
.google.cloud.speech.v2.DeleteCustomClassRequest delete_custom_class_request = 15;- Specified by:
hasDeleteCustomClassRequestin interfaceOperationMetadataOrBuilder- Returns:
- Whether the deleteCustomClassRequest field is set.
-
getDeleteCustomClassRequest
public DeleteCustomClassRequest getDeleteCustomClassRequest()
The DeleteCustomClassRequest that spawned the Operation.
.google.cloud.speech.v2.DeleteCustomClassRequest delete_custom_class_request = 15;- Specified by:
getDeleteCustomClassRequestin interfaceOperationMetadataOrBuilder- Returns:
- The deleteCustomClassRequest.
-
getDeleteCustomClassRequestOrBuilder
public DeleteCustomClassRequestOrBuilder getDeleteCustomClassRequestOrBuilder()
The DeleteCustomClassRequest that spawned the Operation.
.google.cloud.speech.v2.DeleteCustomClassRequest delete_custom_class_request = 15;- Specified by:
getDeleteCustomClassRequestOrBuilderin interfaceOperationMetadataOrBuilder
-
hasUndeleteCustomClassRequest
public boolean hasUndeleteCustomClassRequest()
The UndeleteCustomClassRequest that spawned the Operation.
.google.cloud.speech.v2.UndeleteCustomClassRequest undelete_custom_class_request = 16;- Specified by:
hasUndeleteCustomClassRequestin interfaceOperationMetadataOrBuilder- Returns:
- Whether the undeleteCustomClassRequest field is set.
-
getUndeleteCustomClassRequest
public UndeleteCustomClassRequest getUndeleteCustomClassRequest()
The UndeleteCustomClassRequest that spawned the Operation.
.google.cloud.speech.v2.UndeleteCustomClassRequest undelete_custom_class_request = 16;- Specified by:
getUndeleteCustomClassRequestin interfaceOperationMetadataOrBuilder- Returns:
- The undeleteCustomClassRequest.
-
getUndeleteCustomClassRequestOrBuilder
public UndeleteCustomClassRequestOrBuilder getUndeleteCustomClassRequestOrBuilder()
The UndeleteCustomClassRequest that spawned the Operation.
.google.cloud.speech.v2.UndeleteCustomClassRequest undelete_custom_class_request = 16;- Specified by:
getUndeleteCustomClassRequestOrBuilderin interfaceOperationMetadataOrBuilder
-
hasCreatePhraseSetRequest
public boolean hasCreatePhraseSetRequest()
The CreatePhraseSetRequest that spawned the Operation.
.google.cloud.speech.v2.CreatePhraseSetRequest create_phrase_set_request = 17;- Specified by:
hasCreatePhraseSetRequestin interfaceOperationMetadataOrBuilder- Returns:
- Whether the createPhraseSetRequest field is set.
-
getCreatePhraseSetRequest
public CreatePhraseSetRequest getCreatePhraseSetRequest()
The CreatePhraseSetRequest that spawned the Operation.
.google.cloud.speech.v2.CreatePhraseSetRequest create_phrase_set_request = 17;- Specified by:
getCreatePhraseSetRequestin interfaceOperationMetadataOrBuilder- Returns:
- The createPhraseSetRequest.
-
getCreatePhraseSetRequestOrBuilder
public CreatePhraseSetRequestOrBuilder getCreatePhraseSetRequestOrBuilder()
The CreatePhraseSetRequest that spawned the Operation.
.google.cloud.speech.v2.CreatePhraseSetRequest create_phrase_set_request = 17;- Specified by:
getCreatePhraseSetRequestOrBuilderin interfaceOperationMetadataOrBuilder
-
hasUpdatePhraseSetRequest
public boolean hasUpdatePhraseSetRequest()
The UpdatePhraseSetRequest that spawned the Operation.
.google.cloud.speech.v2.UpdatePhraseSetRequest update_phrase_set_request = 18;- Specified by:
hasUpdatePhraseSetRequestin interfaceOperationMetadataOrBuilder- Returns:
- Whether the updatePhraseSetRequest field is set.
-
getUpdatePhraseSetRequest
public UpdatePhraseSetRequest getUpdatePhraseSetRequest()
The UpdatePhraseSetRequest that spawned the Operation.
.google.cloud.speech.v2.UpdatePhraseSetRequest update_phrase_set_request = 18;- Specified by:
getUpdatePhraseSetRequestin interfaceOperationMetadataOrBuilder- Returns:
- The updatePhraseSetRequest.
-
getUpdatePhraseSetRequestOrBuilder
public UpdatePhraseSetRequestOrBuilder getUpdatePhraseSetRequestOrBuilder()
The UpdatePhraseSetRequest that spawned the Operation.
.google.cloud.speech.v2.UpdatePhraseSetRequest update_phrase_set_request = 18;- Specified by:
getUpdatePhraseSetRequestOrBuilderin interfaceOperationMetadataOrBuilder
-
hasDeletePhraseSetRequest
public boolean hasDeletePhraseSetRequest()
The DeletePhraseSetRequest that spawned the Operation.
.google.cloud.speech.v2.DeletePhraseSetRequest delete_phrase_set_request = 19;- Specified by:
hasDeletePhraseSetRequestin interfaceOperationMetadataOrBuilder- Returns:
- Whether the deletePhraseSetRequest field is set.
-
getDeletePhraseSetRequest
public DeletePhraseSetRequest getDeletePhraseSetRequest()
The DeletePhraseSetRequest that spawned the Operation.
.google.cloud.speech.v2.DeletePhraseSetRequest delete_phrase_set_request = 19;- Specified by:
getDeletePhraseSetRequestin interfaceOperationMetadataOrBuilder- Returns:
- The deletePhraseSetRequest.
-
getDeletePhraseSetRequestOrBuilder
public DeletePhraseSetRequestOrBuilder getDeletePhraseSetRequestOrBuilder()
The DeletePhraseSetRequest that spawned the Operation.
.google.cloud.speech.v2.DeletePhraseSetRequest delete_phrase_set_request = 19;- Specified by:
getDeletePhraseSetRequestOrBuilderin interfaceOperationMetadataOrBuilder
-
hasUndeletePhraseSetRequest
public boolean hasUndeletePhraseSetRequest()
The UndeletePhraseSetRequest that spawned the Operation.
.google.cloud.speech.v2.UndeletePhraseSetRequest undelete_phrase_set_request = 20;- Specified by:
hasUndeletePhraseSetRequestin interfaceOperationMetadataOrBuilder- Returns:
- Whether the undeletePhraseSetRequest field is set.
-
getUndeletePhraseSetRequest
public UndeletePhraseSetRequest getUndeletePhraseSetRequest()
The UndeletePhraseSetRequest that spawned the Operation.
.google.cloud.speech.v2.UndeletePhraseSetRequest undelete_phrase_set_request = 20;- Specified by:
getUndeletePhraseSetRequestin interfaceOperationMetadataOrBuilder- Returns:
- The undeletePhraseSetRequest.
-
getUndeletePhraseSetRequestOrBuilder
public UndeletePhraseSetRequestOrBuilder getUndeletePhraseSetRequestOrBuilder()
The UndeletePhraseSetRequest that spawned the Operation.
.google.cloud.speech.v2.UndeletePhraseSetRequest undelete_phrase_set_request = 20;- Specified by:
getUndeletePhraseSetRequestOrBuilderin interfaceOperationMetadataOrBuilder
-
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=419The UpdateConfigRequest that spawned the Operation.
.google.cloud.speech.v2.UpdateConfigRequest update_config_request = 21 [deprecated = true];- Specified by:
hasUpdateConfigRequestin interfaceOperationMetadataOrBuilder- Returns:
- Whether the updateConfigRequest field is set.
-
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=419The UpdateConfigRequest that spawned the Operation.
.google.cloud.speech.v2.UpdateConfigRequest update_config_request = 21 [deprecated = true];- Specified by:
getUpdateConfigRequestin interfaceOperationMetadataOrBuilder- Returns:
- The updateConfigRequest.
-
getUpdateConfigRequestOrBuilder
@Deprecated public UpdateConfigRequestOrBuilder getUpdateConfigRequestOrBuilder()
Deprecated.The UpdateConfigRequest that spawned the Operation.
.google.cloud.speech.v2.UpdateConfigRequest update_config_request = 21 [deprecated = true];- Specified by:
getUpdateConfigRequestOrBuilderin interfaceOperationMetadataOrBuilder
-
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;- Specified by:
getProgressPercentin interfaceOperationMetadataOrBuilder- Returns:
- The progressPercent.
-
hasBatchRecognizeMetadata
public boolean hasBatchRecognizeMetadata()
Metadata specific to the BatchRecognize method.
.google.cloud.speech.v2.BatchRecognizeMetadata batch_recognize_metadata = 23;- Specified by:
hasBatchRecognizeMetadatain interfaceOperationMetadataOrBuilder- Returns:
- Whether the batchRecognizeMetadata field is set.
-
getBatchRecognizeMetadata
public BatchRecognizeMetadata getBatchRecognizeMetadata()
Metadata specific to the BatchRecognize method.
.google.cloud.speech.v2.BatchRecognizeMetadata batch_recognize_metadata = 23;- Specified by:
getBatchRecognizeMetadatain interfaceOperationMetadataOrBuilder- Returns:
- The batchRecognizeMetadata.
-
getBatchRecognizeMetadataOrBuilder
public BatchRecognizeMetadataOrBuilder getBatchRecognizeMetadataOrBuilder()
Metadata specific to the BatchRecognize method.
.google.cloud.speech.v2.BatchRecognizeMetadata batch_recognize_metadata = 23;- Specified by:
getBatchRecognizeMetadataOrBuilderin interfaceOperationMetadataOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OperationMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperationMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperationMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperationMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperationMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperationMetadata parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OperationMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OperationMetadata parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OperationMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OperationMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OperationMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OperationMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OperationMetadata.Builder newBuilder()
-
newBuilder
public static OperationMetadata.Builder newBuilder(OperationMetadata prototype)
-
toBuilder
public OperationMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OperationMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OperationMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OperationMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<OperationMetadata> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OperationMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-