View Source GoogleApi.Monitoring.V3.Model.Field (google_api_monitoring v0.55.0)

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.Monitoring.V3.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.Monitoring.V3.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.Monitoring.V3.Model.Option.t()] | nil,
  packed: boolean() | nil,
  typeUrl: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.