Package net.morimekta.providence.model
Interface Declaration_OrBuilder
-
- All Superinterfaces:
net.morimekta.providence.PMessageOrBuilder<Declaration>,net.morimekta.providence.PValue<Declaration>
- All Known Implementing Classes:
Declaration,Declaration._Builder
@Generated(value="net.morimekta.providence:providence-generator-java", comments="java:serializable") public interface Declaration_OrBuilder extends net.morimekta.providence.PMessageOrBuilder<Declaration>( <enum> | <typedef> | <struct> | <service> | <const> )
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConstTypegetDeclConst()EnumTypegetDeclEnum()MessageTypegetDeclMessage()ServiceTypegetDeclService()TypedefTypegetDeclTypedef()booleanhasDeclConst()booleanhasDeclEnum()booleanhasDeclMessage()booleanhasDeclService()booleanhasDeclTypedef()java.util.Optional<ConstType>optionalDeclConst()java.util.Optional<EnumType>optionalDeclEnum()java.util.Optional<MessageType>optionalDeclMessage()java.util.Optional<ServiceType>optionalDeclService()java.util.Optional<TypedefType>optionalDeclTypedef()
-
-
-
Method Detail
-
getDeclEnum
EnumType getDeclEnum()
- Returns:
- The decl_enum value.
-
optionalDeclEnum
@Nonnull java.util.Optional<EnumType> optionalDeclEnum()
- Returns:
- Optional decl_enum value.
-
hasDeclEnum
boolean hasDeclEnum()
- Returns:
- If decl_enum is present.
-
getDeclTypedef
TypedefType getDeclTypedef()
- Returns:
- The decl_typedef value.
-
optionalDeclTypedef
@Nonnull java.util.Optional<TypedefType> optionalDeclTypedef()
- Returns:
- Optional decl_typedef value.
-
hasDeclTypedef
boolean hasDeclTypedef()
- Returns:
- If decl_typedef is present.
-
getDeclMessage
MessageType getDeclMessage()
- Returns:
- The decl_message value.
-
optionalDeclMessage
@Nonnull java.util.Optional<MessageType> optionalDeclMessage()
- Returns:
- Optional decl_message value.
-
hasDeclMessage
boolean hasDeclMessage()
- Returns:
- If decl_message is present.
-
getDeclService
ServiceType getDeclService()
- Returns:
- The decl_service value.
-
optionalDeclService
@Nonnull java.util.Optional<ServiceType> optionalDeclService()
- Returns:
- Optional decl_service value.
-
hasDeclService
boolean hasDeclService()
- Returns:
- If decl_service is present.
-
getDeclConst
ConstType getDeclConst()
- Returns:
- The decl_const value.
-
optionalDeclConst
@Nonnull java.util.Optional<ConstType> optionalDeclConst()
- Returns:
- Optional decl_const value.
-
hasDeclConst
boolean hasDeclConst()
- Returns:
- If decl_const is present.
-
-