Package com.google.protobuf
Class OneofInfo
java.lang.Object
com.google.protobuf.OneofInfo
Information for a oneof within a protobuf message.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
private final int id -
caseField
-
valueField
-
-
Constructor Details
-
OneofInfo
-
-
Method Details
-
getId
public int getId()Returns the unique identifier of the oneof within the message. This is really just an index starting at zero. -
getCaseField
Theint
field containing the field number of the currently active member. -
getValueField
TheObject
field containing the value of the currently active member.
-