Class UpdateFeatureRequest.Builder

  • All Implemented Interfaces:
    UpdateFeatureRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    UpdateFeatureRequest

    public static final class UpdateFeatureRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder>
    implements UpdateFeatureRequestOrBuilder
     Request message for
     [FeaturestoreService.UpdateFeature][google.cloud.aiplatform.v1.FeaturestoreService.UpdateFeature].
     
    Protobuf type google.cloud.aiplatform.v1.UpdateFeatureRequest
    • 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<UpdateFeatureRequest.Builder>
      • clear

        public UpdateFeatureRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.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<UpdateFeatureRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public UpdateFeatureRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder>
      • setField

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

        public UpdateFeatureRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder>
      • clearOneof

        public UpdateFeatureRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder>
      • setRepeatedField

        public UpdateFeatureRequest.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<UpdateFeatureRequest.Builder>
      • addRepeatedField

        public UpdateFeatureRequest.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<UpdateFeatureRequest.Builder>
      • isInitialized

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

        public UpdateFeatureRequest.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<UpdateFeatureRequest.Builder>
        Throws:
        IOException
      • hasFeature

        public boolean hasFeature()
         Required. The Feature's `name` field is used to identify the Feature to be
         updated.
         Format:
         `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
         
        .google.cloud.aiplatform.v1.Feature feature = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasFeature in interface UpdateFeatureRequestOrBuilder
        Returns:
        Whether the feature field is set.
      • getFeature

        public Feature getFeature()
         Required. The Feature's `name` field is used to identify the Feature to be
         updated.
         Format:
         `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
         
        .google.cloud.aiplatform.v1.Feature feature = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getFeature in interface UpdateFeatureRequestOrBuilder
        Returns:
        The feature.
      • setFeature

        public UpdateFeatureRequest.Builder setFeature​(Feature value)
         Required. The Feature's `name` field is used to identify the Feature to be
         updated.
         Format:
         `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
         
        .google.cloud.aiplatform.v1.Feature feature = 1 [(.google.api.field_behavior) = REQUIRED];
      • setFeature

        public UpdateFeatureRequest.Builder setFeature​(Feature.Builder builderForValue)
         Required. The Feature's `name` field is used to identify the Feature to be
         updated.
         Format:
         `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
         
        .google.cloud.aiplatform.v1.Feature feature = 1 [(.google.api.field_behavior) = REQUIRED];
      • mergeFeature

        public UpdateFeatureRequest.Builder mergeFeature​(Feature value)
         Required. The Feature's `name` field is used to identify the Feature to be
         updated.
         Format:
         `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
         
        .google.cloud.aiplatform.v1.Feature feature = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearFeature

        public UpdateFeatureRequest.Builder clearFeature()
         Required. The Feature's `name` field is used to identify the Feature to be
         updated.
         Format:
         `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
         
        .google.cloud.aiplatform.v1.Feature feature = 1 [(.google.api.field_behavior) = REQUIRED];
      • getFeatureBuilder

        public Feature.Builder getFeatureBuilder()
         Required. The Feature's `name` field is used to identify the Feature to be
         updated.
         Format:
         `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
         
        .google.cloud.aiplatform.v1.Feature feature = 1 [(.google.api.field_behavior) = REQUIRED];
      • getFeatureOrBuilder

        public FeatureOrBuilder getFeatureOrBuilder()
         Required. The Feature's `name` field is used to identify the Feature to be
         updated.
         Format:
         `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
         
        .google.cloud.aiplatform.v1.Feature feature = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getFeatureOrBuilder in interface UpdateFeatureRequestOrBuilder
      • hasUpdateMask

        public boolean hasUpdateMask()
         Field mask is used to specify the fields to be overwritten in the
         Features resource by the update.
         The fields specified in the update_mask are relative to the resource, not
         the full request. A field will be overwritten if it is in the mask. If the
         user does not provide a mask then only the non-empty fields present in the
         request will be overwritten. Set the update_mask to `*` to override all
         fields.
        
         Updatable fields:
        
           * `description`
           * `labels`
           * `disable_monitoring`
         
        .google.protobuf.FieldMask update_mask = 2;
        Specified by:
        hasUpdateMask in interface UpdateFeatureRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Field mask is used to specify the fields to be overwritten in the
         Features resource by the update.
         The fields specified in the update_mask are relative to the resource, not
         the full request. A field will be overwritten if it is in the mask. If the
         user does not provide a mask then only the non-empty fields present in the
         request will be overwritten. Set the update_mask to `*` to override all
         fields.
        
         Updatable fields:
        
           * `description`
           * `labels`
           * `disable_monitoring`
         
        .google.protobuf.FieldMask update_mask = 2;
        Specified by:
        getUpdateMask in interface UpdateFeatureRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateFeatureRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Field mask is used to specify the fields to be overwritten in the
         Features resource by the update.
         The fields specified in the update_mask are relative to the resource, not
         the full request. A field will be overwritten if it is in the mask. If the
         user does not provide a mask then only the non-empty fields present in the
         request will be overwritten. Set the update_mask to `*` to override all
         fields.
        
         Updatable fields:
        
           * `description`
           * `labels`
           * `disable_monitoring`
         
        .google.protobuf.FieldMask update_mask = 2;
      • setUpdateMask

        public UpdateFeatureRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Field mask is used to specify the fields to be overwritten in the
         Features resource by the update.
         The fields specified in the update_mask are relative to the resource, not
         the full request. A field will be overwritten if it is in the mask. If the
         user does not provide a mask then only the non-empty fields present in the
         request will be overwritten. Set the update_mask to `*` to override all
         fields.
        
         Updatable fields:
        
           * `description`
           * `labels`
           * `disable_monitoring`
         
        .google.protobuf.FieldMask update_mask = 2;
      • mergeUpdateMask

        public UpdateFeatureRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Field mask is used to specify the fields to be overwritten in the
         Features resource by the update.
         The fields specified in the update_mask are relative to the resource, not
         the full request. A field will be overwritten if it is in the mask. If the
         user does not provide a mask then only the non-empty fields present in the
         request will be overwritten. Set the update_mask to `*` to override all
         fields.
        
         Updatable fields:
        
           * `description`
           * `labels`
           * `disable_monitoring`
         
        .google.protobuf.FieldMask update_mask = 2;
      • clearUpdateMask

        public UpdateFeatureRequest.Builder clearUpdateMask()
         Field mask is used to specify the fields to be overwritten in the
         Features resource by the update.
         The fields specified in the update_mask are relative to the resource, not
         the full request. A field will be overwritten if it is in the mask. If the
         user does not provide a mask then only the non-empty fields present in the
         request will be overwritten. Set the update_mask to `*` to override all
         fields.
        
         Updatable fields:
        
           * `description`
           * `labels`
           * `disable_monitoring`
         
        .google.protobuf.FieldMask update_mask = 2;
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Field mask is used to specify the fields to be overwritten in the
         Features resource by the update.
         The fields specified in the update_mask are relative to the resource, not
         the full request. A field will be overwritten if it is in the mask. If the
         user does not provide a mask then only the non-empty fields present in the
         request will be overwritten. Set the update_mask to `*` to override all
         fields.
        
         Updatable fields:
        
           * `description`
           * `labels`
           * `disable_monitoring`
         
        .google.protobuf.FieldMask update_mask = 2;
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Field mask is used to specify the fields to be overwritten in the
         Features resource by the update.
         The fields specified in the update_mask are relative to the resource, not
         the full request. A field will be overwritten if it is in the mask. If the
         user does not provide a mask then only the non-empty fields present in the
         request will be overwritten. Set the update_mask to `*` to override all
         fields.
        
         Updatable fields:
        
           * `description`
           * `labels`
           * `disable_monitoring`
         
        .google.protobuf.FieldMask update_mask = 2;
        Specified by:
        getUpdateMaskOrBuilder in interface UpdateFeatureRequestOrBuilder
      • setUnknownFields

        public final UpdateFeatureRequest.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<UpdateFeatureRequest.Builder>
      • mergeUnknownFields

        public final UpdateFeatureRequest.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<UpdateFeatureRequest.Builder>