Package com.google.cloud.aiplatform.v1
Enum SupervisedHyperParameters.AdapterSize
java.lang.Object
java.lang.Enum<SupervisedHyperParameters.AdapterSize>
com.google.cloud.aiplatform.v1.SupervisedHyperParameters.AdapterSize
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SupervisedHyperParameters.AdapterSize>
- Enclosing class:
- SupervisedHyperParameters
public static enum SupervisedHyperParameters.AdapterSize
extends Enum<SupervisedHyperParameters.AdapterSize>
implements com.google.protobuf.ProtocolMessageEnum
Supported adapter sizes for tuning.Protobuf enum
google.cloud.aiplatform.v1.SupervisedHyperParameters.AdapterSize-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdapter size 8.Adapter size 4.Adapter size 1.Adapter size 16.Adapter size 32.Adapter size 2.Adapter size is unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAdapter size 8.static final intAdapter size 4.static final intAdapter size 1.static final intAdapter size 16.static final intAdapter size 32.static final intAdapter size 2.static final intAdapter size is unspecified. -
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<SupervisedHyperParameters.AdapterSize>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.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ADAPTER_SIZE_UNSPECIFIED
Adapter size is unspecified.
ADAPTER_SIZE_UNSPECIFIED = 0; -
ADAPTER_SIZE_ONE
Adapter size 1.
ADAPTER_SIZE_ONE = 1; -
ADAPTER_SIZE_TWO
Adapter size 2.
ADAPTER_SIZE_TWO = 6; -
ADAPTER_SIZE_FOUR
Adapter size 4.
ADAPTER_SIZE_FOUR = 2; -
ADAPTER_SIZE_EIGHT
Adapter size 8.
ADAPTER_SIZE_EIGHT = 3; -
ADAPTER_SIZE_SIXTEEN
Adapter size 16.
ADAPTER_SIZE_SIXTEEN = 4; -
ADAPTER_SIZE_THIRTY_TWO
Adapter size 32.
ADAPTER_SIZE_THIRTY_TWO = 5; -
UNRECOGNIZED
-
-
Field Details
-
ADAPTER_SIZE_UNSPECIFIED_VALUE
public static final int ADAPTER_SIZE_UNSPECIFIED_VALUEAdapter size is unspecified.
ADAPTER_SIZE_UNSPECIFIED = 0;- See Also:
-
ADAPTER_SIZE_ONE_VALUE
public static final int ADAPTER_SIZE_ONE_VALUEAdapter size 1.
ADAPTER_SIZE_ONE = 1;- See Also:
-
ADAPTER_SIZE_TWO_VALUE
public static final int ADAPTER_SIZE_TWO_VALUEAdapter size 2.
ADAPTER_SIZE_TWO = 6;- See Also:
-
ADAPTER_SIZE_FOUR_VALUE
public static final int ADAPTER_SIZE_FOUR_VALUEAdapter size 4.
ADAPTER_SIZE_FOUR = 2;- See Also:
-
ADAPTER_SIZE_EIGHT_VALUE
public static final int ADAPTER_SIZE_EIGHT_VALUEAdapter size 8.
ADAPTER_SIZE_EIGHT = 3;- See Also:
-
ADAPTER_SIZE_SIXTEEN_VALUE
public static final int ADAPTER_SIZE_SIXTEEN_VALUEAdapter size 16.
ADAPTER_SIZE_SIXTEEN = 4;- See Also:
-
ADAPTER_SIZE_THIRTY_TWO_VALUE
public static final int ADAPTER_SIZE_THIRTY_TWO_VALUEAdapter size 32.
ADAPTER_SIZE_THIRTY_TWO = 5;- 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<SupervisedHyperParameters.AdapterSize> 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 SupervisedHyperParameters.AdapterSize 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
-