Package | Description |
---|---|
com.squareup.wire.schema |
Modifier and Type | Method and Description |
---|---|
Field |
MessageType.extensionField(String qualifiedName)
Returns the field with the qualified name
qualifiedName , or null if this type has no
such field. |
Field |
MessageType.field(int tag)
Returns the field tagged
tag , or null if this type has no such field. |
Field |
MessageType.field(String name)
Returns the field named
name , or null if this type has no such field. |
Field |
Schema.getField(ProtoMember protoMember) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<Field> |
MessageType.extensionFields() |
com.google.common.collect.ImmutableList<Field> |
OneOf.fields() |
com.google.common.collect.ImmutableList<Field> |
MessageType.fields() |
com.google.common.collect.ImmutableList<Field> |
MessageType.fieldsAndOneOfFields() |
com.google.common.collect.ImmutableList<Field> |
MessageType.getRequiredFields() |
Modifier and Type | Method and Description |
---|---|
static ProtoMember |
ProtoMember.get(ProtoType type,
Field field) |
Copyright © 2013–2016 Square, Inc.. All rights reserved.