Package com.google.cloud.aiplatform.v1
Enum StudySpec.ParameterSpec.ScaleType
java.lang.Object
java.lang.Enum<StudySpec.ParameterSpec.ScaleType>
com.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ScaleType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<StudySpec.ParameterSpec.ScaleType>
- Enclosing class:
- StudySpec.ParameterSpec
public static enum StudySpec.ParameterSpec.ScaleType
extends Enum<StudySpec.ParameterSpec.ScaleType>
implements com.google.protobuf.ProtocolMessageEnum
The type of scaling that should be applied to this parameter.Protobuf enum
google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ScaleType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBy default, no scaling is applied.Scales the feasible space to (0, 1) linearly.Scales the feasible space logarithmically to (0, 1).Scales the feasible space "reverse" logarithmically to (0, 1). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBy default, no scaling is applied.static final intScales the feasible space to (0, 1) linearly.static final intScales the feasible space logarithmically to (0, 1).static final intScales the feasible space "reverse" logarithmically to (0, 1). -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<StudySpec.ParameterSpec.ScaleType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static StudySpec.ParameterSpec.ScaleType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SCALE_TYPE_UNSPECIFIED
By default, no scaling is applied.
SCALE_TYPE_UNSPECIFIED = 0; -
UNIT_LINEAR_SCALE
Scales the feasible space to (0, 1) linearly.
UNIT_LINEAR_SCALE = 1; -
UNIT_LOG_SCALE
Scales the feasible space logarithmically to (0, 1). The entire feasible space must be strictly positive.
UNIT_LOG_SCALE = 2; -
UNIT_REVERSE_LOG_SCALE
Scales the feasible space "reverse" logarithmically to (0, 1). The result is that values close to the top of the feasible space are spread out more than points near the bottom. The entire feasible space must be strictly positive.
UNIT_REVERSE_LOG_SCALE = 3; -
UNRECOGNIZED
-
-
Field Details
-
SCALE_TYPE_UNSPECIFIED_VALUE
public static final int SCALE_TYPE_UNSPECIFIED_VALUEBy default, no scaling is applied.
SCALE_TYPE_UNSPECIFIED = 0;- See Also:
-
UNIT_LINEAR_SCALE_VALUE
public static final int UNIT_LINEAR_SCALE_VALUEScales the feasible space to (0, 1) linearly.
UNIT_LINEAR_SCALE = 1;- See Also:
-
UNIT_LOG_SCALE_VALUE
public static final int UNIT_LOG_SCALE_VALUEScales the feasible space logarithmically to (0, 1). The entire feasible space must be strictly positive.
UNIT_LOG_SCALE = 2;- See Also:
-
UNIT_REVERSE_LOG_SCALE_VALUE
public static final int UNIT_REVERSE_LOG_SCALE_VALUEScales the feasible space "reverse" logarithmically to (0, 1). The result is that values close to the top of the feasible space are spread out more than points near the bottom. The entire feasible space must be strictly positive.
UNIT_REVERSE_LOG_SCALE = 3;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<StudySpec.ParameterSpec.ScaleType> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static StudySpec.ParameterSpec.ScaleType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-