Package com.google.cloud.speech.v2
Interface CreatePhraseSetRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreatePhraseSetRequest,CreatePhraseSetRequest.Builder
@Generated
public interface CreatePhraseSetRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.The ID to use for the PhraseSet, which will become the final component of the PhraseSet's resource name.com.google.protobuf.ByteStringThe ID to use for the PhraseSet, which will become the final component of the PhraseSet's resource name.Required.booleanIf set, validate the request and preview the PhraseSet, 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
-
hasPhraseSet
boolean hasPhraseSet()Required. The PhraseSet to create.
.google.cloud.speech.v2.PhraseSet phrase_set = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the phraseSet field is set.
-
getPhraseSet
PhraseSet getPhraseSet()Required. The PhraseSet to create.
.google.cloud.speech.v2.PhraseSet phrase_set = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The phraseSet.
-
getPhraseSetOrBuilder
PhraseSetOrBuilder getPhraseSetOrBuilder()Required. The PhraseSet to create.
.google.cloud.speech.v2.PhraseSet phrase_set = 1 [(.google.api.field_behavior) = REQUIRED]; -
getValidateOnly
boolean getValidateOnly()If set, validate the request and preview the PhraseSet, but do not actually create it.
bool validate_only = 2;- Returns:
- The validateOnly.
-
getPhraseSetId
String getPhraseSetId()The ID to use for the PhraseSet, which will become the final component of the PhraseSet's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.
string phrase_set_id = 3;- Returns:
- The phraseSetId.
-
getPhraseSetIdBytes
com.google.protobuf.ByteString getPhraseSetIdBytes()The ID to use for the PhraseSet, which will become the final component of the PhraseSet's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.
string phrase_set_id = 3;- Returns:
- The bytes for phraseSetId.
-
getParent
String getParent()Required. The project and location where this PhraseSet 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 PhraseSet 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.
-