public static interface AlertPolicy.DocumentationOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContent()
public abstract String getContent() The text of the documentation, interpreted according to mime_type.
The content may not exceed 8,192 Unicode characters and may not exceed
more than 10,240 bytes when encoded in UTF-8 format, whichever is
smaller. This text can be templatized by using
variables.
string content = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The content. |
getContentBytes()
public abstract ByteString getContentBytes() The text of the documentation, interpreted according to mime_type.
The content may not exceed 8,192 Unicode characters and may not exceed
more than 10,240 bytes when encoded in UTF-8 format, whichever is
smaller. This text can be templatized by using
variables.
string content = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for content. |
getMimeType()
public abstract String getMimeType() The format of the content field. Presently, only the value
"text/markdown" is supported. See
Markdown for more information.
string mime_type = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The mimeType. |
getMimeTypeBytes()
public abstract ByteString getMimeTypeBytes() The format of the content field. Presently, only the value
"text/markdown" is supported. See
Markdown for more information.
string mime_type = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mimeType. |