A B D E F H I M N O P R S T U V W 
All Classes All Packages

A

addEnumFields(Iterable<? extends Buildable<EnumFieldSpec>>) - Method in class protopoet.EnumSpec.Builder
Adds fields to the enum.
addEnumFields(Buildable<EnumFieldSpec>...) - Method in class protopoet.EnumSpec.Builder
Adds fields to the enum.
addEnumOptions(Iterable<? extends Buildable<OptionSpec>>) - Method in class protopoet.EnumSpec.Builder
Adds options to the enum.
addEnumOptions(Buildable<OptionSpec>...) - Method in class protopoet.EnumSpec.Builder
Adds options to the enum.
addEnums(Iterable<? extends Buildable<EnumSpec>>) - Method in class protopoet.MessageSpec.Builder
Adds enums to the inside of the message, see EnumSpec.
addEnums(Iterable<? extends Buildable<EnumSpec>>) - Method in class protopoet.ProtoFile.Builder
Declares a list of top level eums for the proto file.
addEnums(Buildable<EnumSpec>...) - Method in class protopoet.MessageSpec.Builder
Adds enums to the inside of the message, see EnumSpec.
addEnums(Buildable<EnumSpec>...) - Method in class protopoet.ProtoFile.Builder
Declares a list of top level eums for the proto file.
addExtensionFields(Iterable<? extends Buildable<MessageField>>) - Method in class protopoet.ExtensionSpec.Builder
Adds fields to the extension.
addExtensionFields(Buildable<MessageField>...) - Method in class protopoet.ExtensionSpec.Builder
Adds fields to the extension.
addExtensions(Iterable<? extends Buildable<ExtensionSpec>>) - Method in class protopoet.ProtoFile.Builder
Declares a list of top level extensions for the proto file.
addExtensions(Buildable<ExtensionSpec>...) - Method in class protopoet.ProtoFile.Builder
Declares a list of top level extensions for the proto file.
addFieldOptions(Iterable<? extends Buildable<OptionSpec>>) - Method in class protopoet.EnumFieldSpec.Builder
Adds options to the field.
addFieldOptions(Iterable<? extends Buildable<OptionSpec>>) - Method in class protopoet.MapFieldSpec.Builder
Adds options to the field.
addFieldOptions(Iterable<? extends Buildable<OptionSpec>>) - Method in class protopoet.MessageFieldSpec.Builder
Adds options to the field.
addFieldOptions(Iterable<? extends Buildable<OptionSpec>>) - Method in class protopoet.RpcFieldSpec.Builder
Adds options to the field.
addFieldOptions(Buildable<OptionSpec>...) - Method in class protopoet.EnumFieldSpec.Builder
Adds options to the field.
addFieldOptions(Buildable<OptionSpec>...) - Method in class protopoet.MapFieldSpec.Builder
Adds options to the field.
addFieldOptions(Buildable<OptionSpec>...) - Method in class protopoet.MessageFieldSpec.Builder
Adds options to the field.
addFieldOptions(Buildable<OptionSpec>...) - Method in class protopoet.RpcFieldSpec.Builder
Adds options to the field.
addFileOptions(Iterable<? extends Buildable<OptionSpec>>) - Method in class protopoet.ProtoFile.Builder
Adds options to the file.
addFileOptions(Buildable<OptionSpec>...) - Method in class protopoet.ProtoFile.Builder
Adds options to the file.
addImports(Iterable<? extends Buildable<ImportSpec>>) - Method in class protopoet.ProtoFile.Builder
Declares a list of imports for the proto file.
addImports(Buildable<ImportSpec>...) - Method in class protopoet.ProtoFile.Builder
Declares a list of imports for the proto file.
addMessageFields(Iterable<? extends Buildable<MessageField>>) - Method in class protopoet.MessageSpec.Builder
Adds message fields to the message.
addMessageFields(Iterable<? extends Buildable<MessageField>>) - Method in class protopoet.OneofFieldSpec.Builder
Adds fields to the oneof.
addMessageFields(Buildable<MessageField>...) - Method in class protopoet.MessageSpec.Builder
Adds message field to the message.
addMessageFields(Buildable<MessageField>...) - Method in class protopoet.OneofFieldSpec.Builder
Adds fields to the oneof.
addMessageOptions(Iterable<? extends Buildable<OptionSpec>>) - Method in class protopoet.MessageSpec.Builder
Adds options to the message.
addMessageOptions(Buildable<OptionSpec>...) - Method in class protopoet.MessageSpec.Builder
Adds options to the message.
addMessages(Iterable<? extends Buildable<MessageSpec>>) - Method in class protopoet.MessageSpec.Builder
Adds inner messages to a message.
addMessages(Iterable<? extends Buildable<MessageSpec>>) - Method in class protopoet.ProtoFile.Builder
Declares a list of top level messages for the proto file.
addMessages(Buildable<MessageSpec>...) - Method in class protopoet.MessageSpec.Builder
Adds inner messages to a message.
addMessages(Buildable<MessageSpec>...) - Method in class protopoet.ProtoFile.Builder
Declares a list of top level messages for the proto file.
addOneofOptions(Iterable<? extends Buildable<OptionSpec>>) - Method in class protopoet.OneofFieldSpec.Builder
Adds options to the oneof.
addOneofOptions(Buildable<OptionSpec>...) - Method in class protopoet.OneofFieldSpec.Builder
Adds options to the oneof.
addRanges(Iterable<FieldRange>) - Method in class protopoet.ReservationSpec.Builder
Appends a field number range to the reservation, only valid for field number reservations.
addRanges(FieldRange...) - Method in class protopoet.ReservationSpec.Builder
Appends a field number range to the reservation, only valid for field number reservations.
addReservations(Iterable<? extends Buildable<ReservationSpec>>) - Method in class protopoet.MessageSpec.Builder
Adds field reservations for the message, see ReservationSpec.
addReservations(Iterable<Buildable<ReservationSpec>>) - Method in class protopoet.EnumSpec.Builder
Adds field reservations for the enum, see ReservationSpec.
addReservations(Buildable<ReservationSpec>...) - Method in class protopoet.EnumSpec.Builder
Adds field reservations for the enum, see ReservationSpec.
addReservations(Buildable<ReservationSpec>...) - Method in class protopoet.MessageSpec.Builder
Adds field reservations for the message, see ReservationSpec.
addRpcFields(Iterable<? extends Buildable<RpcFieldSpec>>) - Method in class protopoet.ServiceSpec.Builder
Adds an rpc field to the service, see RpcFieldSpec.
addRpcFields(Buildable<RpcFieldSpec>...) - Method in class protopoet.ServiceSpec.Builder
Adds an rpc field to the service, see RpcFieldSpec.
addServiceOptions(Iterable<? extends Buildable<OptionSpec>>) - Method in class protopoet.ServiceSpec.Builder
Adds options to the service.
addServiceOptions(Buildable<OptionSpec>...) - Method in class protopoet.ServiceSpec.Builder
Adds options to the service.
addServices(Iterable<? extends Buildable<ServiceSpec>>) - Method in class protopoet.ProtoFile.Builder
Declares a list of top level services for the proto file.
addServices(Buildable<ServiceSpec>...) - Method in class protopoet.ProtoFile.Builder
Declares a list of top level services for the proto file.
asFieldNameStream() - Method in class protopoet.ReservationSpec
Returns a stream of distinct field names represented by this reservation.
asFieldNumberStream() - Method in class protopoet.ReservationSpec
Returns a flattened stream of distinct field numbers that are represented by this reservation.

