| Modifier and Type | Method and Description |
|---|---|
ThriftDocument._Builder |
ThriftDocument._Builder.addTo(int key,
Object value) |
ThriftDocument._Builder |
ThriftDocument._Builder.addToDecl(Declaration... values)
Adds entries to decl.
|
ThriftDocument._Builder |
ThriftDocument._Builder.addToIncludes(String... values)
Adds entries to includes.
|
static ThriftDocument._Builder |
ThriftDocument.builder()
Make a model.ThriftDocument builder.
|
ThriftDocument._Builder |
ThriftDocument._Builder.clear(int key) |
ThriftDocument._Builder |
ThriftDocument._Builder.clearComment()
Clears the comment field.
|
ThriftDocument._Builder |
ThriftDocument._Builder.clearDecl()
Clears the decl field.
|
ThriftDocument._Builder |
ThriftDocument._Builder.clearIncludes()
Clears the includes field.
|
ThriftDocument._Builder |
ThriftDocument._Builder.clearNamespaces()
Clears the namespaces field.
|
ThriftDocument._Builder |
ThriftDocument._Builder.clearPackage()
Clears the package field.
|
ThriftDocument._Builder |
ThriftDocument.mutate() |
ThriftDocument._Builder |
ThriftDocument._Builder.putInNamespaces(String key,
String value)
Adds a mapping to namespaces.
|
ThriftDocument._Builder |
ThriftDocument._Builder.set(int key,
Object value) |
ThriftDocument._Builder |
ThriftDocument._Builder.setComment(String value)
Sets the value of comment.
|
ThriftDocument._Builder |
ThriftDocument._Builder.setDecl(Collection<Declaration> value)
Sets the value of decl.
|
ThriftDocument._Builder |
ThriftDocument._Builder.setIncludes(Collection<String> value)
Sets the value of includes.
|
ThriftDocument._Builder |
ThriftDocument._Builder.setNamespaces(Map<String,String> value)
Sets the value of namespaces.
|
ThriftDocument._Builder |
ThriftDocument._Builder.setPackage(String value)
Sets the value of package.
|
Copyright © 2016. All rights reserved.