GoogleApi.ServiceNetworking.V1.Model.Field (google_api_service_networking v0.40.0)
View SourceA single field of a message type.
Attributes
-
cardinality
(type:String.t
, default:nil
) - The field cardinality. -
defaultValue
(type:String.t
, default:nil
) - The string value of the default value of this field. Proto2 syntax only. -
jsonName
(type:String.t
, default:nil
) - The field JSON name. -
kind
(type:String.t
, default:nil
) - The field type. -
name
(type:String.t
, default:nil
) - The field name. -
number
(type:integer()
, default:nil
) - The field number. -
oneofIndex
(type:integer()
, default:nil
) - The index of the field type inType.oneofs
, for message or enumeration types. The first type has index 1; zero means the type is not in the list. -
options
(type:list(GoogleApi.ServiceNetworking.V1.Model.Option.t)
, default:nil
) - The protocol buffer options. -
packed
(type:boolean()
, default:nil
) - Whether to use alternative packed wire representation. -
typeUrl
(type:String.t
, default:nil
) - The field type URL, without the scheme, for message or enumeration types. Example:"type.googleapis.com/google.protobuf.Timestamp"
.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ServiceNetworking.V1.Model.Field{ cardinality: String.t() | nil, defaultValue: String.t() | nil, jsonName: String.t() | nil, kind: String.t() | nil, name: String.t() | nil, number: integer() | nil, oneofIndex: integer() | nil, options: [GoogleApi.ServiceNetworking.V1.Model.Option.t()] | nil, packed: boolean() | nil, typeUrl: String.t() | nil }