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.vertexai.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ExplanationMetadata.InputMetadata.FeatureValueDomain build()
buildPartial()
public ExplanationMetadata.InputMetadata.FeatureValueDomain buildPartial()
clear()
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMaxValue()
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clearMaxValue()
The maximum permissible value for this feature.
float max_value = 2;
clearMinValue()
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clearMinValue()
The minimum permissible value for this feature.
float min_value = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
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;
clone()
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clone()
Overrides
getDefaultInstanceForType()
public ExplanationMetadata.InputMetadata.FeatureValueDomain getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ExplanationMetadata.InputMetadata.FeatureValueDomain other)
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeFrom(ExplanationMetadata.InputMetadata.FeatureValueDomain other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides