Class FeatureNoiseSigma.NoiseSigmaForFeature.Builder (3.16.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.aiplatform.v1beta1.FeatureNoiseSigma.NoiseSigmaForFeature

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FeatureNoiseSigma.NoiseSigmaForFeature.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FeatureNoiseSigma.NoiseSigmaForFeature.Builder
Overrides

build()

public FeatureNoiseSigma.NoiseSigmaForFeature build()
Returns
TypeDescription
FeatureNoiseSigma.NoiseSigmaForFeature

buildPartial()

public FeatureNoiseSigma.NoiseSigmaForFeature buildPartial()
Returns
TypeDescription
FeatureNoiseSigma.NoiseSigmaForFeature

clear()

public FeatureNoiseSigma.NoiseSigmaForFeature.Builder clear()
Returns
TypeDescription
FeatureNoiseSigma.NoiseSigmaForFeature.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FeatureNoiseSigma.NoiseSigmaForFeature.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
FeatureNoiseSigma.NoiseSigmaForFeature.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureNoiseSigma.NoiseSigmaForFeature.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
FeatureNoiseSigma.NoiseSigmaForFeature.Builder

This builder for chaining.

clone()

public FeatureNoiseSigma.NoiseSigmaForFeature.Builder clone()
Returns
TypeDescription
FeatureNoiseSigma.NoiseSigmaForFeature.Builder
Overrides

getDefaultInstanceForType()

public FeatureNoiseSigma.NoiseSigmaForFeature getDefaultInstanceForType()
Returns
TypeDescription
FeatureNoiseSigma.NoiseSigmaForFeature

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
float

The sigma.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FeatureNoiseSigma.NoiseSigmaForFeature other)

public FeatureNoiseSigma.NoiseSigmaForFeature.Builder mergeFrom(FeatureNoiseSigma.NoiseSigmaForFeature other)
Parameter
NameDescription
otherFeatureNoiseSigma.NoiseSigmaForFeature
Returns
TypeDescription
FeatureNoiseSigma.NoiseSigmaForFeature.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FeatureNoiseSigma.NoiseSigmaForFeature.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureNoiseSigma.NoiseSigmaForFeature.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FeatureNoiseSigma.NoiseSigmaForFeature.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FeatureNoiseSigma.NoiseSigmaForFeature.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureNoiseSigma.NoiseSigmaForFeature.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeatureNoiseSigma.NoiseSigmaForFeature.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FeatureNoiseSigma.NoiseSigmaForFeature.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuefloat

The sigma to set.

Returns
TypeDescription
FeatureNoiseSigma.NoiseSigmaForFeature.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final FeatureNoiseSigma.NoiseSigmaForFeature.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeatureNoiseSigma.NoiseSigmaForFeature.Builder
Overrides