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:
getNamein classDescriptors.GenericDescriptor
-
getFile
- Specified by:
getFilein classDescriptors.GenericDescriptor
-
getFullName
- Specified by:
getFullNamein classDescriptors.GenericDescriptor
-
getContainingType
-
getFieldCount
public int getFieldCount() -
getOptions
-
isSynthetic
public boolean isSynthetic() -
getFields
Get a list of this message type's fields. -
getField
-
toProto
- Specified by:
toProtoin classDescriptors.GenericDescriptor
-