public static class EnumValue._Builder extends PMessageBuilder<EnumValue>
| Constructor and Description |
|---|
_Builder()
Make a model.EnumValue builder.
|
_Builder(EnumValue base)
Make a mutating builder off a base model.EnumValue.
|
| Modifier and Type | Method and Description |
|---|---|
EnumValue._Builder |
addTo(int key,
Object value) |
EnumValue |
build() |
EnumValue._Builder |
clear(int key) |
EnumValue._Builder |
clearAnnotations()
Clears the annotations field.
|
EnumValue._Builder |
clearComment()
Clears the comment field.
|
EnumValue._Builder |
clearName()
Clears the name field.
|
EnumValue._Builder |
clearValue()
Clears the value field.
|
boolean |
isSetAnnotations()
Checks for presence of the annotations field.
|
boolean |
isSetComment()
Checks for presence of the comment field.
|
boolean |
isSetName()
Checks for presence of the name field.
|
boolean |
isSetValue()
Checks for presence of the value field.
|
boolean |
isValid() |
EnumValue._Builder |
putInAnnotations(String key,
String value)
Adds a mapping to annotations.
|
EnumValue._Builder |
set(int key,
Object value) |
EnumValue._Builder |
setAnnotations(Map<String,String> value)
Sets the value of annotations.
|
EnumValue._Builder |
setComment(String value)
Sets the value of comment.
|
EnumValue._Builder |
setName(String value)
Sets the value of name.
|
EnumValue._Builder |
setValue(int value)
Sets the value of value.
|
public _Builder()
public _Builder(EnumValue base)
base - The base EnumValuepublic EnumValue._Builder setComment(String value)
value - The new valuepublic boolean isSetComment()
public EnumValue._Builder clearComment()
public EnumValue._Builder setName(String value)
value - The new valuepublic boolean isSetName()
public EnumValue._Builder clearName()
public EnumValue._Builder setValue(int value)
value - The new valuepublic boolean isSetValue()
public EnumValue._Builder clearValue()
public EnumValue._Builder setAnnotations(Map<String,String> value)
value - The new valuepublic EnumValue._Builder putInAnnotations(String key, String value)
key - The inserted keyvalue - The inserted valuepublic boolean isSetAnnotations()
public EnumValue._Builder clearAnnotations()
public EnumValue._Builder set(int key, Object value)
set in class PMessageBuilder<EnumValue>public EnumValue._Builder addTo(int key, Object value)
addTo in class PMessageBuilder<EnumValue>public EnumValue._Builder clear(int key)
clear in class PMessageBuilder<EnumValue>public boolean isValid()
isValid in class PMessageBuilder<EnumValue>public EnumValue build()
Copyright © 2016. All rights reserved.