Instance Methodswift-protobuf 1.28.1SwiftProtobuf
clearJsonFormat
Clears the value of jsonFormat
. Subsequent reads from it will return its default value.
mutating func clearJsonFormat()
Other members in extension
Types
enum EnumType
enum FieldPresence
enum JsonFormat
enum MessageEncoding
enum RepeatedFieldEncoding
enum Utf8Validation
Type members
init(
) static let protoMessageName: String
static func == (lhs: Google_Protobuf_FeatureSet, rhs: Google_Protobuf_FeatureSet
) -> Bool
Show implementation details (1)
Hide implementation details
Instance members
var enumType: Google_Protobuf_FeatureSet.EnumType
var fieldPresence: Google_Protobuf_FeatureSet.FieldPresence
var hasEnumType: Bool
Returns true if
enumType
has been explicitly set.var hasFieldPresence: Bool
Returns true if
fieldPresence
has been explicitly set.var hasJsonFormat: Bool
Returns true if
jsonFormat
has been explicitly set.var hasMessageEncoding: Bool
Returns true if
messageEncoding
has been explicitly set.var hasRepeatedFieldEncoding: Bool
Returns true if
repeatedFieldEncoding
has been explicitly set.var hasUtf8Validation: Bool
Returns true if
utf8Validation
has been explicitly set.var isInitialized: Bool
var jsonFormat: Google_Protobuf_FeatureSet.JsonFormat
var messageEncoding: Google_Protobuf_FeatureSet.MessageEncoding
var repeatedFieldEncoding: Google_Protobuf_FeatureSet.RepeatedFieldEncoding
var unknownFields: UnknownStorage
var utf8Validation: Google_Protobuf_FeatureSet.Utf8Validation
func clearEnumType(
) Clears the value of
enumType
. Subsequent reads from it will return its default value.func clearFieldPresence(
) Clears the value of
fieldPresence
. Subsequent reads from it will return its default value.func clearMessageEncoding(
) Clears the value of
messageEncoding
. Subsequent reads from it will return its default value.func clearRepeatedFieldEncoding(
) Clears the value of
repeatedFieldEncoding
. Subsequent reads from it will return its default value.func clearUtf8Validation(
) Clears the value of
utf8Validation
. Subsequent reads from it will return its default value.func decodeMessage<D>(decoder: inout D
) throws func traverse<V>(visitor: inout V
) throws