Package csi.v0
Enum Class Csi.ControllerServiceCapability.RPC.Type
java.lang.Object
java.lang.Enum<Csi.ControllerServiceCapability.RPC.Type>
csi.v0.Csi.ControllerServiceCapability.RPC.Type
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Csi.ControllerServiceCapability.RPC.Type>,Constable
- Enclosing class:
- csi.v0.Csi.ControllerServiceCapability.RPC
public static enum Csi.ControllerServiceCapability.RPC.Type
extends Enum<Csi.ControllerServiceCapability.RPC.Type>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
csi.v0.ControllerServiceCapability.RPC.Type-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCurrently the only way to consume a snapshot is to create a volume from it.CREATE_DELETE_VOLUME = 1;GET_CAPACITY = 4;LIST_SNAPSHOTS is NOT REQUIRED.LIST_VOLUMES = 3;PUBLISH_UNPUBLISH_VOLUME = 2;UNKNOWN = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCurrently the only way to consume a snapshot is to create a volume from it.static final intCREATE_DELETE_VOLUME = 1;static final intGET_CAPACITY = 4;static final intLIST_SNAPSHOTS is NOT REQUIRED.static final intLIST_VOLUMES = 3;static final intPUBLISH_UNPUBLISH_VOLUME = 2;static final intUNKNOWN = 0; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Csi.ControllerServiceCapability.RPC.Type>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
UNKNOWN = 0; -
CREATE_DELETE_VOLUME
CREATE_DELETE_VOLUME = 1; -
PUBLISH_UNPUBLISH_VOLUME
PUBLISH_UNPUBLISH_VOLUME = 2; -
LIST_VOLUMES
LIST_VOLUMES = 3; -
GET_CAPACITY
GET_CAPACITY = 4; -
CREATE_DELETE_SNAPSHOT
Currently the only way to consume a snapshot is to create a volume from it. Therefore plugins supporting CREATE_DELETE_SNAPSHOT MUST support creating volume from snapshot.
CREATE_DELETE_SNAPSHOT = 5; -
LIST_SNAPSHOTS
LIST_SNAPSHOTS is NOT REQUIRED. For plugins that need to upload a snapshot after it is being cut, LIST_SNAPSHOTS COULD be used with the snapshot_id as the filter to query whether the uploading process is complete or not.
LIST_SNAPSHOTS = 6; -
UNRECOGNIZED
-
-
Field Details
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUNKNOWN = 0;- See Also:
-
CREATE_DELETE_VOLUME_VALUE
public static final int CREATE_DELETE_VOLUME_VALUECREATE_DELETE_VOLUME = 1;- See Also:
-
PUBLISH_UNPUBLISH_VOLUME_VALUE
public static final int PUBLISH_UNPUBLISH_VOLUME_VALUEPUBLISH_UNPUBLISH_VOLUME = 2;- See Also:
-
LIST_VOLUMES_VALUE
public static final int LIST_VOLUMES_VALUELIST_VOLUMES = 3;- See Also:
-
GET_CAPACITY_VALUE
public static final int GET_CAPACITY_VALUEGET_CAPACITY = 4;- See Also:
-
CREATE_DELETE_SNAPSHOT_VALUE
public static final int CREATE_DELETE_SNAPSHOT_VALUECurrently the only way to consume a snapshot is to create a volume from it. Therefore plugins supporting CREATE_DELETE_SNAPSHOT MUST support creating volume from snapshot.
CREATE_DELETE_SNAPSHOT = 5;- See Also:
-
LIST_SNAPSHOTS_VALUE
public static final int LIST_SNAPSHOTS_VALUELIST_SNAPSHOTS is NOT REQUIRED. For plugins that need to upload a snapshot after it is being cut, LIST_SNAPSHOTS COULD be used with the snapshot_id as the filter to query whether the uploading process is complete or not.
LIST_SNAPSHOTS = 6;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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<Csi.ControllerServiceCapability.RPC.Type> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Csi.ControllerServiceCapability.RPC.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-