Package | Description |
---|---|
com.squareup.wire.schema |
Modifier and Type | Field and Description |
---|---|
static ProtoType |
ProtoType.BOOL |
static ProtoType |
ProtoType.BYTES |
static ProtoType |
ProtoType.DOUBLE |
static ProtoType |
Options.ENUM_OPTIONS |
static ProtoType |
Options.ENUM_VALUE_OPTIONS |
static ProtoType |
Options.FIELD_OPTIONS |
static ProtoType |
Options.FILE_OPTIONS |
static ProtoType |
ProtoType.FIXED32 |
static ProtoType |
ProtoType.FIXED64 |
static ProtoType |
ProtoType.FLOAT |
static ProtoType |
ProtoType.INT32 |
static ProtoType |
ProtoType.INT64 |
static ProtoType |
Options.MESSAGE_OPTIONS |
static ProtoType |
Options.METHOD_OPTIONS |
static ProtoType |
Options.SERVICE_OPTIONS |
static ProtoType |
ProtoType.SFIXED32 |
static ProtoType |
ProtoType.SFIXED64 |
static ProtoType |
ProtoType.SINT32 |
static ProtoType |
ProtoType.SINT64 |
static ProtoType |
ProtoType.STRING |
static ProtoType |
ProtoType.UINT32 |
static ProtoType |
ProtoType.UINT64 |
Modifier and Type | Method and Description |
---|---|
static ProtoType |
ProtoType.get(String name) |
static ProtoType |
ProtoType.get(String enclosingTypeOrPackage,
String typeName) |
ProtoType |
ProtoType.keyType()
The type of the map's keys.
|
ProtoType |
ProtoType.nestedType(String name) |
ProtoType |
Rpc.requestType() |
ProtoType |
Rpc.responseType() |
abstract ProtoType |
Type.type() |
ProtoType |
Service.type() |
ProtoType |
ProtoMember.type() |
ProtoType |
MessageType.type() |
ProtoType |
Field.type() |
ProtoType |
EnumType.type() |
ProtoType |
EnclosingType.type() |
ProtoType |
ProtoType.valueType()
The type of the map's values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IdentifierSet.excludes(ProtoType type)
Returns true if
type should be excluded, even if it is a transitive dependency of a
root. |
static ProtoMember |
ProtoMember.get(ProtoType type,
Field field) |
static ProtoMember |
ProtoMember.get(ProtoType type,
String member) |
static Type |
Type.get(String packageName,
ProtoType protoType,
TypeElement type) |
Service |
Schema.getService(ProtoType protoType)
Returns the service with the fully qualified name
name , or null if this schema defines
no such service. |
Type |
Schema.getType(ProtoType protoType)
Returns the type with the fully qualified name
name , or null if this schema defines no
such type. |
boolean |
IdentifierSet.includes(ProtoType type)
Returns true if
type is a root. |
Constructor and Description |
---|
Options(ProtoType optionType,
List<OptionElement> elements) |
Copyright © 2013–2016 Square, Inc.. All rights reserved.