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() |
List<Descriptors.FieldDescriptor> |
getFields()
Get a list of this message type's fields.
|
Descriptors.FileDescriptor |
getFile() |
String |
getFullName() |
int |
getIndex()
Get the index of this descriptor within its parent.
|
String |
getName() |
DescriptorProtos.OneofOptions |
getOptions() |
boolean |
isSynthetic() |
DescriptorProtos.OneofDescriptorProto |
toProto() |
public int getIndex()
public String getName()
getName
in class Descriptors.GenericDescriptor
public Descriptors.FileDescriptor getFile()
getFile
in class Descriptors.GenericDescriptor
public String getFullName()
getFullName
in class Descriptors.GenericDescriptor
public Descriptors.Descriptor getContainingType()
public int getFieldCount()
public DescriptorProtos.OneofOptions getOptions()
public boolean isSynthetic()
public List<Descriptors.FieldDescriptor> getFields()
public Descriptors.FieldDescriptor getField(int index)
public DescriptorProtos.OneofDescriptorProto toProto()
toProto
in class Descriptors.GenericDescriptor
Copyright © 2008–2021. All rights reserved.