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