| Modifier and Type | Required Element and Description |
|---|---|
int |
tag
The tag number used to store the field's value.
|
| Modifier and Type | Optional Element and Description |
|---|---|
Message.Label |
label
The field's protocol buffer label, one of
Message.Label.OPTIONAL,
Message.Label.REQUIRED, Message.Label.REPEATED, or Message.Label.PACKED. |
Message.Datatype |
type
The field's protocol buffer datatype, e.g.,
Datatype#INT32,
Datatype#MESSAGE, or Datatype#ENUM. |
public abstract int tag
public abstract Message.Datatype type
Datatype#INT32,
Datatype#MESSAGE, or Datatype#ENUM. Defaults to
Datatype#MESSAGE.public abstract Message.Label label
Message.Label.OPTIONAL,
Message.Label.REQUIRED, Message.Label.REPEATED, or Message.Label.PACKED.
Defaults to Message.Label.OPTIONAL.Copyright © 2013 Square, Inc.. All Rights Reserved.