Class UpdateFeatureRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateFeatureRequest.Builder>
com.google.cloud.aiplatform.v1.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.GeneratedMessage.Builder<UpdateFeatureRequest.Builder> implements UpdateFeatureRequestOrBuilder
 Request message for
 [FeaturestoreService.UpdateFeature][google.cloud.aiplatform.v1.FeaturestoreService.UpdateFeature].
 Request message for
 [FeatureRegistryService.UpdateFeature][google.cloud.aiplatform.v1.FeatureRegistryService.UpdateFeature].
 
Protobuf type google.cloud.aiplatform.v1.UpdateFeatureRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<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.GeneratedMessage.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.GeneratedMessage.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
    • mergeFrom

      public UpdateFeatureRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateFeatureRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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}`
       `projects/{project}/locations/{location}/featureGroups/{feature_group}/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}`
       `projects/{project}/locations/{location}/featureGroups/{feature_group}/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}`
       `projects/{project}/locations/{location}/featureGroups/{feature_group}/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}`
       `projects/{project}/locations/{location}/featureGroups/{feature_group}/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}`
       `projects/{project}/locations/{location}/featureGroups/{feature_group}/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}`
       `projects/{project}/locations/{location}/featureGroups/{feature_group}/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}`
       `projects/{project}/locations/{location}/featureGroups/{feature_group}/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}`
       `projects/{project}/locations/{location}/featureGroups/{feature_group}/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` (Not supported for FeatureRegistryService Feature)
       * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)
       
      .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` (Not supported for FeatureRegistryService Feature)
       * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)
       
      .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` (Not supported for FeatureRegistryService Feature)
       * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)
       
      .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` (Not supported for FeatureRegistryService Feature)
       * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)
       
      .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` (Not supported for FeatureRegistryService Feature)
       * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)
       
      .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` (Not supported for FeatureRegistryService Feature)
       * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)
       
      .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` (Not supported for FeatureRegistryService Feature)
       * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)
       
      .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` (Not supported for FeatureRegistryService Feature)
       * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateFeatureRequestOrBuilder