public interface TextSentimentPredictionInstanceOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getContent()
public abstract String getContent()
The text snippet to make the predictions on.
string content = 1;
Returns | |
---|---|
Type | Description |
String |
The content. |
getContentBytes()
public abstract ByteString getContentBytes()
The text snippet to make the predictions on.
string content = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for content. |
getMimeType()
public abstract String getMimeType()
The MIME type of the text snippet. The supported MIME types are listed below.
- text/plain
string mime_type = 2;
Returns | |
---|---|
Type | Description |
String |
The mimeType. |
getMimeTypeBytes()
public abstract ByteString getMimeTypeBytes()
The MIME type of the text snippet. The supported MIME types are listed below.
- text/plain
string mime_type = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for mimeType. |