Interface UpdateCustomClassRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
UpdateCustomClassRequest, UpdateCustomClassRequest.Builder

@Generated public interface UpdateCustomClassRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    com.google.protobuf.FieldMask
    The list of fields to be updated.
    com.google.protobuf.FieldMaskOrBuilder
    The list of fields to be updated.
    boolean
    If set, validate the request and preview the updated CustomClass, but do not actually update it.
    boolean
    Required.
    boolean
    The list of fields to be updated.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasCustomClass

      boolean hasCustomClass()
       Required. The CustomClass to update.
      
       The CustomClass's `name` field is used to identify the CustomClass to
       update. Format:
       `projects/{project}/locations/{location}/customClasses/{custom_class}`.
       
      .google.cloud.speech.v2.CustomClass custom_class = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the customClass field is set.
    • getCustomClass

      CustomClass getCustomClass()
       Required. The CustomClass to update.
      
       The CustomClass's `name` field is used to identify the CustomClass to
       update. Format:
       `projects/{project}/locations/{location}/customClasses/{custom_class}`.
       
      .google.cloud.speech.v2.CustomClass custom_class = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The customClass.
    • getCustomClassOrBuilder

      CustomClassOrBuilder getCustomClassOrBuilder()
       Required. The CustomClass to update.
      
       The CustomClass's `name` field is used to identify the CustomClass to
       update. Format:
       `projects/{project}/locations/{location}/customClasses/{custom_class}`.
       
      .google.cloud.speech.v2.CustomClass custom_class = 1 [(.google.api.field_behavior) = REQUIRED];
    • hasUpdateMask

      boolean hasUpdateMask()
       The list of fields to be updated. If empty, all fields are considered for
       update.
       
      .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. If empty, all fields are considered for
       update.
       
      .google.protobuf.FieldMask update_mask = 2;
      Returns:
      The updateMask.
    • getUpdateMaskOrBuilder

      com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       The list of fields to be updated. If empty, all fields are considered for
       update.
       
      .google.protobuf.FieldMask update_mask = 2;
    • getValidateOnly

      boolean getValidateOnly()
       If set, validate the request and preview the updated CustomClass, but do
       not actually update it.
       
      bool validate_only = 4;
      Returns:
      The validateOnly.