Package com.google.cloud.speech.v2
Interface DeletePhraseSetRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DeletePhraseSetRequest
,DeletePhraseSetRequest.Builder
public interface DeletePhraseSetRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAllowMissing()
If set to true, and the PhraseSet is not found, the request will succeed and be a no-op (no Operation is recorded in this case).String
getEtag()
This checksum is computed by the server based on the value of other fields.com.google.protobuf.ByteString
getEtagBytes()
This checksum is computed by the server based on the value of other fields.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.boolean
getValidateOnly()
If set, validate the request and preview the deleted PhraseSet, but do not actually delete it.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. The name of the PhraseSet to delete. Format: `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. The name of the PhraseSet to delete. Format: `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for name.
-
getValidateOnly
boolean getValidateOnly()
If set, validate the request and preview the deleted PhraseSet, but do not actually delete it.
bool validate_only = 2;
- Returns:
- The validateOnly.
-
getAllowMissing
boolean getAllowMissing()
If set to true, and the PhraseSet is not found, the request will succeed and be a no-op (no Operation is recorded in this case).
bool allow_missing = 4;
- Returns:
- The allowMissing.
-
getEtag
String getEtag()
This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 3;
- Returns:
- The etag.
-
getEtagBytes
com.google.protobuf.ByteString getEtagBytes()
This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 3;
- Returns:
- The bytes for etag.
-
-