Class UpdateCustomClassRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCustomClassRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCustomClassRequest.Builder>
      • getDefaultInstanceForType

        public UpdateCustomClassRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public UpdateCustomClassRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public UpdateCustomClassRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public UpdateCustomClassRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCustomClassRequest.Builder>
      • addRepeatedField

        public UpdateCustomClassRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCustomClassRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCustomClassRequest.Builder>
      • mergeFrom

        public UpdateCustomClassRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateCustomClassRequest.Builder>
        Throws:
        IOException
      • hasCustomClass

        public 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];
        Specified by:
        hasCustomClass in interface UpdateCustomClassRequestOrBuilder
        Returns:
        Whether the customClass field is set.
      • getCustomClass

        public 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];
        Specified by:
        getCustomClass in interface UpdateCustomClassRequestOrBuilder
        Returns:
        The customClass.
      • setCustomClass

        public UpdateCustomClassRequest.Builder setCustomClass​(CustomClass value)
         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];
      • setCustomClass

        public UpdateCustomClassRequest.Builder setCustomClass​(CustomClass.Builder builderForValue)
         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];
      • mergeCustomClass

        public UpdateCustomClassRequest.Builder mergeCustomClass​(CustomClass value)
         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];
      • clearCustomClass

        public UpdateCustomClassRequest.Builder clearCustomClass()
         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];
      • getCustomClassBuilder

        public CustomClass.Builder getCustomClassBuilder()
         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];
      • getCustomClassOrBuilder

        public 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];
        Specified by:
        getCustomClassOrBuilder in interface UpdateCustomClassRequestOrBuilder
      • hasUpdateMask

        public boolean hasUpdateMask()
         The list of fields to be updated.
         
        .google.protobuf.FieldMask update_mask = 2;
        Specified by:
        hasUpdateMask in interface UpdateCustomClassRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         The list of fields to be updated.
         
        .google.protobuf.FieldMask update_mask = 2;
        Specified by:
        getUpdateMask in interface UpdateCustomClassRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateCustomClassRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         The list of fields to be updated.
         
        .google.protobuf.FieldMask update_mask = 2;
      • setUpdateMask

        public UpdateCustomClassRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         The list of fields to be updated.
         
        .google.protobuf.FieldMask update_mask = 2;
      • mergeUpdateMask

        public UpdateCustomClassRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         The list of fields to be updated.
         
        .google.protobuf.FieldMask update_mask = 2;
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         The list of fields to be updated.
         
        .google.protobuf.FieldMask update_mask = 2;
      • setUnknownFields

        public final UpdateCustomClassRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCustomClassRequest.Builder>
      • mergeUnknownFields

        public final UpdateCustomClassRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCustomClassRequest.Builder>