Field Args
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
constructor(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)
Properties
Link copied to clipboard
The field cardinality.
Link copied to clipboard
The string value of the default value of this field. Proto2 syntax only.
Link copied to clipboard
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
The protocol buffer options.