| Modifier and Type | Field and Description |
|---|---|
| public final boolean | |
| protected final EnumLookup | enumValues
For fields of type |
| public final int | id
Numeric tag, unshifted |
| public final boolean | |
| public final boolean | |
| protected ProtobufMessage | messageType
For main type of |
| public final String | name
Name of field in protoc definition |
| public ProtobufField | next
Link to next field within message definition; used for efficient traversal. |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final FieldType | |
| public final int | typedTag
Combination of numeric tag and 3-bit wire type. |
| public final boolean | |
| public final int | wireType
3-bit id used on determining details of how values are serialized. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| public void | |
| public void | |
| public int | compareTo(ProtobufField
the object to be compared. other)Implements java. Compares this object with the specified object for order. |
| public final String | |
| public final int | |
| public final int | |
| public Collection | |
| public final ProtobufMessage | |
| public final boolean | |
| public final boolean | |
| public final ProtobufField | |
| public final ProtobufField | |
| public String | |
| public static ProtobufField |
| deprecated | back to summary |
|---|---|
| public final boolean deprecated | |
| enumValues | back to summary |
|---|---|
| protected final EnumLookup enumValues For fields of type | |
| id | back to summary |
|---|---|
| public final int id Numeric tag, unshifted | |
| isObject | back to summary |
|---|---|
| public final boolean isObject | |
| isStdEnum | back to summary |
|---|---|
| public final boolean isStdEnum | |
| messageType | back to summary |
|---|---|
| protected ProtobufMessage messageType For main type of | |
| name | back to summary |
|---|---|
| public final String name Name of field in protoc definition | |
| next | back to summary |
|---|---|
| public ProtobufField next Link to next field within message definition; used for efficient traversal. Due to inverse construction order need to be assigned after construction; but functionally immutable. | |
| packed | back to summary |
|---|---|
| public final boolean packed | |
| repeated | back to summary |
|---|---|
| public final boolean repeated | |
| required | back to summary |
|---|---|
| public final boolean required | |
| type | back to summary |
|---|---|
| public final FieldType type | |
| typedTag | back to summary |
|---|---|
| public final int typedTag Combination of numeric tag and 3-bit wire type. | |
| usesZigZag | back to summary |
|---|---|
| public final boolean usesZigZag | |
| wireType | back to summary |
|---|---|
| public final int wireType 3-bit id used on determining details of how values are serialized. | |
| ProtobufField | back to summary |
|---|---|
| public ProtobufField(FieldElement nativeField, FieldType type) | |
| ProtobufField | back to summary |
|---|---|
| public ProtobufField(FieldElement nativeField, ProtobufMessage msg) | |
| ProtobufField | back to summary |
|---|---|
| public ProtobufField(FieldElement nativeField, ProtobufEnum et) | |
| ProtobufField | back to summary |
|---|---|
| protected ProtobufField(FieldElement nativeField, FieldType type, ProtobufMessage msg, ProtobufEnum et) | |
| _findBooleanOption | back to summary |
|---|---|
| private static boolean _findBooleanOption(FieldElement f, String key) | |
| assignMessageType | back to summary |
|---|---|
| public void assignMessageType(ProtobufMessage msgType) | |
| assignNext | back to summary |
|---|---|
| public void assignNext(ProtobufField n) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(ProtobufField other) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| findEnumByIndex | back to summary |
|---|---|
| public final String findEnumByIndex(int index) | |
| findEnumIndex | back to summary |
|---|---|
| public final int findEnumIndex(SerializableString key) | |
| findEnumIndex | back to summary |
|---|---|
| public final int findEnumIndex(String key) | |
| getEnumValues | back to summary |
|---|---|
| public Collection | |
| getMessageType | back to summary |
|---|---|
| public final ProtobufMessage getMessageType() | |
| isArray | back to summary |
|---|---|
| public final boolean isArray() | |
| isValidFor | back to summary |
|---|---|
| public final boolean isValidFor(int typeTag) | |
| nextIf | back to summary |
|---|---|
| public final ProtobufField nextIf(String nameToMatch) | |
| nextOrThisIf | back to summary |
|---|---|
| public final ProtobufField nextOrThisIf(int idToMatch) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| unknownField | back to summary |
|---|---|
| public static ProtobufField unknownField() | |