Class FeatureSelectionConfig.FeatureConfig.Builder (3.55.0)

public static final class FeatureSelectionConfig.FeatureConfig.Builder extends GeneratedMessageV3.Builder<FeatureSelectionConfig.FeatureConfig.Builder> implements FeatureSelectionConfig.FeatureConfigOrBuilder

Feature configuration.

Protobuf type google.cloud.aiplatform.v1beta1.FeatureSelectionConfig.FeatureConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FeatureSelectionConfig.FeatureConfig build()
Returns
Type Description
FeatureSelectionConfig.FeatureConfig

buildPartial()

public FeatureSelectionConfig.FeatureConfig buildPartial()
Returns
Type Description
FeatureSelectionConfig.FeatureConfig

clear()

public FeatureSelectionConfig.FeatureConfig.Builder clear()
Returns
Type Description
FeatureSelectionConfig.FeatureConfig.Builder
Overrides

clearDriftThreshold()

public FeatureSelectionConfig.FeatureConfig.Builder clearDriftThreshold()

Optional. Drift threshold. If calculated difference with baseline data larger than threshold, it will be considered as the feature has drift. If not present, the threshold will be default to 0.3.

double drift_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FeatureSelectionConfig.FeatureConfig.Builder

This builder for chaining.

clearFeatureId()

public FeatureSelectionConfig.FeatureConfig.Builder clearFeatureId()

Required. The ID of the feature resource. Final component of the Feature's resource name.

string feature_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureSelectionConfig.FeatureConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public FeatureSelectionConfig.FeatureConfig.Builder clone()
Returns
Type Description
FeatureSelectionConfig.FeatureConfig.Builder
Overrides

getDefaultInstanceForType()

public FeatureSelectionConfig.FeatureConfig getDefaultInstanceForType()
Returns
Type Description
FeatureSelectionConfig.FeatureConfig

getDescriptorForType()

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

getDriftThreshold()

public double getDriftThreshold()

Optional. Drift threshold. If calculated difference with baseline data larger than threshold, it will be considered as the feature has drift. If not present, the threshold will be default to 0.3.

double drift_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The driftThreshold.

getFeatureId()

public String getFeatureId()

Required. The ID of the feature resource. Final component of the Feature's resource name.

string feature_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The featureId.

getFeatureIdBytes()

public ByteString getFeatureIdBytes()

Required. The ID of the feature resource. Final component of the Feature's resource name.

string feature_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for featureId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FeatureSelectionConfig.FeatureConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDriftThreshold(double value)

public FeatureSelectionConfig.FeatureConfig.Builder setDriftThreshold(double value)

Optional. Drift threshold. If calculated difference with baseline data larger than threshold, it will be considered as the feature has drift. If not present, the threshold will be default to 0.3.

double drift_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value double

The driftThreshold to set.

Returns
Type Description
FeatureSelectionConfig.FeatureConfig.Builder

This builder for chaining.

setFeatureId(String value)

public FeatureSelectionConfig.FeatureConfig.Builder setFeatureId(String value)

Required. The ID of the feature resource. Final component of the Feature's resource name.

string feature_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The featureId to set.

Returns
Type Description
FeatureSelectionConfig.FeatureConfig.Builder

This builder for chaining.

setFeatureIdBytes(ByteString value)

public FeatureSelectionConfig.FeatureConfig.Builder setFeatureIdBytes(ByteString value)

Required. The ID of the feature resource. Final component of the Feature's resource name.

string feature_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for featureId to set.

Returns
Type Description
FeatureSelectionConfig.FeatureConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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