public interface QueryOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getContentCase()
public abstract Query.ContentCase getContentCase()
Returns | |
---|---|
Type | Description |
Query.ContentCase |
getQueryId()
public abstract String getQueryId()
Unique Id for the query.
string query_id = 1;
Returns | |
---|---|
Type | Description |
String |
The queryId. |
getQueryIdBytes()
public abstract ByteString getQueryIdBytes()
Unique Id for the query.
string query_id = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for queryId. |
getText()
public abstract String getText()
Plain text.
string text = 2;
Returns | |
---|---|
Type | Description |
String |
The text. |
getTextBytes()
public abstract ByteString getTextBytes()
Plain text.
string text = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for text. |
hasText()
public abstract boolean hasText()
Plain text.
string text = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the text field is set. |