Package io.grpc.benchmarks.proto
Enum Control.ClientArgs.ArgtypeCase
- java.lang.Object
-
- java.lang.Enum<Control.ClientArgs.ArgtypeCase>
-
- io.grpc.benchmarks.proto.Control.ClientArgs.ArgtypeCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<Control.ClientArgs.ArgtypeCase>
- Enclosing class:
- Control.ClientArgs
public static enum Control.ClientArgs.ArgtypeCase extends java.lang.Enum<Control.ClientArgs.ArgtypeCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARGTYPE_NOT_SETMARKSETUP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Control.ClientArgs.ArgtypeCaseforNumber(int value)intgetNumber()static Control.ClientArgs.ArgtypeCasevalueOf(int value)Deprecated.static Control.ClientArgs.ArgtypeCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Control.ClientArgs.ArgtypeCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SETUP
public static final Control.ClientArgs.ArgtypeCase SETUP
-
MARK
public static final Control.ClientArgs.ArgtypeCase MARK
-
ARGTYPE_NOT_SET
public static final Control.ClientArgs.ArgtypeCase ARGTYPE_NOT_SET
-
-
Method Detail
-
values
public static Control.ClientArgs.ArgtypeCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Control.ClientArgs.ArgtypeCase c : Control.ClientArgs.ArgtypeCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Control.ClientArgs.ArgtypeCase valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
valueOf
@Deprecated public static Control.ClientArgs.ArgtypeCase valueOf(int value)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static Control.ClientArgs.ArgtypeCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-