B

BOOL - protopoet.FieldType
 
build() - Method in interface protopoet.Buildable
Returns a built instance of the declared type.
build() - Method in class protopoet.EnumFieldSpec
 
build() - Method in class protopoet.EnumFieldSpec.Builder
Builds a new instance of EnumFieldSpec.
build() - Method in class protopoet.EnumSpec
 
build() - Method in class protopoet.EnumSpec.Builder
Builds a new instance of EnumSpec.
build() - Method in class protopoet.ExtensionSpec
 
build() - Method in class protopoet.ExtensionSpec.Builder
Builds a new instance of ExtensionSpec.
build() - Method in class protopoet.ImportSpec
 
build() - Method in class protopoet.MapFieldSpec
 
build() - Method in class protopoet.MapFieldSpec.Builder
Builds a new instance of MapFieldSpec.
build() - Method in class protopoet.MessageFieldSpec
 
build() - Method in class protopoet.MessageFieldSpec.Builder
Builds a new instance of MessageFieldSpec.
build() - Method in class protopoet.MessageSpec
 
build() - Method in class protopoet.MessageSpec.Builder
Builds a new instance of MessageSpec.
build() - Method in class protopoet.OneofFieldSpec
 
build() - Method in class protopoet.OneofFieldSpec.Builder
Builds a new instance of OneofFieldSpec.
build() - Method in class protopoet.OptionSpec
 
