Class UpdateFeatureRequest.Builder (3.43.0)

public static final class UpdateFeatureRequest.Builder extends GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder> implements UpdateFeatureRequestOrBuilder

Request message for FeaturestoreService.UpdateFeature. Request message for FeatureRegistryService.UpdateFeature.

Protobuf type google.cloud.aiplatform.v1beta1.UpdateFeatureRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateFeatureRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateFeatureRequest.Builder
Overrides

build()

public UpdateFeatureRequest build()
Returns
Type Description
UpdateFeatureRequest

buildPartial()

public UpdateFeatureRequest buildPartial()
Returns
Type Description
UpdateFeatureRequest

clear()

public UpdateFeatureRequest.Builder clear()
Returns
Type Description
UpdateFeatureRequest.Builder
Overrides

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.v1beta1.Feature feature = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateFeatureRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateFeatureRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateFeatureRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateFeatureRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateFeatureRequest.Builder
Overrides

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 FeatureRegistry Feature)

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateFeatureRequest.Builder

clone()

public UpdateFeatureRequest.Builder clone()
Returns
Type Description
UpdateFeatureRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateFeatureRequest getDefaultInstanceForType()
Returns
Type Description
UpdateFeatureRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.v1beta1.Feature feature = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Feature

The feature.

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.v1beta1.Feature feature = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Feature.Builder

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.v1beta1.Feature feature = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureOrBuilder

getUpdateMask()

public 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 FeatureRegistry Feature)

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public 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 FeatureRegistry Feature)

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public 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 FeatureRegistry Feature)

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

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.v1beta1.Feature feature = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the feature field is set.

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 FeatureRegistry Feature)

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFeature(Feature value)

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.v1beta1.Feature feature = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Feature
Returns
Type Description
UpdateFeatureRequest.Builder

mergeFrom(UpdateFeatureRequest other)

public UpdateFeatureRequest.Builder mergeFrom(UpdateFeatureRequest other)
Parameter
Name Description
other UpdateFeatureRequest
Returns
Type Description
UpdateFeatureRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateFeatureRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateFeatureRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateFeatureRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateFeatureRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateFeatureRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateFeatureRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateFeatureRequest.Builder mergeUpdateMask(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 FeatureRegistry Feature)

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateFeatureRequest.Builder

setFeature(Feature value)

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.v1beta1.Feature feature = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Feature
Returns
Type Description
UpdateFeatureRequest.Builder

setFeature(Feature.Builder builderForValue)

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.v1beta1.Feature feature = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Feature.Builder
Returns
Type Description
UpdateFeatureRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateFeatureRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateFeatureRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateFeatureRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateFeatureRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateFeatureRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateFeatureRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateFeatureRequest.Builder setUpdateMask(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 FeatureRegistry Feature)

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateFeatureRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateFeatureRequest.Builder setUpdateMask(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 FeatureRegistry Feature)

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateFeatureRequest.Builder