Interface ResponseMessage.TextOrBuilder (4.47.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static interface ResponseMessage.TextOrBuilder extends MessageOrBuilder
Methods
getText(int index)
public abstract String getText(int index)
A collection of text responses.
repeated string text = 1;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The text at the given index.
|
getTextBytes(int index)
public abstract ByteString getTextBytes(int index)
A collection of text responses.
repeated string text = 1;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the text at the given index.
|
getTextCount()
public abstract int getTextCount()
A collection of text responses.
repeated string text = 1;
Returns |
---|
Type | Description |
int | The count of text.
|
getTextList()
public abstract List<String> getTextList()
A collection of text responses.
repeated string text = 1;
Returns |
---|
Type | Description |
List<String> | A list containing the text.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-08 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]