build() - Method in class protopoet.OptionSpec.Builder
Builds a new instance of OptionSpec.
build() - Method in class protopoet.ProtoFile.Builder
Generates an instance of ProtoFile.
build() - Method in class protopoet.ReservationSpec
 
build() - Method in class protopoet.ReservationSpec.Builder
Builds a new instance of ReservationSpec.
build() - Method in class protopoet.RpcFieldSpec
 
build() - Method in class protopoet.RpcFieldSpec.Builder
Builds a new instance of RpcFieldSpec.
build() - Method in class protopoet.ServiceSpec
 
build() - Method in class protopoet.ServiceSpec.Builder
Builds an instance of ServiceSpec.
Buildable<T> - Interface in protopoet
API for defining a type that is buildable by calling build().
builder() - Static method in class protopoet.ProtoFile
Creates a builder for a ProtoFile.
builder(Integer...) - Static method in class protopoet.ReservationSpec
Creates a builder for a ReservationSpec using field numbers.
builder(String) - Static method in class protopoet.EnumSpec
Creates a builder for an EnumSpec.
builder(String) - Static method in class protopoet.MessageSpec
Creates a builder for a MessageSpec
builder(String) - Static method in class protopoet.OneofFieldSpec
Creates a builder for a OneofFieldSpec.
builder(String) - Static method in class protopoet.RpcFieldSpec
Creates a builder for an RpcFieldSpec.
builder(String) - Static method in class protopoet.ServiceSpec
Creates a builder for a ServiceSpec.
builder(String...) - Static method in class protopoet.ReservationSpec
Creates a builder for a ReservationSpec using field names.
builder(String, int) - Static method in class protopoet.EnumFieldSpec
Creates a builder for an EnumFieldSpec.
builder(FieldType, String, int) - Static method in class protopoet.MessageFieldSpec
Creates a builder for a MessageFieldSpec.
builder(FieldType, FieldType, String, int) - Static method in class protopoet.MapFieldSpec
Creates a builder for an MapFieldSpec.
builder(OptionType) - Static method in class protopoet.ExtensionSpec
Only building custom options is supported with ExtensionSpec.
BYTES - protopoet.FieldType
 

D

DOUBLE - protopoet.FieldType
 

E

emit(ProtoWriter) - Method in class protopoet.EnumFieldSpec
 
emit(ProtoWriter) - Method in class protopoet.EnumSpec
 
emit(ProtoWriter) - Method in class protopoet.ExtensionSpec
 
emit(ProtoWriter) - Method in class protopoet.ImportSpec
 
emit(ProtoWriter) - Method in class protopoet.MapFieldSpec
 
emit(ProtoWriter) - Method in class protopoet.MessageFieldSpec
 
emit(ProtoWriter) - Method in class protopoet.MessageSpec
 
emit(ProtoWriter) - Method in class protopoet.OneofFieldSpec
 
emit(ProtoWriter) - Method in class protopoet.OptionSpec
 
emit(ProtoWriter) - Method in class protopoet.ProtoFile
 
emit(ProtoWriter) - Method in class protopoet.ReservationSpec
 
emit(ProtoWriter) - Method in class protopoet.RpcFieldSpec
 
emit(ProtoWriter) - Method in class protopoet.ServiceSpec
 
ENUM - protopoet.FieldType
 
EnumFieldSpec - Class in protopoet
Defines a field for use with EnumSpec.
EnumFieldSpec.Builder - Class in protopoet
Builder for a EnumFieldSpec.
enumOption(String) - Static method in class protopoet.OptionSpec
Creates a builder for a Enum OptionSpec.
EnumSpec - Class in protopoet
Defines an enum type for the Protocol Buffer language.
EnumSpec.Builder - Class in protopoet
Builder for an EnumSpec.
enumValueOption(String) - Static method in class protopoet.OptionSpec
Creates a builder for a Enum Value OptionSpec.
equals(Object) - Method in class protopoet.ImportSpec
 
