Package com.google.cloud.aiplatform.v1
Class ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
- All Implemented Interfaces:
ExplanationMetadata.InputMetadata.FeatureValueDomainOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExplanationMetadata.InputMetadata.FeatureValueDomain
public static final class ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The maximum permissible value for this feature.The minimum permissible value for this feature.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.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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorfloatThe maximum permissible value for this feature.floatThe minimum permissible value for this feature.floatIf 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.floatIf 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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setMaxValue(float value) The maximum permissible value for this feature.setMinValue(float value) The minimum permissible value for this feature.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.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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
-
mergeFrom
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>- Throws:
IOException
-
getMinValue
public float getMinValue()The minimum permissible value for this feature.
float min_value = 1;- Specified by:
getMinValuein interfaceExplanationMetadata.InputMetadata.FeatureValueDomainOrBuilder- Returns:
- The minValue.
-
setMinValue
The minimum permissible value for this feature.
float min_value = 1;- Parameters:
value- The minValue to set.- Returns:
- This builder for chaining.
-
clearMinValue
The minimum permissible value for this feature.
float min_value = 1;- Returns:
- This builder for chaining.
-
getMaxValue
public float getMaxValue()The maximum permissible value for this feature.
float max_value = 2;- Specified by:
getMaxValuein interfaceExplanationMetadata.InputMetadata.FeatureValueDomainOrBuilder- Returns:
- The maxValue.
-
setMaxValue
The maximum permissible value for this feature.
float max_value = 2;- Parameters:
value- The maxValue to set.- Returns:
- This builder for chaining.
-
clearMaxValue
The maximum permissible value for this feature.
float max_value = 2;- Returns:
- This builder for chaining.
-
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;- Specified by:
getOriginalMeanin interfaceExplanationMetadata.InputMetadata.FeatureValueDomainOrBuilder- Returns:
- The originalMean.
-
setOriginalMean
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;- Parameters:
value- The originalMean to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
getOriginalStddevin interfaceExplanationMetadata.InputMetadata.FeatureValueDomainOrBuilder- Returns:
- The originalStddev.
-
setOriginalStddev
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;- Parameters:
value- The originalStddev to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-