Interface UpdateCustomClassRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateCustomClassRequest
,UpdateCustomClassRequest.Builder
public interface UpdateCustomClassRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomClass
getCustomClass()
Required.CustomClassOrBuilder
getCustomClassOrBuilder()
Required.com.google.protobuf.FieldMask
getUpdateMask()
The list of fields to be updated.com.google.protobuf.FieldMaskOrBuilder
getUpdateMaskOrBuilder()
The list of fields to be updated.boolean
hasCustomClass()
Required.boolean
hasUpdateMask()
The list of fields to be updated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCustomClass
boolean hasCustomClass()
Required. The custom class to update. The custom class's `name` field is used to identify the custom class to be updated. Format: `projects/{project}/locations/{location}/customClasses/{custom_class}` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.
.google.cloud.speech.v1p1beta1.CustomClass custom_class = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the customClass field is set.
-
getCustomClass
CustomClass getCustomClass()
Required. The custom class to update. The custom class's `name` field is used to identify the custom class to be updated. Format: `projects/{project}/locations/{location}/customClasses/{custom_class}` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.
.google.cloud.speech.v1p1beta1.CustomClass custom_class = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The customClass.
-
getCustomClassOrBuilder
CustomClassOrBuilder getCustomClassOrBuilder()
Required. The custom class to update. The custom class's `name` field is used to identify the custom class to be updated. Format: `projects/{project}/locations/{location}/customClasses/{custom_class}` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.
.google.cloud.speech.v1p1beta1.CustomClass custom_class = 1 [(.google.api.field_behavior) = REQUIRED];
-
hasUpdateMask
boolean hasUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.FieldMask getUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
-
-