equals(Object) - Method in class protopoet.ProtoFile
 
ExtensionSpec - Class in protopoet
Models an Extension using proto3 syntax.
ExtensionSpec.Builder - Class in protopoet
Builds a new instance of ExtensionSpec.

F

fieldName() - Method in class protopoet.EnumFieldSpec
 
fieldName() - Method in class protopoet.FieldValue
 
fieldName() - Method in class protopoet.MapFieldSpec
 
fieldName() - Method in interface protopoet.MessageField
Provides the defined name for a message field.
fieldName() - Method in class protopoet.MessageFieldSpec
 
fieldName() - Method in class protopoet.OneofFieldSpec
 
fieldName() - Method in class protopoet.RpcFieldSpec
 
fieldNumber() - Method in class protopoet.EnumFieldSpec
 
fieldNumber() - Method in class protopoet.MapFieldSpec
 
fieldNumber() - Method in class protopoet.MessageFieldSpec
 
fieldNumber() - Method in class protopoet.RpcFieldSpec
 
fieldOption(String) - Static method in class protopoet.OptionSpec
Creates a builder for a Field OptionSpec.
FieldRange - Class in protopoet
Represents a range of field numbers.
fields() - Method in class protopoet.OneofFieldSpec
 
FieldType - Enum in protopoet
All standard scalar types a field may represent.
FieldValue - Class in protopoet
Represents a valid protobuf value that may be assigned to a field.
fileOption(String) - Static method in class protopoet.OptionSpec
Creates a builder for a File OptionSpec.
FIXED32 - protopoet.FieldType
 
FIXED64 - protopoet.FieldType
 
FLOAT - protopoet.FieldType
 
formattedValue() - Method in class protopoet.FieldValue
 

H

hashCode() - Method in class protopoet.ImportSpec
 
hashCode() - Method in class protopoet.ProtoFile
 

I

imports() - Method in class protopoet.ExtensionSpec
 
ImportSpec - Class in protopoet
Implements spec for the import statement of the Protocol Buffer language.
ImportSpec.Modifier - Enum in protopoet
Defines import modifiers for use with an ImportSpec.
inferFrom(Object) - Static method in enum protopoet.FieldType
Attempts to guess at the FieldType based on the provided value.
INT32 - protopoet.FieldType
 
INT64 - protopoet.FieldType
 

M

MapFieldSpec - Class in protopoet
Defines a map field for use with MessageSpec.
MapFieldSpec.Builder - Class in protopoet
Builder for a MapFieldSpec.
message(String, String, int) - Static method in class protopoet.MessageFieldSpec
Shortcut builder for a message-typed MessageFieldSpec.
MESSAGE - protopoet.FieldType
 
MessageField - Interface in protopoet
Message fields are unique because they can be standard fields, oneof fields, or maps.
MessageFieldSpec - Class in protopoet
Defines a field for use with MessageSpec.
MessageFieldSpec.Builder - Class in protopoet
Builder for a MessageFieldSpec.
messageOption(String) - Static method in class protopoet.OptionSpec
Creates a builder for a Message OptionSpec.
MessageSpec - Class in protopoet
Defines a message in the Protocol Buffer language.
MessageSpec.Builder - Class in protopoet
Builder for a MessageSpec.
methodOption(String) - Static method in class protopoet.OptionSpec
Creates a builder for a Method OptionSpec.

N

name() - Method in class protopoet.EnumSpec
 
name() - Method in class protopoet.ExtensionSpec
 
name() - Method in class protopoet.MessageSpec
 
name() - Method in class protopoet.ServiceSpec
 
NONE - protopoet.ImportSpec.Modifier
 

O

of(int, int) - Static method in class protopoet.FieldRange
Returns an immutable instance of a FieldRange.
of(String) - Static method in class protopoet.ImportSpec
Creates a builder for an ImportSpec.
of(String, FieldType, boolean) - Static method in class protopoet.FieldValue
 
