public static final class Descriptors.OneofDescriptor extends Descriptors.GenericDescriptor
Modifier and Type | Method and Description |
---|---|
Descriptors.Descriptor |
getContainingType() |
Descriptors.FieldDescriptor |
getField(int index) |
int |
getFieldCount() |
java.util.List<Descriptors.FieldDescriptor> |
getFields()
Get a list of this message type's fields.
|
Descriptors.FileDescriptor |
getFile() |
java.lang.String |
getFullName() |
int |
getIndex()
Get the index of this descriptor within its parent.
|
java.lang.String |
getName() |
DescriptorProtos.OneofOptions |
getOptions() |
boolean |
isSynthetic() |
DescriptorProtos.OneofDescriptorProto |
toProto() |
public int getIndex()
public java.lang.String getName()
getName
in class Descriptors.GenericDescriptor
public Descriptors.FileDescriptor getFile()
getFile
in class Descriptors.GenericDescriptor
public java.lang.String getFullName()
getFullName
in class Descriptors.GenericDescriptor
public Descriptors.Descriptor getContainingType()
public int getFieldCount()
public DescriptorProtos.OneofOptions getOptions()
public boolean isSynthetic()
public java.util.List<Descriptors.FieldDescriptor> getFields()
public Descriptors.FieldDescriptor getField(int index)
public DescriptorProtos.OneofDescriptorProto toProto()
toProto
in class Descriptors.GenericDescriptor