Class FeatureSelectionConfig.FeatureConfig.Builder (3.84.0)

public static final class FeatureSelectionConfig.FeatureConfig.Builder extends GeneratedMessage.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

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.

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 GeneratedMessage.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

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.