Skip navigation links
A C E F G H I M O P S T U V 

A

allowAlias() - Method in class com.squareup.protoparser.EnumType
True if allowing multiple values to have the same tag.

C

com.squareup.protoparser - package com.squareup.protoparser
 

E

EnumType - Class in com.squareup.protoparser
An enumerated type declaration.
EnumType(String, String, String, List<Option>, List<EnumType.Value>) - Constructor for class com.squareup.protoparser.EnumType
 
EnumType.Value - Class in com.squareup.protoparser
An enum constant.
equals(Object) - Method in class com.squareup.protoparser.EnumType
 
equals(Object) - Method in class com.squareup.protoparser.EnumType.Value
 
equals(Object) - Method in class com.squareup.protoparser.ExtendDeclaration
 
equals(Object) - Method in class com.squareup.protoparser.Extensions
 
equals(Object) - Method in class com.squareup.protoparser.MessageType
 
equals(Object) - Method in class com.squareup.protoparser.MessageType.Field
 
equals(Object) - Method in class com.squareup.protoparser.Option
 
equals(Object) - Method in class com.squareup.protoparser.ProtoFile
 
equals(Object) - Method in class com.squareup.protoparser.Service
 
equals(Object) - Method in class com.squareup.protoparser.Service.Method
 
ExtendDeclaration - Class in com.squareup.protoparser
 
ExtendDeclaration(String, String, String, List<MessageType.Field>) - Constructor for class com.squareup.protoparser.ExtendDeclaration
 
Extensions - Class in com.squareup.protoparser
 
Extensions(String, int, int) - Constructor for class com.squareup.protoparser.Extensions
 

F

Field(MessageType.Label, String, String, int, String, List<Option>) - Constructor for class com.squareup.protoparser.MessageType.Field
 
findByName(List<Option>, String) - Static method in class com.squareup.protoparser.Option
Return the option with the specified name from the supplied list or null.

G

getDefault() - Method in class com.squareup.protoparser.MessageType.Field
Returns the default option value or null.
getDependencies() - Method in class com.squareup.protoparser.ProtoFile
 
getDocumentation() - Method in class com.squareup.protoparser.EnumType
 
getDocumentation() - Method in class com.squareup.protoparser.EnumType.Value
 
getDocumentation() - Method in class com.squareup.protoparser.ExtendDeclaration
 
getDocumentation() - Method in class com.squareup.protoparser.Extensions
 
getDocumentation() - Method in class com.squareup.protoparser.MessageType.Field
 
getDocumentation() - Method in class com.squareup.protoparser.MessageType
 
getDocumentation() - Method in class com.squareup.protoparser.Service
 
getDocumentation() - Method in class com.squareup.protoparser.Service.Method
 
getDocumentation() - Method in interface com.squareup.protoparser.Type
 
getEnd() - Method in class com.squareup.protoparser.Extensions
 
getExtendDeclarations() - Method in class com.squareup.protoparser.ProtoFile
 
getExtensions() - Method in class com.squareup.protoparser.MessageType
 
getFields() - Method in class com.squareup.protoparser.ExtendDeclaration
 
getFields() - Method in class com.squareup.protoparser.MessageType
 
getFileName() - Method in class com.squareup.protoparser.ProtoFile
 
getFullyQualifiedName() - Method in class com.squareup.protoparser.EnumType
 
getFullyQualifiedName() - Method in class com.squareup.protoparser.ExtendDeclaration
 
getFullyQualifiedName() - Method in class com.squareup.protoparser.MessageType
 
getFullyQualifiedName() - Method in class com.squareup.protoparser.Service
 
getFullyQualifiedName() - Method in interface com.squareup.protoparser.Type
 
getLabel() - Method in class com.squareup.protoparser.MessageType.Field
 
getMethods() - Method in class com.squareup.protoparser.Service
 
getName() - Method in class com.squareup.protoparser.EnumType
 
getName() - Method in class com.squareup.protoparser.EnumType.Value
 
getName() - Method in class com.squareup.protoparser.ExtendDeclaration
 
getName() - Method in class com.squareup.protoparser.MessageType.Field
 
