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