services
The service defintions at the file scope level.
let services: [ServiceDescriptor]
The service defintions at the file scope level.
let services: [ServiceDescriptor]
s26SwiftProtobufPluginLibrary14FileDescriptorC8servicesSayAA07ServiceF0CGvp
What are these?1160H
import SwiftProtobufPluginLibrary
A reusable framework for building protoc
plugins in Swift.
final 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.
final class ServiceDescriptor
Describes an RPC service.
let dependencies: [FileDescriptor]
The imports for this file.
let edition: Google_Protobuf_Edition
The edition of the file.
let enums: [EnumDescriptor]
The enum defintions at the file scope level.
let extensions: [FieldDescriptor]
The extension field defintions at the file scope level.
let features: Google_Protobuf_FeatureSet
The resolved features for this File.
let messages: [Descriptor]
The message defintions at the file scope level.
let name: String
The filename used with protoc.
let options: Google_Protobuf_FileOptions
The Google_Protobuf_FileOptions
set on this file.
let package: String
The proto package.
let publicDependencies: [FileDescriptor]
The subset of the imports that were declared public
.
var sourceCodeInfoLocation: Google_Protobuf_SourceCodeInfo.Location? { get }
let weakDependencies: [FileDescriptor]
The subset of the imports that were declared weak
.
func extractProto(options: ExtractProtoOptions = ExtractProtoOptions()) -> Google_Protobuf_FileDescriptorProto
Extract contents of this descriptor in Proto form.
func sourceCodeInfoLocation(path: IndexPath) -> Google_Protobuf_SourceCodeInfo.Location?
Fetch the source information for a give path. For more details on the paths and what this information is, see Google_Protobuf_SourceCodeInfo
.
var fileOptions: Google_Protobuf_FileOptions { get }
The Google_Protobuf_FileOptions
set on this file.
var isDeprecated: Bool { get }
var proto: Google_Protobuf_FileDescriptorProto { get }
The proto version of the descriptor that defines this File.
var syntax: Syntax { get }
enum Syntax