getName() - Method in class com.squareup.protoparser.MessageType
 
getName() - Method in class com.squareup.protoparser.Option
 
getName() - Method in class com.squareup.protoparser.Service
 
getName() - Method in class com.squareup.protoparser.Service.Method
 
getName() - Method in interface com.squareup.protoparser.Type
 
getNestedTypes() - Method in class com.squareup.protoparser.EnumType
 
getNestedTypes() - Method in class com.squareup.protoparser.MessageType
 
getNestedTypes() - Method in interface com.squareup.protoparser.Type
 
getOptions() - Method in class com.squareup.protoparser.EnumType
 
getOptions() - Method in class com.squareup.protoparser.EnumType.Value
 
getOptions() - Method in class com.squareup.protoparser.MessageType.Field
 
getOptions() - Method in class com.squareup.protoparser.MessageType
 
getOptions() - Method in class com.squareup.protoparser.ProtoFile
 
getOptions() - Method in class com.squareup.protoparser.Service
 
getOptions() - Method in class com.squareup.protoparser.Service.Method
 
getOptions() - Method in interface com.squareup.protoparser.Type
 
getPackageName() - Method in class com.squareup.protoparser.ProtoFile
 
getPublicDependencies() - Method in class com.squareup.protoparser.ProtoFile
 
getRequestType() - Method in class com.squareup.protoparser.Service.Method
 
getResponseType() - Method in class com.squareup.protoparser.Service.Method
 
getServices() - Method in class com.squareup.protoparser.ProtoFile
 
getStart() - Method in class com.squareup.protoparser.Extensions
 
getTag() - Method in class com.squareup.protoparser.EnumType.Value
 
getTag() - Method in class com.squareup.protoparser.MessageType.Field
 
getType() - Method in class com.squareup.protoparser.MessageType.Field
Returns the type of this field.
getTypes() - Method in class com.squareup.protoparser.ProtoFile
 
getValue() - Method in class com.squareup.protoparser.Option
 
getValues() - Method in class com.squareup.protoparser.EnumType
 

H

hashCode() - Method in class com.squareup.protoparser.EnumType
 
hashCode() - Method in class com.squareup.protoparser.EnumType.Value
 
hashCode() - Method in class com.squareup.protoparser.ExtendDeclaration
 
hashCode() - Method in class com.squareup.protoparser.Extensions
 
hashCode() - Method in class com.squareup.protoparser.MessageType.Field
 
hashCode() - Method in class com.squareup.protoparser.MessageType
 
hashCode() - Method in class com.squareup.protoparser.Option
 
hashCode() - Method in class com.squareup.protoparser.ProtoFile
 
hashCode() - Method in class com.squareup.protoparser.Service
 
hashCode() - Method in class com.squareup.protoparser.Service.Method
 

I

isDeprecated() - Method in class com.squareup.protoparser.MessageType.Field
Returns true when the deprecated option is present and set to true.
isPacked() - Method in class com.squareup.protoparser.MessageType.Field
Returns true when the packed option is present and set to true.
isScalarType(String) - Static method in class com.squareup.protoparser.ScalarTypes
Returns true if the supplied type is scalar.
isValidTag(int) - Static method in class com.squareup.protoparser.ProtoFile
True if the supplied value is in the valid tag range and not reserved.

M

MAX_TAG_VALUE - Static variable in class com.squareup.protoparser.ProtoFile
 
MessageType - Class in com.squareup.protoparser
 
MessageType(String, String, String, List<MessageType.Field>, List<Type>, List<Extensions>, List<Option>) - Constructor for class com.squareup.protoparser.MessageType
 
MessageType.Field - Class in com.squareup.protoparser
 
MessageType.Label - Enum in com.squareup.protoparser
 
Method(String, String, String, String, List<Option>) - Constructor for class com.squareup.protoparser.Service.Method
 
MIN_TAG_VALUE - Static variable in class com.squareup.protoparser.ProtoFile
 

O

Option - Class in com.squareup.protoparser
 
Option(String, Object) - Constructor for class com.squareup.protoparser.Option
 
Option(String, Object, boolean) - Constructor for class com.squareup.protoparser.Option
 
