Package io.grpc.reflection.v1
Enum ServerReflectionRequest.MessageRequestCase
- java.lang.Object
- 
- java.lang.Enum<ServerReflectionRequest.MessageRequestCase>
- 
- io.grpc.reflection.v1.ServerReflectionRequest.MessageRequestCase
 
 
- 
- All Implemented Interfaces:
- AbstractMessageLite.InternalOneOfEnum,- Internal.EnumLite,- Serializable,- Comparable<ServerReflectionRequest.MessageRequestCase>
 - Enclosing class:
- ServerReflectionRequest
 
 public static enum ServerReflectionRequest.MessageRequestCase extends Enum<ServerReflectionRequest.MessageRequestCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ALL_EXTENSION_NUMBERS_OF_TYPEFILE_BY_FILENAMEFILE_CONTAINING_EXTENSIONFILE_CONTAINING_SYMBOLLIST_SERVICESMESSAGEREQUEST_NOT_SET
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ServerReflectionRequest.MessageRequestCaseforNumber(int value)intgetNumber()static ServerReflectionRequest.MessageRequestCasevalueOf(int value)Deprecated.static ServerReflectionRequest.MessageRequestCasevalueOf(String name)Returns the enum constant of this type with the specified name.static ServerReflectionRequest.MessageRequestCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
FILE_BY_FILENAMEpublic static final ServerReflectionRequest.MessageRequestCase FILE_BY_FILENAME 
 - 
FILE_CONTAINING_SYMBOLpublic static final ServerReflectionRequest.MessageRequestCase FILE_CONTAINING_SYMBOL 
 - 
FILE_CONTAINING_EXTENSIONpublic static final ServerReflectionRequest.MessageRequestCase FILE_CONTAINING_EXTENSION 
 - 
ALL_EXTENSION_NUMBERS_OF_TYPEpublic static final ServerReflectionRequest.MessageRequestCase ALL_EXTENSION_NUMBERS_OF_TYPE 
 - 
LIST_SERVICESpublic static final ServerReflectionRequest.MessageRequestCase LIST_SERVICES 
 - 
MESSAGEREQUEST_NOT_SETpublic static final ServerReflectionRequest.MessageRequestCase MESSAGEREQUEST_NOT_SET 
 
- 
 - 
Method Detail- 
valuespublic static ServerReflectionRequest.MessageRequestCase[] 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 (ServerReflectionRequest.MessageRequestCase c : ServerReflectionRequest.MessageRequestCase.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static ServerReflectionRequest.MessageRequestCase valueOf(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:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
valueOf@Deprecated public static ServerReflectionRequest.MessageRequestCase 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:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
forNumberpublic static ServerReflectionRequest.MessageRequestCase forNumber(int value) 
 - 
getNumberpublic int getNumber() - Specified by:
- getNumberin interface- AbstractMessageLite.InternalOneOfEnum
- Specified by:
- getNumberin interface- Internal.EnumLite
 
 
- 
 
-