Package com.google.protobuf
Enum GeneratedMessageLite.MethodToInvoke
- java.lang.Object
-
- java.lang.Enum<GeneratedMessageLite.MethodToInvoke>
-
- com.google.protobuf.GeneratedMessageLite.MethodToInvoke
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GeneratedMessageLite.MethodToInvoke>
- Enclosing class:
- GeneratedMessageLite<MessageType extends GeneratedMessageLite<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.Builder<MessageType,BuilderType>>
public static enum GeneratedMessageLite.MethodToInvoke extends java.lang.Enum<GeneratedMessageLite.MethodToInvoke>
Defines which method path to invoke in#dynamicMethod(MethodToInvoke, Object...)
.For use by generated code only.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUILD_MESSAGE_INFO
GET_DEFAULT_INSTANCE
GET_MEMOIZED_IS_INITIALIZED
GET_PARSER
NEW_BUILDER
NEW_MUTABLE_INSTANCE
SET_MEMOIZED_IS_INITIALIZED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeneratedMessageLite.MethodToInvoke
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GeneratedMessageLite.MethodToInvoke[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GET_MEMOIZED_IS_INITIALIZED
public static final GeneratedMessageLite.MethodToInvoke GET_MEMOIZED_IS_INITIALIZED
-
SET_MEMOIZED_IS_INITIALIZED
public static final GeneratedMessageLite.MethodToInvoke SET_MEMOIZED_IS_INITIALIZED
-
BUILD_MESSAGE_INFO
public static final GeneratedMessageLite.MethodToInvoke BUILD_MESSAGE_INFO
-
NEW_MUTABLE_INSTANCE
public static final GeneratedMessageLite.MethodToInvoke NEW_MUTABLE_INSTANCE
-
NEW_BUILDER
public static final GeneratedMessageLite.MethodToInvoke NEW_BUILDER
-
GET_DEFAULT_INSTANCE
public static final GeneratedMessageLite.MethodToInvoke GET_DEFAULT_INSTANCE
-
GET_PARSER
public static final GeneratedMessageLite.MethodToInvoke GET_PARSER
-
-
Method Detail
-
values
public static GeneratedMessageLite.MethodToInvoke[] 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 (GeneratedMessageLite.MethodToInvoke c : GeneratedMessageLite.MethodToInvoke.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeneratedMessageLite.MethodToInvoke 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
-
-