public abstract class ElementDocumentationAttribute
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static com.google.inject.Key<ElementDocumentationAttribute> |
KEY
Key used to access this attribute.
|
| Constructor and Description |
|---|
ElementDocumentationAttribute() |
| Modifier and Type | Method and Description |
|---|---|
static ElementDocumentationAttribute |
create(java.lang.String doc)
Create attribute.
|
static ElementDocumentationAttribute |
create(java.lang.String doc,
java.lang.String deprecationDesc) |
abstract java.lang.String |
deprecationDescription()
The deprecation documentation of the proto element, if present.
|
abstract java.lang.String |
documentation()
The processed documentation of the proto element, with documentation directives resolved.
|
public static final com.google.inject.Key<ElementDocumentationAttribute> KEY
public abstract java.lang.String documentation()
DocumentationUtil.getScopedDescription(com.google.api.tools.framework.model.ProtoElement) for that.public abstract java.lang.String deprecationDescription()
public static ElementDocumentationAttribute create(java.lang.String doc)
public static ElementDocumentationAttribute create(java.lang.String doc, java.lang.String deprecationDesc)