Class FeatureNoiseSigma.NoiseSigmaForFeature.Builder (1.5.0)

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

Noise sigma for a single feature.

Protobuf type google.cloud.vertexai.v1.FeatureNoiseSigma.NoiseSigmaForFeature

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public FeatureNoiseSigma.NoiseSigmaForFeature.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public FeatureNoiseSigma.NoiseSigmaForFeature.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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