Package com.google.cloud.speech.v2
Interface CreateRecognizerRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateRecognizerRequest,CreateRecognizerRequest.Builder
@Generated
public interface CreateRecognizerRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.The ID to use for the Recognizer, which will become the final component of the Recognizer's resource name.com.google.protobuf.ByteStringThe ID to use for the Recognizer, which will become the final component of the Recognizer's resource name.Required.booleanIf set, validate the request and preview the Recognizer, but do not actually create it.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasRecognizer
boolean hasRecognizer()Required. The Recognizer to create.
.google.cloud.speech.v2.Recognizer recognizer = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the recognizer field is set.
-
getRecognizer
Recognizer getRecognizer()Required. The Recognizer to create.
.google.cloud.speech.v2.Recognizer recognizer = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The recognizer.
-
getRecognizerOrBuilder
RecognizerOrBuilder getRecognizerOrBuilder()Required. The Recognizer to create.
.google.cloud.speech.v2.Recognizer recognizer = 1 [(.google.api.field_behavior) = REQUIRED]; -
getValidateOnly
boolean getValidateOnly()If set, validate the request and preview the Recognizer, but do not actually create it.
bool validate_only = 2;- Returns:
- The validateOnly.
-
getRecognizerId
String getRecognizerId()The ID to use for the Recognizer, which will become the final component of the Recognizer's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.
string recognizer_id = 3;- Returns:
- The recognizerId.
-
getRecognizerIdBytes
com.google.protobuf.ByteString getRecognizerIdBytes()The ID to use for the Recognizer, which will become the final component of the Recognizer's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.
string recognizer_id = 3;- Returns:
- The bytes for recognizerId.
-
getParent
String getParent()Required. The project and location where this Recognizer will be created. The expected format is `projects/{project}/locations/{location}`.string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The project and location where this Recognizer will be created. The expected format is `projects/{project}/locations/{location}`.string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-