Class FeatureNoiseSigma.NoiseSigmaForFeature.Builder (3.84.0)

public static final class FeatureNoiseSigma.NoiseSigmaForFeature.Builder extends GeneratedMessage.Builder<FeatureNoiseSigma.NoiseSigmaForFeature.Builder> implements FeatureNoiseSigma.NoiseSigmaForFeatureOrBuilder

Noise sigma for a single feature.

Protobuf type google.cloud.aiplatform.v1beta1.FeatureNoiseSigma.NoiseSigmaForFeature

Static Methods

getDescriptor()

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

Methods

build()

public FeatureNoiseSigma.NoiseSigmaForFeature build()
Returns
Type Description
FeatureNoiseSigma.NoiseSigmaForFeature

buildPartial()

public FeatureNoiseSigma.NoiseSigmaForFeature buildPartial()
Returns
Type Description
FeatureNoiseSigma.NoiseSigmaForFeature

clear()

public FeatureNoiseSigma.NoiseSigmaForFeature.Builder clear()
Returns
Type Description
FeatureNoiseSigma.NoiseSigmaForFeature.Builder
Overrides

clearName()

public FeatureNoiseSigma.NoiseSigmaForFeature.Builder clearName()

The name of the input feature for which noise sigma is provided. The features are defined in explanation metadata inputs.

string name = 1;

Returns
Type Description
FeatureNoiseSigma.NoiseSigmaForFeature.Builder

This builder for chaining.

clearSigma()

public FeatureNoiseSigma.NoiseSigmaForFeature.Builder clearSigma()

This represents the standard deviation of the Gaussian kernel that will be used to add noise to the feature prior to computing gradients. Similar to noise_sigma but represents the noise added to the current feature. Defaults to 0.1.

float sigma = 2;

Returns
Type Description
FeatureNoiseSigma.NoiseSigmaForFeature.Builder

This builder for chaining.

getDefaultInstanceForType()

public FeatureNoiseSigma.NoiseSigmaForFeature getDefaultInstanceForType()
Returns
Type Description
FeatureNoiseSigma.NoiseSigmaForFeature

getDescriptorForType()

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

getName()

public String getName()

The name of the input feature for which noise sigma is provided. The features are defined in explanation metadata inputs.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the input feature for which noise sigma is provided. The features are defined in explanation metadata inputs.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getSigma()

public float getSigma()

This represents the standard deviation of the Gaussian kernel that will be used to add noise to the feature prior to computing gradients. Similar to noise_sigma but represents the noise added to the current feature. Defaults to 0.1.

float sigma = 2;

Returns
Type Description
float

The sigma.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FeatureNoiseSigma.NoiseSigmaForFeature other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public FeatureNoiseSigma.NoiseSigmaForFeature.Builder setName(String value)

The name of the input feature for which noise sigma is provided. The features are defined in explanation metadata inputs.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
FeatureNoiseSigma.NoiseSigmaForFeature.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FeatureNoiseSigma.NoiseSigmaForFeature.Builder setNameBytes(ByteString value)

The name of the input feature for which noise sigma is provided. The features are defined in explanation metadata inputs.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
FeatureNoiseSigma.NoiseSigmaForFeature.Builder

This builder for chaining.

setSigma(float value)

public FeatureNoiseSigma.NoiseSigmaForFeature.Builder setSigma(float value)

This represents the standard deviation of the Gaussian kernel that will be used to add noise to the feature prior to computing gradients. Similar to noise_sigma but represents the noise added to the current feature. Defaults to 0.1.

float sigma = 2;

Parameter
Name Description
value float

The sigma to set.

Returns
Type Description
FeatureNoiseSigma.NoiseSigmaForFeature.Builder

This builder for chaining.