Class ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder (3.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
Overrides

build()

public ExplanationMetadata.InputMetadata.FeatureValueDomain build()
Returns
TypeDescription
ExplanationMetadata.InputMetadata.FeatureValueDomain

buildPartial()

public ExplanationMetadata.InputMetadata.FeatureValueDomain buildPartial()
Returns
TypeDescription
ExplanationMetadata.InputMetadata.FeatureValueDomain

clear()

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clear()
Returns
TypeDescription
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
Overrides

clearMaxValue()

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clearMaxValue()

The maximum permissible value for this feature.

float max_value = 2;

Returns
TypeDescription
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
TypeDescription
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clone()
Returns
TypeDescription
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
Overrides

getDefaultInstanceForType()

public ExplanationMetadata.InputMetadata.FeatureValueDomain getDefaultInstanceForType()
Returns
TypeDescription
ExplanationMetadata.InputMetadata.FeatureValueDomain

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMaxValue()

public float getMaxValue()

The maximum permissible value for this feature.

float max_value = 2;

Returns
TypeDescription
float

The maxValue.

getMinValue()

public float getMinValue()

The minimum permissible value for this feature.

float min_value = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
float

The originalStddev.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExplanationMetadata.InputMetadata.FeatureValueDomain other)

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeFrom(ExplanationMetadata.InputMetadata.FeatureValueDomain other)
Parameter
NameDescription
otherExplanationMetadata.InputMetadata.FeatureValueDomain
Returns
TypeDescription
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuefloat

The maxValue to set.

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

The minValue to set.

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

The originalMean to set.

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

The originalStddev to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
Overrides