Package com.google.cloud.speech.v2
Interface UndeletePhraseSetRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UndeletePhraseSetRequest
,UndeletePhraseSetRequest.Builder
public interface UndeletePhraseSetRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 undeleted PhraseSet, but do not actually undelete 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 undelete. 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 undelete. 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 undeleted PhraseSet, but do not actually undelete it.
bool validate_only = 3;
- Returns:
- The validateOnly.
-
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 = 4;
- 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 = 4;
- Returns:
- The bytes for etag.
-
-