optionsAsMap(List<Option>) - Static method in class com.squareup.protoparser.Option
 

P

parse(File) - Static method in class com.squareup.protoparser.ProtoSchemaParser
Parse a .proto definition file.
parse(String, Reader) - Static method in class com.squareup.protoparser.ProtoSchemaParser
Parse a named .proto schema.
parse(String, String) - Static method in class com.squareup.protoparser.ProtoSchemaParser
Parse a named .proto schema.
parseUtf8(String, InputStream) - Static method in class com.squareup.protoparser.ProtoSchemaParser
Parse a named .proto schema.
ProtoFile - Class in com.squareup.protoparser
A single .proto file.
ProtoFile(String, String, List<String>, List<String>, List<Type>, List<Service>, List<Option>, List<ExtendDeclaration>) - Constructor for class com.squareup.protoparser.ProtoFile
 
ProtoSchemaParser - Class in com.squareup.protoparser
Basic parser for .proto schema declarations.

S

ScalarTypes - Class in com.squareup.protoparser
Utilities for dealing with scalar types.
Service - Class in com.squareup.protoparser
 
Service(String, String, String, List<Option>, List<Service.Method>) - Constructor for class com.squareup.protoparser.Service
 
Service.Method - Class in com.squareup.protoparser
 

T

toDeclaration() - Method in class com.squareup.protoparser.Option
 
toString() - Method in class com.squareup.protoparser.EnumType
 
toString() - Method in class com.squareup.protoparser.EnumType.Value
 
toString() - Method in class com.squareup.protoparser.ExtendDeclaration
 
toString() - Method in class com.squareup.protoparser.Extensions
 
toString() - Method in class com.squareup.protoparser.MessageType.Field
 
toString() - Method in class com.squareup.protoparser.MessageType
 
toString() - Method in class com.squareup.protoparser.Option
 
toString() - Method in class com.squareup.protoparser.ProtoFile
 
toString() - Method in class com.squareup.protoparser.Service.Method
 
toString() - Method in class com.squareup.protoparser.Service
 
Type - Interface in com.squareup.protoparser
A message type or enum type declaration.
TYPE_BOOL - Static variable in class com.squareup.protoparser.ScalarTypes
 
TYPE_BYTES - Static variable in class com.squareup.protoparser.ScalarTypes
 
TYPE_DOUBLE - Static variable in class com.squareup.protoparser.ScalarTypes
 
TYPE_FIXED_32 - Static variable in class com.squareup.protoparser.ScalarTypes
 
TYPE_FIXED_64 - Static variable in class com.squareup.protoparser.ScalarTypes
 
TYPE_FLOAT - Static variable in class com.squareup.protoparser.ScalarTypes
 
TYPE_INT_32 - Static variable in class com.squareup.protoparser.ScalarTypes
 
TYPE_INT_64 - Static variable in class com.squareup.protoparser.ScalarTypes
 
TYPE_SFIXED_32 - Static variable in class com.squareup.protoparser.ScalarTypes
 
TYPE_SFIXED_64 - Static variable in class com.squareup.protoparser.ScalarTypes
 
TYPE_SINT_32 - Static variable in class com.squareup.protoparser.ScalarTypes
 
TYPE_SINT_64 - Static variable in class com.squareup.protoparser.ScalarTypes
 
TYPE_STRING - Static variable in class com.squareup.protoparser.ScalarTypes
 
TYPE_UINT_32 - Static variable in class com.squareup.protoparser.ScalarTypes
 
TYPE_UINT_64 - Static variable in class com.squareup.protoparser.ScalarTypes
 

U

UNKNOWN_TAG - Static variable in class com.squareup.protoparser.EnumType.Value
 

V

Value(String, int, String, List<Option>) - Constructor for class com.squareup.protoparser.EnumType.Value
 
valueOf(String) - Static method in enum com.squareup.protoparser.MessageType.Label
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.squareup.protoparser.MessageType.Label
Returns an array containing the constants of this enum type, in the order they are declared.
A C E F G H I M O P S T U V 
Skip navigation links

Copyright © 2023 Square, Inc.. All rights reserved.