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 class
OperationMetadata.Builder
Represents the metadata of a long-running operation.static class
OperationMetadata.MetadataCase
static class
OperationMetadata.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 boolean
equals(Object obj)
BatchRecognizeMetadata
getBatchRecognizeMetadata()
Metadata specific to the BatchRecognize method.BatchRecognizeMetadataOrBuilder
getBatchRecognizeMetadataOrBuilder()
Metadata specific to the BatchRecognize method.BatchRecognizeRequest
getBatchRecognizeRequest()
The BatchRecognizeRequest that spawned the Operation.BatchRecognizeRequestOrBuilder
getBatchRecognizeRequestOrBuilder()
The BatchRecognizeRequest that spawned the Operation.CreateCustomClassRequest
getCreateCustomClassRequest()
The CreateCustomClassRequest that spawned the Operation.CreateCustomClassRequestOrBuilder
getCreateCustomClassRequestOrBuilder()
The CreateCustomClassRequest that spawned the Operation.CreatePhraseSetRequest
getCreatePhraseSetRequest()
The CreatePhraseSetRequest that spawned the Operation.CreatePhraseSetRequestOrBuilder
getCreatePhraseSetRequestOrBuilder()
The CreatePhraseSetRequest that spawned the Operation.CreateRecognizerRequest
getCreateRecognizerRequest()
The CreateRecognizerRequest that spawned the Operation.CreateRecognizerRequestOrBuilder
getCreateRecognizerRequestOrBuilder()
The CreateRecognizerRequest that spawned the Operation.com.google.protobuf.Timestamp
getCreateTime()
The time the operation was created.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
The time the operation was created.static OperationMetadata
getDefaultInstance()
OperationMetadata
getDefaultInstanceForType()
DeleteCustomClassRequest
getDeleteCustomClassRequest()
The DeleteCustomClassRequest that spawned the Operation.DeleteCustomClassRequestOrBuilder
getDeleteCustomClassRequestOrBuilder()
The DeleteCustomClassRequest that spawned the Operation.DeletePhraseSetRequest
getDeletePhraseSetRequest()
The DeletePhraseSetRequest that spawned the Operation.DeletePhraseSetRequestOrBuilder
getDeletePhraseSetRequestOrBuilder()
The DeletePhraseSetRequest that spawned the Operation.DeleteRecognizerRequest
getDeleteRecognizerRequest()
The DeleteRecognizerRequest that spawned the Operation.DeleteRecognizerRequestOrBuilder
getDeleteRecognizerRequestOrBuilder()
The DeleteRecognizerRequest that spawned the Operation.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getKmsKeyName()
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.ByteString
getKmsKeyNameBytes()
The [KMS key name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which the content of the Operation is encrypted.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.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.OperationMetadata.MetadataCase
getMetadataCase()
String
getMethod()
The method that triggered the operation.com.google.protobuf.ByteString
getMethodBytes()
The method that triggered the operation.com.google.protobuf.Parser<OperationMetadata>
getParserForType()
int
getProgressPercent()
The percent progress of the Operation.OperationMetadata.RequestCase
getRequestCase()
String
getResource()
The resource path for the target of the operation.com.google.protobuf.ByteString
getResourceBytes()
The resource path for the target of the operation.int
getSerializedSize()
UndeleteCustomClassRequest
getUndeleteCustomClassRequest()
The UndeleteCustomClassRequest that spawned the Operation.UndeleteCustomClassRequestOrBuilder
getUndeleteCustomClassRequestOrBuilder()
The UndeleteCustomClassRequest that spawned the Operation.UndeletePhraseSetRequest
getUndeletePhraseSetRequest()
The UndeletePhraseSetRequest that spawned the Operation.UndeletePhraseSetRequestOrBuilder
getUndeletePhraseSetRequestOrBuilder()
The UndeletePhraseSetRequest that spawned the Operation.UndeleteRecognizerRequest
getUndeleteRecognizerRequest()
The UndeleteRecognizerRequest that spawned the Operation.UndeleteRecognizerRequestOrBuilder
getUndeleteRecognizerRequestOrBuilder()
The UndeleteRecognizerRequest that spawned the Operation.UpdateConfigRequest
getUpdateConfigRequest()
Deprecated.google.cloud.speech.v2.OperationMetadata.update_config_request is deprecated.UpdateConfigRequestOrBuilder
getUpdateConfigRequestOrBuilder()
Deprecated.UpdateCustomClassRequest
getUpdateCustomClassRequest()
The UpdateCustomClassRequest that spawned the Operation.UpdateCustomClassRequestOrBuilder
getUpdateCustomClassRequestOrBuilder()
The UpdateCustomClassRequest that spawned the Operation.UpdatePhraseSetRequest
getUpdatePhraseSetRequest()
The UpdatePhraseSetRequest that spawned the Operation.UpdatePhraseSetRequestOrBuilder
getUpdatePhraseSetRequestOrBuilder()
The UpdatePhraseSetRequest that spawned the Operation.UpdateRecognizerRequest
getUpdateRecognizerRequest()
The UpdateRecognizerRequest that spawned the Operation.UpdateRecognizerRequestOrBuilder
getUpdateRecognizerRequestOrBuilder()
The UpdateRecognizerRequest that spawned the Operation.com.google.protobuf.Timestamp
getUpdateTime()
The time the operation was last updated.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
The time the operation was last updated.boolean
hasBatchRecognizeMetadata()
Metadata specific to the BatchRecognize method.boolean
hasBatchRecognizeRequest()
The BatchRecognizeRequest that spawned the Operation.boolean
hasCreateCustomClassRequest()
The CreateCustomClassRequest that spawned the Operation.boolean
hasCreatePhraseSetRequest()
The CreatePhraseSetRequest that spawned the Operation.boolean
hasCreateRecognizerRequest()
The CreateRecognizerRequest that spawned the Operation.boolean
hasCreateTime()
The time the operation was created.boolean
hasDeleteCustomClassRequest()
The DeleteCustomClassRequest that spawned the Operation.boolean
hasDeletePhraseSetRequest()
The DeletePhraseSetRequest that spawned the Operation.boolean
hasDeleteRecognizerRequest()
The DeleteRecognizerRequest that spawned the Operation.int
hashCode()
boolean
hasUndeleteCustomClassRequest()
The UndeleteCustomClassRequest that spawned the Operation.boolean
hasUndeletePhraseSetRequest()
The UndeletePhraseSetRequest that spawned the Operation.boolean
hasUndeleteRecognizerRequest()
The UndeleteRecognizerRequest that spawned the Operation.boolean
hasUpdateConfigRequest()
Deprecated.google.cloud.speech.v2.OperationMetadata.update_config_request is deprecated.boolean
hasUpdateCustomClassRequest()
The UpdateCustomClassRequest that spawned the Operation.boolean
hasUpdatePhraseSetRequest()
The UpdatePhraseSetRequest that spawned the Operation.boolean
hasUpdateRecognizerRequest()
The UpdateRecognizerRequest that spawned the Operation.boolean
hasUpdateTime()
The time the operation was last updated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static OperationMetadata.Builder
newBuilder()
static OperationMetadata.Builder
newBuilder(OperationMetadata prototype)
OperationMetadata.Builder
newBuilderForType()
protected OperationMetadata.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static OperationMetadata
parseDelimitedFrom(InputStream input)
static OperationMetadata
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OperationMetadata
parseFrom(byte[] data)
static OperationMetadata
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OperationMetadata
parseFrom(com.google.protobuf.ByteString data)
static OperationMetadata
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OperationMetadata
parseFrom(com.google.protobuf.CodedInputStream input)
static OperationMetadata
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OperationMetadata
parseFrom(InputStream input)
static OperationMetadata
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OperationMetadata
parseFrom(ByteBuffer data)
static OperationMetadata
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<OperationMetadata>
parser()
OperationMetadata.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getRequestCase
public OperationMetadata.RequestCase getRequestCase()
- Specified by:
getRequestCase
in interfaceOperationMetadataOrBuilder
-
getMetadataCase
public OperationMetadata.MetadataCase getMetadataCase()
- Specified by:
getMetadataCase
in interfaceOperationMetadataOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
The time the operation was created.
.google.protobuf.Timestamp create_time = 1;
- Specified by:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in interfaceOperationMetadataOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
The time the operation was last updated.
.google.protobuf.Timestamp update_time = 2;
- Specified by:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in interfaceOperationMetadataOrBuilder
-
getResource
public String getResource()
The resource path for the target of the operation.
string resource = 3;
- Specified by:
getResource
in 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:
getResourceBytes
in interfaceOperationMetadataOrBuilder
- Returns:
- The bytes for resource.
-
getMethod
public String getMethod()
The method that triggered the operation.
string method = 4;
- Specified by:
getMethod
in interfaceOperationMetadataOrBuilder
- Returns:
- The method.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()
The method that triggered the operation.
string method = 4;
- Specified by:
getMethodBytes
in 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:
getKmsKeyName
in 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:
getKmsKeyNameBytes
in 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:
getKmsKeyVersionName
in 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:
getKmsKeyVersionNameBytes
in 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:
hasBatchRecognizeRequest
in 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:
getBatchRecognizeRequest
in 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:
getBatchRecognizeRequestOrBuilder
in interfaceOperationMetadataOrBuilder
-
hasCreateRecognizerRequest
public boolean hasCreateRecognizerRequest()
The CreateRecognizerRequest that spawned the Operation.
.google.cloud.speech.v2.CreateRecognizerRequest create_recognizer_request = 9;
- Specified by:
hasCreateRecognizerRequest
in 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:
getCreateRecognizerRequest
in 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:
getCreateRecognizerRequestOrBuilder
in interfaceOperationMetadataOrBuilder
-
hasUpdateRecognizerRequest
public boolean hasUpdateRecognizerRequest()
The UpdateRecognizerRequest that spawned the Operation.
.google.cloud.speech.v2.UpdateRecognizerRequest update_recognizer_request = 10;
- Specified by:
hasUpdateRecognizerRequest
in 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:
getUpdateRecognizerRequest
in 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:
getUpdateRecognizerRequestOrBuilder
in interfaceOperationMetadataOrBuilder
-
hasDeleteRecognizerRequest
public boolean hasDeleteRecognizerRequest()
The DeleteRecognizerRequest that spawned the Operation.
.google.cloud.speech.v2.DeleteRecognizerRequest delete_recognizer_request = 11;
- Specified by:
hasDeleteRecognizerRequest
in 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:
getDeleteRecognizerRequest
in 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:
getDeleteRecognizerRequestOrBuilder
in interfaceOperationMetadataOrBuilder
-
hasUndeleteRecognizerRequest
public boolean hasUndeleteRecognizerRequest()
The UndeleteRecognizerRequest that spawned the Operation.
.google.cloud.speech.v2.UndeleteRecognizerRequest undelete_recognizer_request = 12;
- Specified by:
hasUndeleteRecognizerRequest
in 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:
getUndeleteRecognizerRequest
in 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:
getUndeleteRecognizerRequestOrBuilder
in interfaceOperationMetadataOrBuilder
-
hasCreateCustomClassRequest
public boolean hasCreateCustomClassRequest()
The CreateCustomClassRequest that spawned the Operation.
.google.cloud.speech.v2.CreateCustomClassRequest create_custom_class_request = 13;
- Specified by:
hasCreateCustomClassRequest
in 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:
getCreateCustomClassRequest
in 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:
getCreateCustomClassRequestOrBuilder
in interfaceOperationMetadataOrBuilder
-
hasUpdateCustomClassRequest
public boolean hasUpdateCustomClassRequest()
The UpdateCustomClassRequest that spawned the Operation.
.google.cloud.speech.v2.UpdateCustomClassRequest update_custom_class_request = 14;
- Specified by:
hasUpdateCustomClassRequest
in 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:
getUpdateCustomClassRequest
in 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:
getUpdateCustomClassRequestOrBuilder
in interfaceOperationMetadataOrBuilder
-
hasDeleteCustomClassRequest
public boolean hasDeleteCustomClassRequest()
The DeleteCustomClassRequest that spawned the Operation.
.google.cloud.speech.v2.DeleteCustomClassRequest delete_custom_class_request = 15;
- Specified by:
hasDeleteCustomClassRequest
in 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:
getDeleteCustomClassRequest
in 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:
getDeleteCustomClassRequestOrBuilder
in interfaceOperationMetadataOrBuilder
-
hasUndeleteCustomClassRequest
public boolean hasUndeleteCustomClassRequest()
The UndeleteCustomClassRequest that spawned the Operation.
.google.cloud.speech.v2.UndeleteCustomClassRequest undelete_custom_class_request = 16;
- Specified by:
hasUndeleteCustomClassRequest
in 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:
getUndeleteCustomClassRequest
in 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:
getUndeleteCustomClassRequestOrBuilder
in interfaceOperationMetadataOrBuilder
-
hasCreatePhraseSetRequest
public boolean hasCreatePhraseSetRequest()
The CreatePhraseSetRequest that spawned the Operation.
.google.cloud.speech.v2.CreatePhraseSetRequest create_phrase_set_request = 17;
- Specified by:
hasCreatePhraseSetRequest
in 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:
getCreatePhraseSetRequest
in 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:
getCreatePhraseSetRequestOrBuilder
in interfaceOperationMetadataOrBuilder
-
hasUpdatePhraseSetRequest
public boolean hasUpdatePhraseSetRequest()
The UpdatePhraseSetRequest that spawned the Operation.
.google.cloud.speech.v2.UpdatePhraseSetRequest update_phrase_set_request = 18;
- Specified by:
hasUpdatePhraseSetRequest
in 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:
getUpdatePhraseSetRequest
in 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:
getUpdatePhraseSetRequestOrBuilder
in interfaceOperationMetadataOrBuilder
-
hasDeletePhraseSetRequest
public boolean hasDeletePhraseSetRequest()
The DeletePhraseSetRequest that spawned the Operation.
.google.cloud.speech.v2.DeletePhraseSetRequest delete_phrase_set_request = 19;
- Specified by:
hasDeletePhraseSetRequest
in 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:
getDeletePhraseSetRequest
in 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:
getDeletePhraseSetRequestOrBuilder
in interfaceOperationMetadataOrBuilder
-
hasUndeletePhraseSetRequest
public boolean hasUndeletePhraseSetRequest()
The UndeletePhraseSetRequest that spawned the Operation.
.google.cloud.speech.v2.UndeletePhraseSetRequest undelete_phrase_set_request = 20;
- Specified by:
hasUndeletePhraseSetRequest
in 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:
getUndeletePhraseSetRequest
in 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:
getUndeletePhraseSetRequestOrBuilder
in 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:
hasUpdateConfigRequest
in 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:
getUpdateConfigRequest
in 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:
getUpdateConfigRequestOrBuilder
in 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:
getProgressPercent
in 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:
hasBatchRecognizeMetadata
in 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:
getBatchRecognizeMetadata
in 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:
getBatchRecognizeMetadataOrBuilder
in interfaceOperationMetadataOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OperationMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OperationMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-