Initializerswift-protobuf 1.28.1SwiftProtobuf
init
empty.pb.swift:67init()
Other members in extension
Type members
static let protoMessageName: String
static func == (lhs: Google_Protobuf_Empty, rhs: Google_Protobuf_Empty
) -> Bool
init()
static let protoMessageName: String
static func == (lhs: Google_Protobuf_Empty, rhs: Google_Protobuf_Empty) -> Bool
Show implementation details (1)
Hide implementation details
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
var unknownFields: UnknownStorage
static func == (lhs: Google_Protobuf_Empty, rhs: Google_Protobuf_Empty) -> Bool
mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder
func traverse<V>(visitor: inout V) throws where V : Visitor