GoogleApi.ServiceConsumerManagement.V1.Model.Field (google_api_service_consumer_management v0.26.1) View Source

A 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 in Type.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.ServiceConsumerManagement.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".

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.ServiceConsumerManagement.V1.Model.Field{
  cardinality: String.t(),
  defaultValue: String.t(),
  jsonName: String.t(),
  kind: String.t(),
  name: String.t(),
  number: integer(),
  oneofIndex: integer(),
  options: [GoogleApi.ServiceConsumerManagement.V1.Model.Option.t()],
  packed: boolean(),
  typeUrl: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.