Class ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder (3.56.0)

public static final class ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder extends GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder> implements ExplanationMetadata.InputMetadata.FeatureValueDomainOrBuilder

Domain details of the input feature value. Provides numeric information about the feature, such as its range (min, max). If the feature has been pre-processed, for example with z-scoring, then it provides information about how to recover the original feature. For example, if the input feature is an image and it has been pre-processed to obtain 0-mean and stddev = 1 values, then original_mean, and original_stddev refer to the mean and stddev of the original feature (e.g. image tensor) from which input feature (with mean = 0 and stddev = 1) was obtained.

Protobuf type google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.FeatureValueDomain

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
Overrides

build()

public ExplanationMetadata.InputMetadata.FeatureValueDomain build()
Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain

buildPartial()

public ExplanationMetadata.InputMetadata.FeatureValueDomain buildPartial()
Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain

clear()

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clear()
Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
Overrides

clearMaxValue()

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clearMaxValue()

The maximum permissible value for this feature.

float max_value = 2;

Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder

This builder for chaining.

clearMinValue()

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clearMinValue()

The minimum permissible value for this feature.

float min_value = 1;

Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
Overrides

clearOriginalMean()

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clearOriginalMean()

If this input feature has been normalized to a mean value of 0, the original_mean specifies the mean value of the domain prior to normalization.

float original_mean = 3;

Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder

This builder for chaining.

clearOriginalStddev()

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clearOriginalStddev()

If this input feature has been normalized to a standard deviation of 1.0, the original_stddev specifies the standard deviation of the domain prior to normalization.

float original_stddev = 4;

Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder

This builder for chaining.

clone()

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clone()
Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
Overrides

getDefaultInstanceForType()

public ExplanationMetadata.InputMetadata.FeatureValueDomain getDefaultInstanceForType()
Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain

getDescriptorForType()

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

getMaxValue()

public float getMaxValue()

The maximum permissible value for this feature.

float max_value = 2;

Returns
Type Description
float

The maxValue.

getMinValue()

public float getMinValue()

The minimum permissible value for this feature.

float min_value = 1;

Returns
Type Description
float

The minValue.

getOriginalMean()

public float getOriginalMean()

If this input feature has been normalized to a mean value of 0, the original_mean specifies the mean value of the domain prior to normalization.

float original_mean = 3;

Returns
Type Description
float

The originalMean.

getOriginalStddev()

public float getOriginalStddev()

If this input feature has been normalized to a standard deviation of 1.0, the original_stddev specifies the standard deviation of the domain prior to normalization.

float original_stddev = 4;

Returns
Type Description
float

The originalStddev.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExplanationMetadata.InputMetadata.FeatureValueDomain other)

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeFrom(ExplanationMetadata.InputMetadata.FeatureValueDomain other)
Parameter
Name Description
other ExplanationMetadata.InputMetadata.FeatureValueDomain
Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
Overrides

setMaxValue(float value)

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setMaxValue(float value)

The maximum permissible value for this feature.

float max_value = 2;

Parameter
Name Description
value float

The maxValue to set.

Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder

This builder for chaining.

setMinValue(float value)

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setMinValue(float value)

The minimum permissible value for this feature.

float min_value = 1;

Parameter
Name Description
value float

The minValue to set.

Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder

This builder for chaining.

setOriginalMean(float value)

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setOriginalMean(float value)

If this input feature has been normalized to a mean value of 0, the original_mean specifies the mean value of the domain prior to normalization.

float original_mean = 3;

Parameter
Name Description
value float

The originalMean to set.

Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder

This builder for chaining.

setOriginalStddev(float value)

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setOriginalStddev(float value)

If this input feature has been normalized to a standard deviation of 1.0, the original_stddev specifies the standard deviation of the domain prior to normalization.

float original_stddev = 4;

Parameter
Name Description
value float

The originalStddev to set.

Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
Overrides