public static final class UpdateFeatureRequest.Builder extends GeneratedMessageV3.Builder<UpdateFeatureRequest.Builder> implements UpdateFeatureRequestOrBuilder
Request message for FeaturestoreService.UpdateFeature.
Protobuf type google.cloud.aiplatform.v1.UpdateFeatureRequest
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public UpdateFeatureRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UpdateFeatureRequest build()
Returns
public UpdateFeatureRequest buildPartial()
Returns
public UpdateFeatureRequest.Builder clear()
Returns
Overrides
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];
Returns
public UpdateFeatureRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public UpdateFeatureRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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;
Returns
public UpdateFeatureRequest.Builder clone()
Returns
Overrides
public UpdateFeatureRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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];
Returns
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];
Returns
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];
Returns
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
.google.protobuf.FieldMask update_mask = 2;
Returns
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
.google.protobuf.FieldMask update_mask = 2;
Returns
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
.google.protobuf.FieldMask update_mask = 2;
Returns
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];
Returns
Type | Description |
boolean | Whether the feature field is set.
|
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;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
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];
Parameter
Returns
public UpdateFeatureRequest.Builder mergeFrom(UpdateFeatureRequest other)
Parameter
Returns
public UpdateFeatureRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public UpdateFeatureRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final UpdateFeatureRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
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];
Parameter
Returns
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];
Parameter
Returns
public UpdateFeatureRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UpdateFeatureRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final UpdateFeatureRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
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
.google.protobuf.FieldMask update_mask = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns