Package com.google.cloud.speech.v2
Interface UpdateRecognizerRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateRecognizerRequest
,UpdateRecognizerRequest.Builder
public interface UpdateRecognizerRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Recognizer
getRecognizer()
Required.RecognizerOrBuilder
getRecognizerOrBuilder()
Required.com.google.protobuf.FieldMask
getUpdateMask()
The list of fields to update.com.google.protobuf.FieldMaskOrBuilder
getUpdateMaskOrBuilder()
The list of fields to update.boolean
getValidateOnly()
If set, validate the request and preview the updated Recognizer, but do not actually update it.boolean
hasRecognizer()
Required.boolean
hasUpdateMask()
The list of fields to update.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRecognizer
boolean hasRecognizer()
Required. The Recognizer to update. The Recognizer's `name` field is used to identify the Recognizer to update. Format: `projects/{project}/locations/{location}/recognizers/{recognizer}`.
.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 update. The Recognizer's `name` field is used to identify the Recognizer to update. Format: `projects/{project}/locations/{location}/recognizers/{recognizer}`.
.google.cloud.speech.v2.Recognizer recognizer = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The recognizer.
-
getRecognizerOrBuilder
RecognizerOrBuilder getRecognizerOrBuilder()
Required. The Recognizer to update. The Recognizer's `name` field is used to identify the Recognizer to update. Format: `projects/{project}/locations/{location}/recognizers/{recognizer}`.
.google.cloud.speech.v2.Recognizer recognizer = 1 [(.google.api.field_behavior) = REQUIRED];
-
hasUpdateMask
boolean hasUpdateMask()
The list of fields to update. If empty, all non-default valued fields are considered for update. Use `*` to update the entire Recognizer resource.
.google.protobuf.FieldMask update_mask = 2;
- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.FieldMask getUpdateMask()
The list of fields to update. If empty, all non-default valued fields are considered for update. Use `*` to update the entire Recognizer resource.
.google.protobuf.FieldMask update_mask = 2;
- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
The list of fields to update. If empty, all non-default valued fields are considered for update. Use `*` to update the entire Recognizer resource.
.google.protobuf.FieldMask update_mask = 2;
-
getValidateOnly
boolean getValidateOnly()
If set, validate the request and preview the updated Recognizer, but do not actually update it.
bool validate_only = 4;
- Returns:
- The validateOnly.
-
-