of(String, FieldType, double) - Static method in class protopoet.FieldValue
Returns a FieldValue for a double value.
of(String, FieldType, float) - Static method in class protopoet.FieldValue
Returns a FieldValue for a float value.
of(String, FieldType, int) - Static method in class protopoet.FieldValue
Returns a FieldValue for an integer value.
of(String, FieldType, long) - Static method in class protopoet.FieldValue
Returns a FieldValue for a long value.
of(String, FieldType, String) - Static method in class protopoet.FieldValue
Returns a FieldValue for a float value.
of(ImportSpec.Modifier, String) - Static method in class protopoet.ImportSpec
Creates a builder for an ImportSpec.
OneofFieldSpec - Class in protopoet
Defines a oneof field for use with any type that implements MessageField.
OneofFieldSpec.Builder - Class in protopoet
Builder for a OneofFieldSpec.
oneofOption(String) - Static method in class protopoet.OptionSpec
Creates a builder for a Oneof OptionSpec.
optional(FieldType, String, int) - Static method in class protopoet.MessageFieldSpec
Shortcut builder for an optional MessageFieldSpec.
OptionSpec - Class in protopoet
Models an Option in the Protocol Buffers language.
OptionSpec.Builder - Class in protopoet
Builder for producing new instances of OptionSpec.

P

ProtoFile - Class in protopoet
Models a Proto file using proto3 syntax.
ProtoFile.Builder - Class in protopoet
Builder for producing new instances of ProtoFile.
protopoet - package protopoet
 
PUBLIC - protopoet.ImportSpec.Modifier
 

R

repeated(FieldType, String, int) - Static method in class protopoet.MessageFieldSpec
Shortcut builder for a repeated MessageFieldSpec.
ReservationSpec - Class in protopoet
Models the concept of a Reservation in Protocol Buffers API.
ReservationSpec.Builder - Class in protopoet
Builder for producing new instances of ReservationSpec.
RpcFieldSpec - Class in protopoet
Defines an RPC field for use with ServiceSpec.
RpcFieldSpec.Builder - Class in protopoet
Builder for producing new instances of RpcFieldSpec.

S

