Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W 

A

addProto(String) - Method in class com.squareup.wire.schema.SchemaLoader
Add a proto file to load.
addSource(File) - Method in class com.squareup.wire.schema.SchemaLoader
Add directory or zip file source from which proto files will be loaded.
addSource(Path) - Method in class com.squareup.wire.schema.SchemaLoader
Add directory or zip file source from which proto files will be loaded.
allowAlias() - Method in class com.squareup.wire.schema.EnumType
 
appendDocumentation(StringBuilder, String) - Static method in class com.squareup.wire.schema.internal.Util
 
appendIndented(StringBuilder, String) - Static method in class com.squareup.wire.schema.internal.Util
 
at(int, int) - Method in class com.squareup.wire.schema.Location
 

B

base() - Method in class com.squareup.wire.schema.Location
Returns the base of this location; typically a directory or .jar file.
BOOL - Static variable in class com.squareup.wire.schema.ProtoType
 
build() - Method in class com.squareup.wire.schema.IdentifierSet.Builder
 
build() - Method in interface com.squareup.wire.schema.internal.parser.EnumConstantElement.Builder
 
build() - Method in interface com.squareup.wire.schema.internal.parser.EnumElement.Builder
 
build() - Method in interface com.squareup.wire.schema.internal.parser.ExtendElement.Builder
 
build() - Method in interface com.squareup.wire.schema.internal.parser.FieldElement.Builder
 
build() - Method in interface com.squareup.wire.schema.internal.parser.GroupElement.Builder
 
build() - Method in interface com.squareup.wire.schema.internal.parser.MessageElement.Builder
 
build() - Method in interface com.squareup.wire.schema.internal.parser.OneOfElement.Builder
 
build() - Method in interface com.squareup.wire.schema.internal.parser.ProtoFileElement.Builder
 
build() - Method in interface com.squareup.wire.schema.internal.parser.RpcElement.Builder
 
build() - Method in interface com.squareup.wire.schema.internal.parser.ServiceElement.Builder
 
Builder() - Constructor for class com.squareup.wire.schema.IdentifierSet.Builder
 
builder(Location) - Static method in class com.squareup.wire.schema.internal.parser.EnumConstantElement
 
builder(Location) - Static method in class com.squareup.wire.schema.internal.parser.EnumElement
 
builder(Location) - Static method in class com.squareup.wire.schema.internal.parser.ExtendElement
 
builder(Location) - Static method in class com.squareup.wire.schema.internal.parser.FieldElement
 
builder() - Static method in class com.squareup.wire.schema.internal.parser.GroupElement
 
builder(Location) - Static method in class com.squareup.wire.schema.internal.parser.MessageElement
 
builder() - Static method in class com.squareup.wire.schema.internal.parser.OneOfElement
 
builder(Location) - Static method in class com.squareup.wire.schema.internal.parser.ProtoFileElement
 
builder(Location) - Static method in class com.squareup.wire.schema.internal.parser.RpcElement
 
builder(Location) - Static method in class com.squareup.wire.schema.internal.parser.ServiceElement
 
BYTES - Static variable in class com.squareup.wire.schema.ProtoType
 

C

column() - Method in class com.squareup.wire.schema.Location
Returns the column on the line of this location, or -1 for no specific column.
com.squareup.wire.schema - package com.squareup.wire.schema
 
com.squareup.wire.schema.internal - package com.squareup.wire.schema.internal
 
com.squareup.wire.schema.internal.parser - package com.squareup.wire.schema.internal.parser
 
concatenate(List<T>, T) - Static method in class com.squareup.wire.schema.internal.Util
 
constant(String) - Method in class com.squareup.wire.schema.EnumType
Returns the constant named name, or null if this enum has no such constant.
constant(int) - Method in class com.squareup.wire.schema.EnumType
Returns the constant tagged tag, or null if this enum has no such constant.
constants() - Method in class com.squareup.wire.schema.EnumType
 
constants(ImmutableList<EnumConstantElement>) - Method in interface com.squareup.wire.schema.internal.parser.EnumElement.Builder
 
constants() - Method in class com.squareup.wire.schema.internal.parser.EnumElement
 
create(Location, int, int, String) - Static method in class com.squareup.wire.schema.internal.parser.ExtensionsElement
 
create(String, OptionElement.Kind, Object) - Static method in class com.squareup.wire.schema.internal.parser.OptionElement
 
create(String, OptionElement.Kind, Object, boolean) - Static method in class com.squareup.wire.schema.internal.parser.OptionElement
 
create(Location, String, ImmutableList<Object>) - Static method in class com.squareup.wire.schema.internal.parser.ReservedElement
 

D

defaultValue(String) - Method in interface com.squareup.wire.schema.internal.parser.FieldElement.Builder
 
defaultValue() - Method in class com.squareup.wire.schema.internal.parser.FieldElement
 
documentation() - Method in class com.squareup.wire.schema.EnclosingType
 
documentation() - Method in class com.squareup.wire.schema.EnumConstant
 
