
Classes | |
| enum | JavaType |
| enum | Type |
Private Member Functions | |
| void | crossLink () throws DescriptorValidationException |
| void | crossLink () throws DescriptorValidationException |
| FieldDescriptor (final FieldDescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index, final boolean isExtension) throws DescriptorValidationException | |
| FieldDescriptor (final FieldDescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index, final boolean isExtension) throws DescriptorValidationException | |
| void | setProto (final FieldDescriptorProto proto) |
| void | setProto (final FieldDescriptorProto proto) |
Static Private Member Functions | |
| static String | fieldNameToJsonName (String name) |
| static String | fieldNameToJsonName (String name) |
Private Attributes | |
| OneofDescriptor | containingOneof |
| Descriptor | containingType |
| Object | defaultValue |
| EnumDescriptor | enumType |
| final Descriptor | extensionScope |
| final FileDescriptor | file |
| final String | fullName |
| final int | index |
| final boolean | isProto3Optional |
| final String | jsonName |
| String | jsonName |
| Descriptor | messageType |
| FieldDescriptorProto | proto |
| Type | type |
Static Private Attributes | |
| static final NumberGetter< FieldDescriptor > | NUMBER_GETTER |
| static final WireFormat.FieldType[] | table = WireFormat.FieldType.values() |
Describes a field of a message type.
Definition at line 949 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inlineprivate |
Definition at line 1309 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inlineprivate |
Definition at line 1470 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Compare with another
. This orders fields in "canonical" order, which simply means ascending order by field number.
must be a field of the same type – i.e.
must return the same
for both fields.
Definition at line 1185 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Compare with another
. This orders fields in "canonical" order, which simply means ascending order by field number.
must be a field of the same type – i.e.
must return the same
for both fields.
Definition at line 1342 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inlineprivate |
Look up and cross-link all field types, etc.
Definition at line 1377 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inlineprivate |
Look up and cross-link all field types, etc.
Definition at line 1535 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inlinestaticprivate |
Definition at line 1286 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inlinestaticprivate |
Definition at line 1447 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the field's containing oneof.
Definition at line 1124 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the field's containing oneof.
Definition at line 1247 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the field's containing type. For extensions, this is the type being extended, not the location where the extension was defined. See getExtensionScope().
Definition at line 1119 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the field's containing type. For extensions, this is the type being extended, not the location where the extension was defined. See getExtensionScope().
Definition at line 1242 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Returns the field's default value. Valid for all types except for messages and groups. For all other types, the object returned is of the same class that would returned by Message.getField(this).
Definition at line 1097 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Returns the field's default value. Valid for all types except for messages and groups. For all other types, the object returned is of the same class that would returned by Message.getField(this).
Definition at line 1220 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
For enum fields, gets the field's type.
Definition at line 1168 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
For enum fields, gets the field's type.
Definition at line 1325 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
For extensions defined nested within message types, gets the outer type. Not valid for non-extension fields. For example, consider this
file:
message Foo { extensions 1000 to max; } extend Foo { optional int32 baz = 1234; } message Bar { extend Foo { optional int32 qux = 4321; } }
Both
's and
's containing type is
. However,
's extension scope is
while
's extension scope is
.
Definition at line 1149 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
For extensions defined nested within message types, gets the outer type. Not valid for non-extension fields. For example, consider this
file:
message Foo { extensions 1000 to max; } extend Foo { optional int32 baz = 1234; } message Bar { extend Foo { optional int32 qux = 4321; } }
Both
's and
's containing type is
. However,
's extension scope is
while
's extension scope is
.
Definition at line 1306 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the
containing this descriptor.
Reimplemented from com.google.protobuf.Descriptors.GenericDescriptor.
Definition at line 1009 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the
containing this descriptor.
Reimplemented from com.google.protobuf.Descriptors.GenericDescriptor.
Definition at line 1132 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the field's fully-qualified name.
Reimplemented from com.google.protobuf.Descriptors.GenericDescriptor.
Definition at line 984 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the field's fully-qualified name.
Reimplemented from com.google.protobuf.Descriptors.GenericDescriptor.
Definition at line 1100 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the index of this descriptor within its parent.
Definition at line 956 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the index of this descriptor within its parent.
Definition at line 1072 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the field's java type. This is just for convenience. Every
maps to exactly one Java type.
Definition at line 997 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the field's java type. This is just for convenience. Every
maps to exactly one Java type.
Definition at line 1120 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the JSON name of this field.
Definition at line 989 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the JSON name of this field.
Definition at line 1105 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
For internal use only.
Definition at line 1003 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
For internal use only.
Definition at line 1126 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
For internal use only.
Definition at line 1020 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
For internal use only.
Definition at line 1143 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
For embedded message and group fields, gets the field's type.
Definition at line 1158 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
For embedded message and group fields, gets the field's type.
Definition at line 1315 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the field's unqualified name.
Reimplemented from com.google.protobuf.Descriptors.GenericDescriptor.
Definition at line 968 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the field's unqualified name.
Reimplemented from com.google.protobuf.Descriptors.GenericDescriptor.
Definition at line 1084 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the field's number.
Definition at line 974 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the field's number.
Definition at line 1090 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the
, defined in
.
Definition at line 1106 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the
, defined in
.
Definition at line 1229 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the field's containing oneof, only if non-synthetic.
Definition at line 1252 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the field's declared type.
Definition at line 1014 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Get the field's declared type.
Definition at line 1137 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Returns true if the field had an explicitly-defined default value.
Definition at line 1088 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Returns true if the field had an explicitly-defined default value.
Definition at line 1211 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Returns true if this field was syntactically written with "optional" in the .proto file. Excludes singular proto3 fields that do not have a label.
Definition at line 1260 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Returns true if this field tracks presence, ie. does the field distinguish between "unset" and "present with default value."
This includes required, optional, and oneof fields. It excludes maps, repeated fields, and singular proto3 fields without "optional".
For fields where hasPresence() == true, the return value of msg.hasField() is semantically meaningful.
Definition at line 1275 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
For internal use only. This is to satisfy the FieldDescriptorLite interface.
Definition at line 1572 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
For internal use only. This is to satisfy the FieldDescriptorLite interface.
Definition at line 1726 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Is this field an extension?
Definition at line 1111 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Is this field an extension?
Definition at line 1234 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Definition at line 1039 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Definition at line 1162 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Is this field declared optional?
Definition at line 1056 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Is this field declared optional?
Definition at line 1179 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Can this field be packed? i.e. is it a repeated primitive field?
Definition at line 1083 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Can this field be packed? i.e. is it a repeated primitive field?
Definition at line 1206 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Does this field have the
option or is this field packable in proto3 and not explicitly setted to unpacked?
Definition at line 1071 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Does this field have the
option or is this field packable in proto3 and not explicitly set to unpacked?
Definition at line 1194 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Is this field declared repeated?
Definition at line 1062 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Is this field declared repeated?
Definition at line 1185 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Is this field declared required?
Definition at line 1051 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Is this field declared required?
Definition at line 1174 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
For internal use only.
Definition at line 1025 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
For internal use only.
Definition at line 1148 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inlineprivate |
Definition at line 1566 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inlineprivate |
Definition at line 1720 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Convert the descriptor to its protocol message representation.
Reimplemented from com.google.protobuf.Descriptors.GenericDescriptor.
Definition at line 962 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Convert the descriptor to its protocol message representation.
Reimplemented from com.google.protobuf.Descriptors.GenericDescriptor.
Definition at line 1078 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Definition at line 1195 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
inline |
Definition at line 1352 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
private |
Definition at line 1211 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
private |
Definition at line 1209 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
private |
Definition at line 1213 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
private |
Definition at line 1212 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
private |
Definition at line 1205 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
private |
Definition at line 1204 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
private |
Definition at line 1202 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
private |
Definition at line 1199 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
private |
Definition at line 1363 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
private |
Definition at line 1203 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
private |
Definition at line 1360 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
private |
Definition at line 1210 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
staticprivate |
Definition at line 1059 of file protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
private |
Definition at line 1201 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
staticprivate |
Definition at line 1048 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.
|
private |
Definition at line 1208 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java.