serviceOption(String) - Static method in class protopoet.OptionSpec
Creates a builder for a Service OptionSpec.
ServiceSpec - Class in protopoet
Defines a Service in the Protocol Buffer language.
ServiceSpec.Builder - Class in protopoet
Builder for producing new instances of ServiceSpec.
setCustomTypeName(String) - Method in class protopoet.MapFieldSpec.Builder
Declares a custom type name.
setCustomTypeName(String) - Method in class protopoet.MessageFieldSpec.Builder
Declares a custom type name.
setEnumComment(Iterable<String>) - Method in class protopoet.EnumSpec.Builder
Declares a top-level comment for the enum.
setEnumComment(String...) - Method in class protopoet.EnumSpec.Builder
Declares a top-level comment for the enum.
setExtensionComment(Iterable<String>) - Method in class protopoet.ExtensionSpec.Builder
Declares a top-level comment for the extension.
setExtensionComment(String...) - Method in class protopoet.ExtensionSpec.Builder
Declares a top-level comment for the extension.
setFieldComment(Iterable<String>) - Method in class protopoet.EnumFieldSpec.Builder
Declares a comment for the field.
setFieldComment(Iterable<String>) - Method in class protopoet.MapFieldSpec.Builder
Declares a comment for the field.
setFieldComment(Iterable<String>) - Method in class protopoet.MessageFieldSpec.Builder
Declares a comment for the field.
setFieldComment(Iterable<String>) - Method in class protopoet.OneofFieldSpec.Builder
Declares a top-level comment for the field.
setFieldComment(Iterable<String>) - Method in class protopoet.RpcFieldSpec.Builder
Declares a comment for the field.
setFieldComment(String...) - Method in class protopoet.EnumFieldSpec.Builder
Declares a comment for the field.
setFieldComment(String...) - Method in class protopoet.MapFieldSpec.Builder
Declares a comment for the field.
setFieldComment(String...) - Method in class protopoet.MessageFieldSpec.Builder
Declares a comment for the field.
setFieldComment(String...) - Method in class protopoet.OneofFieldSpec.Builder
Declares a top-level comment for the field.
setFieldComment(String...) - Method in class protopoet.RpcFieldSpec.Builder
Declares a comment for the field.
setFileComment(Iterable<String>) - Method in class protopoet.ProtoFile.Builder
Declares a top-level file comment for the proto file.
setFileComment(String...) - Method in class protopoet.ProtoFile.Builder
Declares a top-level file comment for the proto file.
setMessageComment(Iterable<String>) - Method in class protopoet.MessageSpec.Builder
Declares a comment for the message.
setMessageComment(String...) - Method in class protopoet.MessageSpec.Builder
Declares a comment for the message.
setOptional(boolean) - Method in class protopoet.MessageFieldSpec.Builder
Designates whether or not a field should track explicit presence.
setOptionComment(Iterable<String>) - Method in class protopoet.OptionSpec.Builder
Declares a top-level comment for the option.
setOptionComment(String...) - Method in class protopoet.OptionSpec.Builder
Declares a top-level comment for the option.
setPackageName(String) - Method in class protopoet.ProtoFile.Builder
Declares a package name for the proto file.
setRepeated(boolean) - Method in class protopoet.MessageFieldSpec.Builder
Designates whether or not a field should be identified as repeatable.
setRequestMessageName(String) - Method in class protopoet.RpcFieldSpec.Builder
Declares the message name for the request part of the field.
setRequestMessageName(String, boolean) - Method in class protopoet.RpcFieldSpec.Builder
Declares the message name for the request part of the field and signals if this part of the rpc is streaming.
setReservationComment(Iterable<String>) - Method in class protopoet.ReservationSpec.Builder
Declares a comment above the reservation.
setReservationComment(String...) - Method in class protopoet.ReservationSpec.Builder
Declares a comment above the reservation.
setResponseMessageName(String) - Method in class protopoet.RpcFieldSpec.Builder
Declares the message name for the response part of the field.
setResponseMessageName(String, boolean) - Method in class protopoet.RpcFieldSpec.Builder
Declares the message name for the response part of the field and signals if this part of the rpc is streaming.
setServiceComment(Iterable<String>) - Method in class protopoet.ServiceSpec.Builder
Declares a comment for the service.
setServiceComment(String...) - Method in class protopoet.ServiceSpec.Builder
Declares a comment for the service.
setValue(Object) - Method in class protopoet.OptionSpec.Builder
Sets value and infers the field type based on passed in value.
setValue(FieldType, boolean) - Method in class protopoet.OptionSpec.Builder
Sets a boolean value.
setValue(FieldType, double) - Method in class protopoet.OptionSpec.Builder
Sets a double-based value.
setValue(FieldType, float) - Method in class protopoet.OptionSpec.Builder
Sets a float-based value.
setValue(FieldType, int) - Method in class protopoet.OptionSpec.Builder
Sets an integer-based value (eg: int32, uint32, fixed32, sfixed32).
setValue(FieldType, long) - Method in class protopoet.OptionSpec.Builder
Sets a long-based value (eg: int64, uint64, fixed64, sfixed64).
setValue(FieldType, Iterable<FieldValue>) - Method in class protopoet.OptionSpec.Builder
 
setValue(FieldType, String) - Method in class protopoet.OptionSpec.Builder
Sets a string-like value.
setValue(FieldType, FieldValue...) - Method in class protopoet.OptionSpec.Builder
 
SFIXED32 - protopoet.FieldType
 
SFIXED64 - protopoet.FieldType
 
SINT32 - protopoet.FieldType
 
SINT64 - protopoet.FieldType
 
STRING - protopoet.FieldType
 

T

toString() - Method in class protopoet.FieldRange
 
toString() - Method in enum protopoet.FieldType
 
toString() - Method in class protopoet.ProtoFile
 

U

UINT32 - protopoet.FieldType
 
UINT64 - protopoet.FieldType
 

V

valueOf(String) - Static method in enum protopoet.FieldType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum protopoet.ImportSpec.Modifier
Returns the enum constant of this type with the specified name.
values() - Static method in enum protopoet.FieldType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum protopoet.ImportSpec.Modifier
Returns an array containing the constants of this enum type, in the order they are declared.
valueType() - Method in class protopoet.FieldValue
 

W

WEAK - protopoet.ImportSpec.Modifier
 
writeTo(Appendable) - Method in class protopoet.ProtoFile
Writes the file contents to the provided Appendable.
A B D E F H I M N O P R S T U V W 
All Classes All Packages