documentation() - Method in class com.squareup.wire.schema.EnumType
 
documentation() - Method in class com.squareup.wire.schema.Field
 
documentation(String) - Method in interface com.squareup.wire.schema.internal.parser.EnumConstantElement.Builder
 
documentation() - Method in class com.squareup.wire.schema.internal.parser.EnumConstantElement
 
documentation(String) - Method in interface com.squareup.wire.schema.internal.parser.EnumElement.Builder
 
documentation() - Method in class com.squareup.wire.schema.internal.parser.EnumElement
 
documentation(String) - Method in interface com.squareup.wire.schema.internal.parser.ExtendElement.Builder
 
documentation() - Method in class com.squareup.wire.schema.internal.parser.ExtendElement
 
documentation() - Method in class com.squareup.wire.schema.internal.parser.ExtensionsElement
 
documentation(String) - Method in interface com.squareup.wire.schema.internal.parser.FieldElement.Builder
 
documentation() - Method in class com.squareup.wire.schema.internal.parser.FieldElement
 
documentation(String) - Method in interface com.squareup.wire.schema.internal.parser.GroupElement.Builder
 
documentation() - Method in class com.squareup.wire.schema.internal.parser.GroupElement
 
documentation(String) - Method in interface com.squareup.wire.schema.internal.parser.MessageElement.Builder
 
documentation() - Method in class com.squareup.wire.schema.internal.parser.MessageElement
 
documentation(String) - Method in interface com.squareup.wire.schema.internal.parser.OneOfElement.Builder
 
documentation() - Method in class com.squareup.wire.schema.internal.parser.OneOfElement
 
documentation() - Method in class com.squareup.wire.schema.internal.parser.ReservedElement
 
documentation(String) - Method in interface com.squareup.wire.schema.internal.parser.RpcElement.Builder
 
documentation() - Method in class com.squareup.wire.schema.internal.parser.RpcElement
 
documentation(String) - Method in interface com.squareup.wire.schema.internal.parser.ServiceElement.Builder
 
documentation() - Method in class com.squareup.wire.schema.internal.parser.ServiceElement
 
documentation() - Method in interface com.squareup.wire.schema.internal.parser.TypeElement
 
documentation() - Method in class com.squareup.wire.schema.MessageType
 
documentation() - Method in class com.squareup.wire.schema.OneOf
 
documentation() - Method in class com.squareup.wire.schema.Rpc
 
documentation() - Method in class com.squareup.wire.schema.Service
 
documentation() - Method in class com.squareup.wire.schema.Type
 
DOUBLE - Static variable in class com.squareup.wire.schema.ProtoType
 

E

EnclosingType - Class in com.squareup.wire.schema
An empty type which only holds nested types.
enclosingTypeOrPackage() - Method in class com.squareup.wire.schema.ProtoType
Returns the enclosing type, or null if this type is not nested in another type.
end() - Method in class com.squareup.wire.schema.internal.parser.ExtensionsElement
 
ENUM_OPTIONS - Static variable in class com.squareup.wire.schema.Options
 
ENUM_VALUE_OPTIONS - Static variable in class com.squareup.wire.schema.Options
 
EnumConstant - Class in com.squareup.wire.schema
 
EnumConstantElement - Class in com.squareup.wire.schema.internal.parser
 
EnumConstantElement() - Constructor for class com.squareup.wire.schema.internal.parser.EnumConstantElement
 
EnumConstantElement.Builder - Interface in com.squareup.wire.schema.internal.parser
 
EnumElement - Class in com.squareup.wire.schema.internal.parser
 
EnumElement() - Constructor for class com.squareup.wire.schema.internal.parser.EnumElement
 
EnumElement.Builder - Interface in com.squareup.wire.schema.internal.parser
 
EnumType - Class in com.squareup.wire.schema
 
equals(Object) - Method in class com.squareup.wire.schema.ProtoMember
 
equals(Object) - Method in class com.squareup.wire.schema.ProtoType
 
exclude(String) - Method in class com.squareup.wire.schema.IdentifierSet.Builder
 
excludes(ProtoType) - Method in class com.squareup.wire.schema.IdentifierSet
Returns true if type should be excluded, even if it is a transitive dependency of a root.
excludes(ProtoMember) - Method in class com.squareup.wire.schema.IdentifierSet
Returns true if protoMember should be excluded.
extendDeclarations(ImmutableList<ExtendElement>) - Method in interface com.squareup.wire.schema.internal.parser.ProtoFileElement.Builder
 
extendDeclarations() - Method in class com.squareup.wire.schema.internal.parser.ProtoFileElement
 
ExtendElement - Class in com.squareup.wire.schema.internal.parser
 
ExtendElement() - Constructor for class com.squareup.wire.schema.internal.parser.ExtendElement
 
ExtendElement.Builder - Interface in com.squareup.wire.schema.internal.parser
 
extensionField(String) - Method in class com.squareup.wire.schema.MessageType
Returns the field with the qualified name qualifiedName, or null if this type has no such field.
extensionFields() - Method in class com.squareup.wire.schema.MessageType
 
extensions(ImmutableList<ExtensionsElement>) - Method in interface com.squareup.wire.schema.internal.parser.MessageElement.Builder
 
extensions() - Method in class com.squareup.wire.schema.internal.parser.MessageElement
 
extensions() - Method in class com.squareup.wire.schema.MessageType
 
ExtensionsElement - Class in com.squareup.wire.schema.internal.parser
 
ExtensionsElement() - Constructor for class com.squareup.wire.schema.internal.parser.ExtensionsElement
 

F

Field - Class in com.squareup.wire.schema
 
field(String) - Method in class com.squareup.wire.schema.MessageType
Returns the field named name, or null if this type has no such field.
field(int) - Method in class com.squareup.wire.schema.MessageType
Returns the field tagged tag, or null if this type has no such field.
Field.Label - Enum in com.squareup.wire.schema
 
FIELD_OPTIONS - Static variable in class com.squareup.wire.schema.Options
 
FieldElement - Class in com.squareup.wire.schema.internal.parser
 
FieldElement() - Constructor for class com.squareup.wire.schema.internal.parser.FieldElement
 
FieldElement.Builder - Interface in com.squareup.wire.schema.internal.parser
 
fields(ImmutableList<FieldElement>) - Method in interface com.squareup.wire.schema.internal.parser.ExtendElement.Builder
 
fields() - Method in class com.squareup.wire.schema.internal.parser.ExtendElement
 
fields(ImmutableList<FieldElement>) - Method in interface com.squareup.wire.schema.internal.parser.GroupElement.Builder
 
fields() - Method in class com.squareup.wire.schema.internal.parser.GroupElement
 
fields(ImmutableList<FieldElement>) - Method in interface com.squareup.wire.schema.internal.parser.MessageElement.Builder
 
fields() - Method in class com.squareup.wire.schema.internal.parser.MessageElement
 
fields(ImmutableList<FieldElement>) - Method in interface com.squareup.wire.schema.internal.parser.OneOfElement.Builder
 
fields() - Method in class com.squareup.wire.schema.internal.parser.OneOfElement
 
fields() - Method in class com.squareup.wire.schema.MessageType
 
fields() - Method in class com.squareup.wire.schema.OneOf
 
fieldsAndOneOfFields() - Method in class com.squareup.wire.schema.MessageType
 
FILE_OPTIONS - Static variable in class com.squareup.wire.schema.Options
 
FIXED32 - Static variable in class com.squareup.wire.schema.ProtoType
 
FIXED64 - Static variable in class com.squareup.wire.schema.ProtoType
 
FLOAT - Static variable in class com.squareup.wire.schema.ProtoType
 

G

get(String) - Static method in class com.squareup.wire.schema.Location
 
get(String, String) - Static method in class com.squareup.wire.schema.Location
 
get(ProtoMember) - Method in class com.squareup.wire.schema.Options
 
get(String) - Static method in enum com.squareup.wire.schema.ProtoFile.Syntax
 
get(String) - Static method in class com.squareup.wire.schema.ProtoMember
 
get(ProtoType, String) - Static method in class com.squareup.wire.schema.ProtoMember
 
get(ProtoType, Field) - Static method in class com.squareup.wire.schema.ProtoMember
 
get(String, String) - Static method in class com.squareup.wire.schema.ProtoType
 
get(String) - Static method in class com.squareup.wire.schema.ProtoType
 
get(String, ProtoType, TypeElement) - Static method in class com.squareup.wire.schema.Type
 
getDefault() - Method in class com.squareup.wire.schema.Field
 
getField(ProtoMember) - Method in class com.squareup.wire.schema.Schema
 
getRequiredFields() - Method in class com.squareup.wire.schema.MessageType
 
getService(String) - Method in class com.squareup.wire.schema.Schema
Returns the service with the fully qualified name name, or null if this schema defines no such service.
getService(ProtoType) - Method in class com.squareup.wire.schema.Schema
Returns the service with the fully qualified name name, or null if this schema defines no such service.
getType(String) - Method in class com.squareup.wire.schema.Schema
Returns the type with the fully qualified name name, or null if this schema defines no such type.
getType(ProtoType) - Method in class com.squareup.wire.schema.Schema
Returns the type with the fully qualified name name, or null if this schema defines no such type.
GroupElement - Class in com.squareup.wire.schema.internal.parser
 
GroupElement() - Constructor for class com.squareup.wire.schema.internal.parser.GroupElement
 
GroupElement.Builder - Interface in com.squareup.wire.schema.internal.parser
 
groups(ImmutableList<GroupElement>) - Method in interface com.squareup.wire.schema.internal.parser.MessageElement.Builder
 
groups() - Method in class com.squareup.wire.schema.internal.parser.MessageElement
 
groups(ImmutableList<GroupElement>) - Method in interface com.squareup.wire.schema.internal.parser.OneOfElement.Builder
 
groups() - Method in class com.squareup.wire.schema.internal.parser.OneOfElement
 

H

hashCode() - Method in class com.squareup.wire.schema.ProtoMember
 
hashCode() - Method in class com.squareup.wire.schema.ProtoType
 

I

IdentifierSet - Class in com.squareup.wire.schema
A heterogeneous set of rules to include and exclude types and members.
IdentifierSet.Builder - Class in com.squareup.wire.schema
 
imports(ImmutableList<String>) - Method in interface com.squareup.wire.schema.internal.parser.ProtoFileElement.Builder
 
imports() - Method in class com.squareup.wire.schema.internal.parser.ProtoFileElement
 
include(String) - Method in class com.squareup.wire.schema.IdentifierSet.Builder
 
includes(ProtoType) - Method in class com.squareup.wire.schema.IdentifierSet
Returns true if type is a root.
includes(ProtoMember) - Method in class com.squareup.wire.schema.IdentifierSet
Returns true if protoMember is a root.
INT32 - Static variable in class com.squareup.wire.schema.ProtoType
 
INT64 - Static variable in class com.squareup.wire.schema.ProtoType
 
isDeprecated() - Method in class com.squareup.wire.schema.Field
 
isEmpty() - Method in class com.squareup.wire.schema.IdentifierSet
 
isExtension() - Method in class com.squareup.wire.schema.Field
 
isMap() - Method in class com.squareup.wire.schema.ProtoType
 
isOptional() - Method in class com.squareup.wire.schema.Field
 
isPacked() - Method in class com.squareup.wire.schema.Field
 
isParenthesized() - Method in class com.squareup.wire.schema.internal.parser.OptionElement
 
isRedacted() - Method in class com.squareup.wire.schema.Field
 
isRepeated() - Method in class com.squareup.wire.schema.Field
 
isRequired() - Method in class com.squareup.wire.schema.Field
 
isScalar() - Method in class com.squareup.wire.schema.ProtoType
 
isValidTag(int) - Static method in class com.squareup.wire.schema.internal.Util
True if the supplied value is in the valid tag range and not reserved.

J

javaPackage() - Method in class com.squareup.wire.schema.ProtoFile
 

K

keyType() - Method in class com.squareup.wire.schema.ProtoType
The type of the map's keys.
kind() - Method in class com.squareup.wire.schema.internal.parser.OptionElement
 

L

label() - Method in class com.squareup.wire.schema.Field
 
label(Field.Label) - Method in interface com.squareup.wire.schema.internal.parser.FieldElement.Builder
 
label() - Method in class com.squareup.wire.schema.internal.parser.FieldElement
 
label(Field.Label) - Method in interface com.squareup.wire.schema.internal.parser.GroupElement.Builder
 
label() - Method in class com.squareup.wire.schema.internal.parser.GroupElement
 
line() - Method in class com.squareup.wire.schema.Location
Returns the line number of this location, or -1 for no specific line number.
load() - Method in class com.squareup.wire.schema.SchemaLoader
 
location() - Method in class com.squareup.wire.schema.EnclosingType
 
location() - Method in class com.squareup.wire.schema.EnumConstant
 
location() - Method in class com.squareup.wire.schema.EnumType
 
location() - Method in class com.squareup.wire.schema.Field
 
location(Location) - Method in interface com.squareup.wire.schema.internal.parser.EnumConstantElement.Builder
 
location() - Method in class com.squareup.wire.schema.internal.parser.EnumConstantElement
 
location(Location) - Method in interface com.squareup.wire.schema.internal.parser.EnumElement.Builder
 
location() - Method in class com.squareup.wire.schema.internal.parser.EnumElement
 
location(Location) - Method in interface com.squareup.wire.schema.internal.parser.ExtendElement.Builder
 
location() - Method in class com.squareup.wire.schema.internal.parser.ExtendElement
 
location() - Method in class com.squareup.wire.schema.internal.parser.ExtensionsElement
 
location(Location) - Method in interface com.squareup.wire.schema.internal.parser.FieldElement.Builder
 
location() - Method in class com.squareup.wire.schema.internal.parser.FieldElement
 
location(Location) - Method in interface com.squareup.wire.schema.internal.parser.MessageElement.Builder
 
location() - Method in class com.squareup.wire.schema.internal.parser.MessageElement
 
location(Location) - Method in interface com.squareup.wire.schema.internal.parser.ProtoFileElement.Builder
 
location() - Method in class com.squareup.wire.schema.internal.parser.ProtoFileElement
 
location() - Method in class com.squareup.wire.schema.internal.parser.ReservedElement
 
location(Location) - Method in interface com.squareup.wire.schema.internal.parser.RpcElement.Builder
 
location() - Method in class com.squareup.wire.schema.internal.parser.RpcElement
 
location(Location) - Method in interface com.squareup.wire.schema.internal.parser.ServiceElement.Builder
 
location() - Method in class com.squareup.wire.schema.internal.parser.ServiceElement
 
location() - Method in interface com.squareup.wire.schema.internal.parser.TypeElement
 
Location - Class in com.squareup.wire.schema
Locates a .proto file, or a position within a .proto file, on the file system.
Location() - Constructor for class com.squareup.wire.schema.Location
 
location() - Method in class com.squareup.wire.schema.MessageType
 
location() - Method in class com.squareup.wire.schema.ProtoFile
 
location() - Method in class com.squareup.wire.schema.Rpc
 
location() - Method in class com.squareup.wire.schema.Service
 
location() - Method in class com.squareup.wire.schema.Type
 

M

map() - Method in class com.squareup.wire.schema.Options
Returns a map with the values for these options.
MAX_TAG_VALUE - Static variable in class com.squareup.wire.schema.internal.Util
 
member() - Method in class com.squareup.wire.schema.ProtoMember
 
MESSAGE_OPTIONS - Static variable in class com.squareup.wire.schema.Options
 
MessageElement - Class in com.squareup.wire.schema.internal.parser
 
MessageElement() - Constructor for class com.squareup.wire.schema.internal.parser.MessageElement
 
MessageElement.Builder - Interface in com.squareup.wire.schema.internal.parser
 
MessageType - Class in com.squareup.wire.schema
 
METHOD_OPTIONS - Static variable in class com.squareup.wire.schema.Options
 
MIN_TAG_VALUE - Static variable in class com.squareup.wire.schema.internal.Util
 

N

name() - Method in class com.squareup.wire.schema.EnumConstant
 
name() - Method in class com.squareup.wire.schema.Field
 
name(String) - Method in interface com.squareup.wire.schema.internal.parser.EnumConstantElement.Builder
 
name() - Method in class com.squareup.wire.schema.internal.parser.EnumConstantElement
 
name(String) - Method in interface com.squareup.wire.schema.internal.parser.EnumElement.Builder
 
name() - Method in class com.squareup.wire.schema.internal.parser.EnumElement
 
name(String) - Method in interface com.squareup.wire.schema.internal.parser.ExtendElement.Builder
 
name() - Method in class com.squareup.wire.schema.internal.parser.ExtendElement
 
name(String) - Method in interface com.squareup.wire.schema.internal.parser.FieldElement.Builder
 
name() - Method in class com.squareup.wire.schema.internal.parser.FieldElement
 
name(String) - Method in interface com.squareup.wire.schema.internal.parser.GroupElement.Builder
 
name() - Method in class com.squareup.wire.schema.internal.parser.GroupElement
 
name(String) - Method in interface com.squareup.wire.schema.internal.parser.MessageElement.Builder
 
name() - Method in class com.squareup.wire.schema.internal.parser.MessageElement
 
name(String) - Method in interface com.squareup.wire.schema.internal.parser.OneOfElement.Builder
 
name() - Method in class com.squareup.wire.schema.internal.parser.OneOfElement
 
name() - Method in class com.squareup.wire.schema.internal.parser.OptionElement
 
name(String) - Method in interface com.squareup.wire.schema.internal.parser.RpcElement.Builder
 
name() - Method in class com.squareup.wire.schema.internal.parser.RpcElement
 
name(String) - Method in interface com.squareup.wire.schema.internal.parser.ServiceElement.Builder
 
name() - Method in class com.squareup.wire.schema.internal.parser.ServiceElement
 
name() - Method in interface com.squareup.wire.schema.internal.parser.TypeElement
 
name() - Method in class com.squareup.wire.schema.OneOf
 
name() - Method in class com.squareup.wire.schema.ProtoFile
Returns the name of this proto file, like simple_message for squareup/protos/person/simple_message.proto.
name() - Method in class com.squareup.wire.schema.Rpc
 
name() - Method in class com.squareup.wire.schema.Service
 
nestedType(String) - Method in class com.squareup.wire.schema.ProtoType
 
nestedTypes() - Method in class com.squareup.wire.schema.EnclosingType
 
nestedTypes() - Method in class com.squareup.wire.schema.EnumType
 
nestedTypes() - Method in class com.squareup.wire.schema.internal.parser.EnumElement
 
nestedTypes(ImmutableList<TypeElement>) - Method in interface com.squareup.wire.schema.internal.parser.MessageElement.Builder
 
nestedTypes() - Method in class com.squareup.wire.schema.internal.parser.MessageElement
 
nestedTypes() - Method in interface com.squareup.wire.schema.internal.parser.TypeElement
 
nestedTypes() - Method in class com.squareup.wire.schema.MessageType
 
nestedTypes() - Method in class com.squareup.wire.schema.Type
 

O

OneOf - Class in com.squareup.wire.schema
 
OneOfElement - Class in com.squareup.wire.schema.internal.parser
 
OneOfElement() - Constructor for class com.squareup.wire.schema.internal.parser.OneOfElement
 
OneOfElement.Builder - Interface in com.squareup.wire.schema.internal.parser
 
oneOfs(ImmutableList<OneOfElement>) - Method in interface com.squareup.wire.schema.internal.parser.MessageElement.Builder
 
oneOfs() - Method in class com.squareup.wire.schema.internal.parser.MessageElement
 
oneOfs() - Method in class com.squareup.wire.schema.MessageType
 
OptionElement - Class in com.squareup.wire.schema.internal.parser
 
OptionElement() - Constructor for class com.squareup.wire.schema.internal.parser.OptionElement
 
OptionElement.Kind - Enum in com.squareup.wire.schema.internal.parser
 
optionMatches(String, String) - Method in class com.squareup.wire.schema.Options
Returns true if any of the options in options matches both of the regular expressions provided: its name matches the option's name and its value matches the option's value.
options() - Method in class com.squareup.wire.schema.EnclosingType
 
options() - Method in class com.squareup.wire.schema.EnumConstant
 
options() - Method in class com.squareup.wire.schema.EnumType
 
options() - Method in class com.squareup.wire.schema.Field
 
options(ImmutableList<OptionElement>) - Method in interface com.squareup.wire.schema.internal.parser.EnumConstantElement.Builder
 
options() - Method in class com.squareup.wire.schema.internal.parser.EnumConstantElement
 
options(ImmutableList<OptionElement>) - Method in interface com.squareup.wire.schema.internal.parser.EnumElement.Builder
 
options() - Method in class com.squareup.wire.schema.internal.parser.EnumElement
 
options(ImmutableList<OptionElement>) - Method in interface com.squareup.wire.schema.internal.parser.FieldElement.Builder
 
options() - Method in class com.squareup.wire.schema.internal.parser.FieldElement
 
options(ImmutableList<OptionElement>) - Method in interface com.squareup.wire.schema.internal.parser.MessageElement.Builder
 
options() - Method in class com.squareup.wire.schema.internal.parser.MessageElement
 
options(Collection<OptionElement>) - Method in interface com.squareup.wire.schema.internal.parser.ProtoFileElement.Builder
 
options() - Method in class com.squareup.wire.schema.internal.parser.ProtoFileElement
 
options(ImmutableList<OptionElement>) - Method in interface com.squareup.wire.schema.internal.parser.RpcElement.Builder
 
options() - Method in class com.squareup.wire.schema.internal.parser.RpcElement
 
options(ImmutableList<OptionElement>) - Method in interface com.squareup.wire.schema.internal.parser.ServiceElement.Builder
 
options() - Method in class com.squareup.wire.schema.internal.parser.ServiceElement
 
options() - Method in interface com.squareup.wire.schema.internal.parser.TypeElement
 
options() - Method in class com.squareup.wire.schema.MessageType
 
Options - Class in com.squareup.wire.schema
A set of options declared on a message declaration, field declaration, enum declaration, enum constant declaration, service declaration, RPC method declaration, or proto file declaration.
Options(ProtoType, List<OptionElement>) - Constructor for class com.squareup.wire.schema.Options
 
options() - Method in class com.squareup.wire.schema.ProtoFile
 
options() - Method in class com.squareup.wire.schema.Rpc
 
options() - Method in class com.squareup.wire.schema.Service
 
options() - Method in class com.squareup.wire.schema.Type
 

P

packageName() - Method in class com.squareup.wire.schema.Field
 
packageName(String) - Method in interface com.squareup.wire.schema.internal.parser.ProtoFileElement.Builder
 
packageName() - Method in class com.squareup.wire.schema.internal.parser.ProtoFileElement
 
packageName() - Method in class com.squareup.wire.schema.ProtoFile
 
parse(Location, String) - Static method in class com.squareup.wire.schema.internal.parser.ProtoParser
Parse a named .proto schema.
path() - Method in class com.squareup.wire.schema.Location
Returns the path to this location relative to Location.base().
protoAdapter(String, boolean) - Method in class com.squareup.wire.schema.Schema
Returns a wire adapter for the message or enum type named typeName.
ProtoFile - Class in com.squareup.wire.schema
 
protoFile(String) - Method in class com.squareup.wire.schema.Schema
Returns the proto file at path, or null if this schema has no such file.
ProtoFile.Syntax - Enum in com.squareup.wire.schema
Syntax version.
ProtoFileElement - Class in com.squareup.wire.schema.internal.parser
A single .proto file.
ProtoFileElement() - Constructor for class com.squareup.wire.schema.internal.parser.ProtoFileElement
 
ProtoFileElement.Builder - Interface in com.squareup.wire.schema.internal.parser
 
protoFiles() - Method in class com.squareup.wire.schema.Schema
 
ProtoMember - Class in com.squareup.wire.schema
Identifies a field, enum or RPC on a declaring type.
ProtoParser - Class in com.squareup.wire.schema.internal.parser
Basic parser for .proto schema declarations.
protos() - Method in class com.squareup.wire.schema.SchemaLoader
Returns a mutable list of the protos that this loader will load.
ProtoType - Class in com.squareup.wire.schema
Names a protocol buffer message, enumerated type, service, map, or a scalar.
prune(IdentifierSet) - Method in class com.squareup.wire.schema.Schema
Returns a copy of this schema that retains only the types and services selected by identifierSet, plus their transitive dependencies.
publicImports(ImmutableList<String>) - Method in interface com.squareup.wire.schema.internal.parser.ProtoFileElement.Builder
 
publicImports() - Method in class com.squareup.wire.schema.internal.parser.ProtoFileElement
 

Q

qualifiedName() - Method in class com.squareup.wire.schema.Field
Returns this field's name, prefixed with its package name.

R

requestStreaming(boolean) - Method in interface com.squareup.wire.schema.internal.parser.RpcElement.Builder
 
requestStreaming() - Method in class com.squareup.wire.schema.internal.parser.RpcElement
 
requestStreaming() - Method in class com.squareup.wire.schema.Rpc
 
requestType(String) - Method in interface com.squareup.wire.schema.internal.parser.RpcElement.Builder
 
requestType() - Method in class com.squareup.wire.schema.internal.parser.RpcElement
 
requestType() - Method in class com.squareup.wire.schema.Rpc
 
ReservedElement - Class in com.squareup.wire.schema.internal.parser
 
ReservedElement() - Constructor for class com.squareup.wire.schema.internal.parser.ReservedElement
 
reserveds(ImmutableList<ReservedElement>) - Method in interface com.squareup.wire.schema.internal.parser.MessageElement.Builder
 
reserveds() - Method in class com.squareup.wire.schema.internal.parser.MessageElement
 
responseStreaming(boolean) - Method in interface com.squareup.wire.schema.internal.parser.RpcElement.Builder
 
responseStreaming() - Method in class com.squareup.wire.schema.internal.parser.RpcElement
 
responseStreaming() - Method in class com.squareup.wire.schema.Rpc
 
responseType(String) - Method in interface com.squareup.wire.schema.internal.parser.RpcElement.Builder
 
responseType() - Method in class com.squareup.wire.schema.internal.parser.RpcElement
 
responseType() - Method in class com.squareup.wire.schema.Rpc
 
Rpc - Class in com.squareup.wire.schema
 
rpc(String) - Method in class com.squareup.wire.schema.Service
Returns the RPC named name, or null if this service has no such method.
RpcElement - Class in com.squareup.wire.schema.internal.parser
 
RpcElement() - Constructor for class com.squareup.wire.schema.internal.parser.RpcElement
 
RpcElement.Builder - Interface in com.squareup.wire.schema.internal.parser
 
rpcs(ImmutableList<RpcElement>) - Method in interface com.squareup.wire.schema.internal.parser.ServiceElement.Builder
 
rpcs() - Method in class com.squareup.wire.schema.internal.parser.ServiceElement
 
rpcs() - Method in class com.squareup.wire.schema.Service
 

S

Schema - Class in com.squareup.wire.schema
A collection of .proto files that describe a set of messages.
SchemaException - Exception in com.squareup.wire.schema
 
SchemaException(List<String>) - Constructor for exception com.squareup.wire.schema.SchemaException
 
SchemaLoader - Class in com.squareup.wire.schema
Load proto files and their transitive dependencies, parse them, and link them together.
SchemaLoader() - Constructor for class com.squareup.wire.schema.SchemaLoader
 
Service - Class in com.squareup.wire.schema
 
SERVICE_OPTIONS - Static variable in class com.squareup.wire.schema.Options
 
ServiceElement - Class in com.squareup.wire.schema.internal.parser
 
ServiceElement() - Constructor for class com.squareup.wire.schema.internal.parser.ServiceElement
 
ServiceElement.Builder - Interface in com.squareup.wire.schema.internal.parser
 
services(ImmutableList<ServiceElement>) - Method in interface com.squareup.wire.schema.internal.parser.ProtoFileElement.Builder
 
services() - Method in class com.squareup.wire.schema.internal.parser.ProtoFileElement
 
services() - Method in class com.squareup.wire.schema.ProtoFile
 
SFIXED32 - Static variable in class com.squareup.wire.schema.ProtoType
 
SFIXED64 - Static variable in class com.squareup.wire.schema.ProtoType
 
simpleName() - Method in class com.squareup.wire.schema.ProtoType
 
SINT32 - Static variable in class com.squareup.wire.schema.ProtoType
 
SINT64 - Static variable in class com.squareup.wire.schema.ProtoType
 
sources() - Method in class com.squareup.wire.schema.SchemaLoader
Returns a mutable list of the sources that this loader will load from.
start() - Method in class com.squareup.wire.schema.internal.parser.ExtensionsElement
 
STRING - Static variable in class com.squareup.wire.schema.ProtoType
 
syntax(ProtoFile.Syntax) - Method in interface com.squareup.wire.schema.internal.parser.ProtoFileElement.Builder
 
syntax() - Method in class com.squareup.wire.schema.internal.parser.ProtoFileElement
 

T

tag() - Method in class com.squareup.wire.schema.EnumConstant
 
