public interface PUnion<Union extends PUnion<Union,Field>,Field extends PField> extends PMessage<Union,Field>
Modifier and Type | Method and Description |
---|---|
Field |
unionField()
The user should be able to assume that this value never is null.
|
boolean |
unionFieldIsSet() |
asString, descriptor, get, get, has, has, mergeWith, mutate
compareTo
boolean unionFieldIsSet()
unionField()
will not throw an exception.@Nonnull Field unionField()
IllegalStateException
- If no field is set.Copyright © 2015–2018 morimekta.net. All rights reserved.