Class ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
-
- com.google.cloud.aiplatform.v1beta1.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.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 typegoogle.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.FeatureValueDomain
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ExplanationMetadata.InputMetadata.FeatureValueDomain
build()
ExplanationMetadata.InputMetadata.FeatureValueDomain
buildPartial()
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
clear()
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
clearMaxValue()
The maximum permissible value for this feature.ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
clearMinValue()
The minimum permissible value for this feature.ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
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.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.ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
clone()
ExplanationMetadata.InputMetadata.FeatureValueDomain
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
float
getMaxValue()
The maximum permissible value for this feature.float
getMinValue()
The minimum permissible value for this feature.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
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
mergeFrom(ExplanationMetadata.InputMetadata.FeatureValueDomain other)
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
mergeFrom(com.google.protobuf.Message other)
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
setMaxValue(float value)
The maximum permissible value for this feature.ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
setMinValue(float value)
The minimum permissible value for this feature.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.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.ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
-
clear
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
-
getDefaultInstanceForType
public ExplanationMetadata.InputMetadata.FeatureValueDomain getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExplanationMetadata.InputMetadata.FeatureValueDomain build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExplanationMetadata.InputMetadata.FeatureValueDomain buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
-
setField
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
-
clearField
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
-
clearOneof
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
-
setRepeatedField
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
-
addRepeatedField
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
-
mergeFrom
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
-
mergeFrom
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeFrom(ExplanationMetadata.InputMetadata.FeatureValueDomain other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getMinValue
in interfaceExplanationMetadata.InputMetadata.FeatureValueDomainOrBuilder
- Returns:
- The minValue.
-
setMinValue
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setMinValue(float value)
The minimum permissible value for this feature.
float min_value = 1;
- Parameters:
value
- The minValue to set.- Returns:
- This builder for chaining.
-
clearMinValue
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder 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:
getMaxValue
in interfaceExplanationMetadata.InputMetadata.FeatureValueDomainOrBuilder
- Returns:
- The maxValue.
-
setMaxValue
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setMaxValue(float value)
The maximum permissible value for this feature.
float max_value = 2;
- Parameters:
value
- The maxValue to set.- Returns:
- This builder for chaining.
-
clearMaxValue
public ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder 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:
getOriginalMean
in interfaceExplanationMetadata.InputMetadata.FeatureValueDomainOrBuilder
- Returns:
- The originalMean.
-
setOriginalMean
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;
- Parameters:
value
- The originalMean to set.- Returns:
- This builder for chaining.
-
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:
- 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:
getOriginalStddev
in interfaceExplanationMetadata.InputMetadata.FeatureValueDomainOrBuilder
- Returns:
- The originalStddev.
-
setOriginalStddev
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;
- Parameters:
value
- The originalStddev to set.- Returns:
- 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:
- This builder for chaining.
-
setUnknownFields
public final ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
-
mergeUnknownFields
public final ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExplanationMetadata.InputMetadata.FeatureValueDomain.Builder>
-
-