Enum NodeType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<NodeType>
@Generated
public enum NodeType
extends Enum<NodeType>
implements com.google.protobuf.ProtocolMessageEnum
NodeType of a redis cluster node,Protobuf enum
google.cloud.redis.cluster.v1beta1.NodeType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNode type unspecifiedRedis highcpu medium node_type.Redis highmem 2xlarge node_type.Redis highmem medium node_type.Redis highmem xlarge node_type.Redis shared core nano node_type.Redis standard large node_type.Redis standard small node_type. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intNode type unspecifiedstatic final intRedis highcpu medium node_type.static final intRedis highmem 2xlarge node_type.static final intRedis highmem medium node_type.static final intRedis highmem xlarge node_type.static final intRedis shared core nano node_type.static final intRedis standard large node_type.static final intRedis standard small node_type. -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<NodeType>static NodeTypevalueOf(int value) Deprecated.static NodeTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static NodeTypeReturns the enum constant of this type with the specified name.static NodeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NODE_TYPE_UNSPECIFIED
Node type unspecified
NODE_TYPE_UNSPECIFIED = 0; -
REDIS_SHARED_CORE_NANO
Redis shared core nano node_type.
REDIS_SHARED_CORE_NANO = 1; -
REDIS_HIGHMEM_MEDIUM
Redis highmem medium node_type.
REDIS_HIGHMEM_MEDIUM = 2; -
REDIS_HIGHMEM_XLARGE
Redis highmem xlarge node_type.
REDIS_HIGHMEM_XLARGE = 3; -
REDIS_STANDARD_SMALL
Redis standard small node_type.
REDIS_STANDARD_SMALL = 4; -
REDIS_HIGHCPU_MEDIUM
Redis highcpu medium node_type.
REDIS_HIGHCPU_MEDIUM = 7; -
REDIS_STANDARD_LARGE
Redis standard large node_type.
REDIS_STANDARD_LARGE = 8; -
REDIS_HIGHMEM_2XLARGE
Redis highmem 2xlarge node_type.
REDIS_HIGHMEM_2XLARGE = 9; -
UNRECOGNIZED
-
-
Field Details
-
NODE_TYPE_UNSPECIFIED_VALUE
public static final int NODE_TYPE_UNSPECIFIED_VALUENode type unspecified
NODE_TYPE_UNSPECIFIED = 0;- See Also:
-
REDIS_SHARED_CORE_NANO_VALUE
public static final int REDIS_SHARED_CORE_NANO_VALUERedis shared core nano node_type.
REDIS_SHARED_CORE_NANO = 1;- See Also:
-
REDIS_HIGHMEM_MEDIUM_VALUE
public static final int REDIS_HIGHMEM_MEDIUM_VALUERedis highmem medium node_type.
REDIS_HIGHMEM_MEDIUM = 2;- See Also:
-
REDIS_HIGHMEM_XLARGE_VALUE
public static final int REDIS_HIGHMEM_XLARGE_VALUERedis highmem xlarge node_type.
REDIS_HIGHMEM_XLARGE = 3;- See Also:
-
REDIS_STANDARD_SMALL_VALUE
public static final int REDIS_STANDARD_SMALL_VALUERedis standard small node_type.
REDIS_STANDARD_SMALL = 4;- See Also:
-
REDIS_HIGHCPU_MEDIUM_VALUE
public static final int REDIS_HIGHCPU_MEDIUM_VALUERedis highcpu medium node_type.
REDIS_HIGHCPU_MEDIUM = 7;- See Also:
-
REDIS_STANDARD_LARGE_VALUE
public static final int REDIS_STANDARD_LARGE_VALUERedis standard large node_type.
REDIS_STANDARD_LARGE = 8;- See Also:
-
REDIS_HIGHMEM_2XLARGE_VALUE
public static final int REDIS_HIGHMEM_2XLARGE_VALUERedis highmem 2xlarge node_type.
REDIS_HIGHMEM_2XLARGE = 9;- 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
-
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
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
-