tag() - Method in class com.squareup.wire.schema.Field
 
tag(int) - Method in interface com.squareup.wire.schema.internal.parser.EnumConstantElement.Builder
 
tag() - Method in class com.squareup.wire.schema.internal.parser.EnumConstantElement
 
tag(int) - Method in interface com.squareup.wire.schema.internal.parser.FieldElement.Builder
 
tag() - Method in class com.squareup.wire.schema.internal.parser.FieldElement
 
tag(int) - Method in interface com.squareup.wire.schema.internal.parser.GroupElement.Builder
 
tag() - Method in class com.squareup.wire.schema.internal.parser.GroupElement
 
toSchema() - Method in class com.squareup.wire.schema.internal.parser.EnumConstantElement
 
toSchema() - Method in class com.squareup.wire.schema.internal.parser.EnumElement
 
toSchema() - Method in class com.squareup.wire.schema.internal.parser.ExtendElement
 
toSchema() - Method in class com.squareup.wire.schema.internal.parser.ExtensionsElement
 
toSchema() - Method in class com.squareup.wire.schema.internal.parser.FieldElement
 
toSchema() - Method in class com.squareup.wire.schema.internal.parser.GroupElement
 
toSchema() - Method in class com.squareup.wire.schema.internal.parser.MessageElement
 
toSchema() - Method in class com.squareup.wire.schema.internal.parser.OneOfElement
 
toSchema() - Method in class com.squareup.wire.schema.internal.parser.OptionElement
 
toSchema() - Method in class com.squareup.wire.schema.internal.parser.ProtoFileElement
 
toSchema() - Method in class com.squareup.wire.schema.internal.parser.ReservedElement
 
toSchema() - Method in class com.squareup.wire.schema.internal.parser.RpcElement
 
toSchema() - Method in class com.squareup.wire.schema.internal.parser.ServiceElement
 
toSchema() - Method in interface com.squareup.wire.schema.internal.parser.TypeElement
 
toSchemaDeclaration() - Method in class com.squareup.wire.schema.internal.parser.OptionElement
 
toString() - Method in class com.squareup.wire.schema.Field
 
toString() - Method in class com.squareup.wire.schema.Location
 
toString() - Method in enum com.squareup.wire.schema.ProtoFile.Syntax
 
toString() - Method in class com.squareup.wire.schema.ProtoFile
 
toString() - Method in class com.squareup.wire.schema.ProtoMember
 
toString() - Method in class com.squareup.wire.schema.ProtoType
 
type() - Method in class com.squareup.wire.schema.EnclosingType
 
type() - Method in class com.squareup.wire.schema.EnumType
 
type() - Method in class com.squareup.wire.schema.Field
 
type(String) - Method in interface com.squareup.wire.schema.internal.parser.FieldElement.Builder
 
type() - Method in class com.squareup.wire.schema.internal.parser.FieldElement
 
type() - Method in class com.squareup.wire.schema.MessageType
 
type() - Method in class com.squareup.wire.schema.ProtoMember
 
type() - Method in class com.squareup.wire.schema.Service
 
Type - Class in com.squareup.wire.schema
 
Type() - Constructor for class com.squareup.wire.schema.Type
 
type() - Method in class com.squareup.wire.schema.Type
 
TypeElement - Interface in com.squareup.wire.schema.internal.parser
A message type or enum type declaration.
types(ImmutableList<TypeElement>) - Method in interface com.squareup.wire.schema.internal.parser.ProtoFileElement.Builder
 
types() - Method in class com.squareup.wire.schema.internal.parser.ProtoFileElement
 
types() - Method in class com.squareup.wire.schema.ProtoFile
 

U

UINT32 - Static variable in class com.squareup.wire.schema.ProtoType
 
UINT64 - Static variable in class com.squareup.wire.schema.ProtoType
 
unusedExcludes() - Method in class com.squareup.wire.schema.IdentifierSet
 
unusedIncludes() - Method in class com.squareup.wire.schema.IdentifierSet
 
Util - Class in com.squareup.wire.schema.internal
 

V

value() - Method in class com.squareup.wire.schema.internal.parser.OptionElement
 
valueOf(String) - Static method in enum com.squareup.wire.schema.Field.Label
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.squareup.wire.schema.internal.parser.OptionElement.Kind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.squareup.wire.schema.ProtoFile.Syntax
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.squareup.wire.schema.Field.Label
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.squareup.wire.schema.internal.parser.OptionElement.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.squareup.wire.schema.internal.parser.ReservedElement
A String name or Integer or Range<Integer> tag.
values() - Static method in enum com.squareup.wire.schema.ProtoFile.Syntax
Returns an array containing the constants of this enum type, in the order they are declared.
valueType() - Method in class com.squareup.wire.schema.ProtoType
The type of the map's values.

W

withoutBase() - Method in class com.squareup.wire.schema.Location
Returns a copy of this location with an empty base.
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2013–2016 Square, Inc.. All rights reserved.