struct CodePrinter
Prints code with automatic indentation based on calls to indent
and outdent
.
class Descriptor
Describes a type of protocol message, or a particular group within a message. Descriptor
s are not directly created, instead they are constructed/fetched via the DescriptorSet
or they are directly accessed via a messageType
property on FieldDescriptor
s, etc.
class DescriptorSet
The front interface for building/getting descriptors. The objects vended from the here are different from the raw Google_Protobuf_*Proto
types in that they have all the cross object references resolved or wired up, making for an easier to use object model.
class EnumDescriptor
Describes a type of protocol enum. EnumDescriptor
s are not directly created, instead they are constructed/fetched via the DescriptorSet
or they are directly accessed via a EnumType
property on FieldDescriptor
s, etc.
class EnumValueDescriptor
Describes an individual enum constant of a particular type. To get the EnumValueDescriptor
for a given enum value, first get the EnumDescriptor
for its type.
class FieldDescriptor
Describes a single field of a message. To get the descriptor for a given field, first get the Descriptor
for the message in which it is defined, then find the field. To get a FieldDescriptor
for an extension, get the Descriptor
or FileDescriptor
for its containing scope, find the extension.
class FileDescriptor
Models a .proto file. FileDescriptor
s are not directly created, instead they are constructed/fetched via the DescriptorSet
or they are directly accessed via a file
property on all the other types of descriptors.
struct Google_Protobuf_Compiler_CodeGeneratorRequest
An encoded CodeGeneratorRequest is written to the plugin’s stdin.
struct Google_Protobuf_Compiler_CodeGeneratorResponse
The plugin writes an encoded CodeGeneratorResponse to stdout.
struct Google_Protobuf_Compiler_Version
The version number of protocol compiler.
class MethodDescriptor
Describes an individual service method.
enum NamingUtils
class OneofDescriptor
Describes a oneof defined in a message type.
struct ProtoFileToModuleMappings
Handles the mapping of proto files to the modules they will be compiled into.
class ServiceDescriptor
Describes an RPC service.
enum SwiftProtobufInfo
Helpers about the library.
class SwiftProtobufNamer
struct SwiftProtobuf_GenSwift_ModuleMappings
Configuration used to define the mappings for generated proto files to the Swift module they will be included in.