Package com.google.protobuf
Class Descriptors.OneofDescriptor
java.lang.Object
com.google.protobuf.Descriptors.GenericDescriptor
com.google.protobuf.Descriptors.OneofDescriptor
- Enclosing class:
Descriptors
Describes a oneof of a message type.
-
Method Details
-
getIndex
public int getIndex()Get the index of this descriptor within its parent. -
getName
- Specified by:
getName
in classDescriptors.GenericDescriptor
-
getFile
- Specified by:
getFile
in classDescriptors.GenericDescriptor
-
getFullName
- Specified by:
getFullName
in classDescriptors.GenericDescriptor
-
getContainingType
-
getFieldCount
public int getFieldCount() -
getOptions
-
getFields
Get a list of this message type's fields. -
getField
-
toProto
- Specified by:
toProto
in classDescriptors.GenericDescriptor
-