@Generated(value="net.morimekta.providence:providence-generator-java", comments="java:serializable") public interface ProgramType_OrBuilder extends net.morimekta.providence.PMessageOrBuilder<ProgramType>
| Modifier and Type | Method and Description |
|---|---|
List<Declaration> |
getDecl()
List of declarations in the program file.
|
String |
getDocumentation()
Program documentation must come before the first statement of the header.
|
Map<String,String> |
getIncludes()
List of included thrift files.
|
Map<String,String> |
getNamespaces()
Map of language to laguage dependent namespace identifier.
|
String |
getProgramName()
The program name, deducted from the .thrift IDL file name.
|
boolean |
hasDecl() |
boolean |
hasDocumentation() |
boolean |
hasIncludes() |
boolean |
hasNamespaces() |
boolean |
hasProgramName() |
int |
numDecl() |
int |
numIncludes() |
int |
numNamespaces() |
Optional<List<Declaration>> |
optionalDecl()
List of declarations in the program file.
|
Optional<String> |
optionalDocumentation()
Program documentation must come before the first statement of the header.
|
Optional<Map<String,String>> |
optionalIncludes()
List of included thrift files.
|
Optional<Map<String,String>> |
optionalNamespaces()
Map of language to laguage dependent namespace identifier.
|
String getDocumentation()
@Nonnull Optional<String> optionalDocumentation()
boolean hasDocumentation()
@Nonnull String getProgramName()
boolean hasProgramName()
Map<String,String> getIncludes()
include "<program>.thrift"
@Nonnull Optional<Map<String,String>> optionalIncludes()
include "<program>.thrift"
boolean hasIncludes()
int numIncludes()
Map<String,String> getNamespaces()
namespace <key> <value>
@Nonnull Optional<Map<String,String>> optionalNamespaces()
namespace <key> <value>
boolean hasNamespaces()
int numNamespaces()
List<Declaration> getDecl()
@Nonnull Optional<List<Declaration>> optionalDecl()
boolean hasDecl()
int numDecl()
Copyright © 2015–2020 morimekta.net. All rights reserved.