Package com.google.cloud.speech.v2
Interface UndeleteCustomClassRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UndeleteCustomClassRequest,UndeleteCustomClassRequest.Builder
@Generated
public interface UndeleteCustomClassRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetEtag()This checksum is computed by the server based on the value of other fields.com.google.protobuf.ByteStringThis checksum is computed by the server based on the value of other fields.getName()Required.com.google.protobuf.ByteStringRequired.booleanIf set, validate the request and preview the undeleted CustomClass, but do not actually undelete it.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
-
getName
String getName()Required. The name of the CustomClass to undelete. Format: `projects/{project}/locations/{location}/customClasses/{custom_class}`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 CustomClass to undelete. Format: `projects/{project}/locations/{location}/customClasses/{custom_class}`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 CustomClass, 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.
-