public static final class FieldElement.Builder extends Object
Modifier and Type | Method and Description |
---|---|
FieldElement.Builder |
addOption(OptionElement option) |
FieldElement.Builder |
addOptions(Collection<OptionElement> options) |
FieldElement |
build() |
FieldElement.Builder |
documentation(String documentation) |
FieldElement.Builder |
label(FieldElement.Label label) |
FieldElement.Builder |
name(String name) |
FieldElement.Builder |
tag(int tag) |
FieldElement.Builder |
type(DataType type) |
public FieldElement.Builder label(FieldElement.Label label)
public FieldElement.Builder type(DataType type)
public FieldElement.Builder name(String name)
public FieldElement.Builder tag(int tag)
public FieldElement.Builder documentation(String documentation)
public FieldElement.Builder addOption(OptionElement option)
public FieldElement.Builder addOptions(Collection<OptionElement> options)
public FieldElement build()
Copyright © 2015 Square, Inc.. All Rights Reserved.