FieldArgs

data class FieldArgs(val cardinality: Output<FieldCardinality>? = null, val defaultValue: Output<String>? = null, val jsonName: Output<String>? = null, val kind: Output<FieldKind>? = null, val name: Output<String>? = null, val number: Output<Int>? = null, val oneofIndex: Output<Int>? = null, val options: Output<List<OptionArgs>>? = null, val packed: Output<Boolean>? = null, val typeUrl: Output<String>? = null) : ConvertibleToJava<FieldArgs>

A single field of a message type.

Constructors

Link copied to clipboard
fun FieldArgs(cardinality: Output<FieldCardinality>? = null, defaultValue: Output<String>? = null, jsonName: Output<String>? = null, kind: Output<FieldKind>? = null, name: Output<String>? = null, number: Output<Int>? = null, oneofIndex: Output<Int>? = null, options: Output<List<OptionArgs>>? = null, packed: Output<Boolean>? = null, typeUrl: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): FieldArgs

Properties

Link copied to clipboard
val cardinality: Output<FieldCardinality>? = null

The field cardinality.

Link copied to clipboard
val defaultValue: Output<String>? = null

The string value of the default value of this field. Proto2 syntax only.

Link copied to clipboard
val jsonName: Output<String>? = null

The field JSON name.

Link copied to clipboard
val kind: Output<FieldKind>? = null

The field type.

Link copied to clipboard
val name: Output<String>? = null

The field name.

Link copied to clipboard
val number: Output<Int>? = null

The field number.

Link copied to clipboard
val oneofIndex: Output<Int>? = null

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.

Link copied to clipboard
val options: Output<List<OptionArgs>>? = null

The protocol buffer options.

Link copied to clipboard
val packed: Output<Boolean>? = null

Whether to use alternative packed wire representation.

Link copied to clipboard
val typeUrl: Output<String>? = null

The field type URL, without the scheme, for message or enumeration types. Example: "type.googleapis.com/google.protobuf.Timestamp".