public interface AnswerOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAnswerText()
public abstract String getAnswerText()Contains the text of the answer.
string answer_text = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The answerText. |
getAnswerTextBytes()
public abstract ByteString getAnswerTextBytes()Contains the text of the answer.
string answer_text = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for answerText. |
getCitations(int index)
public abstract Answer.AnswerCitation getCitations(int index)Output only. Contains citations for the answer.
repeated .google.developers.knowledge.v1.Answer.AnswerCitation citations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Answer.AnswerCitation |
|
getCitationsCount()
public abstract int getCitationsCount()Output only. Contains citations for the answer.
repeated .google.developers.knowledge.v1.Answer.AnswerCitation citations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getCitationsList()
public abstract List<Answer.AnswerCitation> getCitationsList()Output only. Contains citations for the answer.
repeated .google.developers.knowledge.v1.Answer.AnswerCitation citations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<AnswerCitation> |
|
getCitationsOrBuilder(int index)
public abstract Answer.AnswerCitationOrBuilder getCitationsOrBuilder(int index)Output only. Contains citations for the answer.
repeated .google.developers.knowledge.v1.Answer.AnswerCitation citations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Answer.AnswerCitationOrBuilder |
|
getCitationsOrBuilderList()
public abstract List<? extends Answer.AnswerCitationOrBuilder> getCitationsOrBuilderList()Output only. Contains citations for the answer.
repeated .google.developers.knowledge.v1.Answer.AnswerCitation citations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.developers.knowledge.v1.Answer.AnswerCitationOrBuilder> |
|
getReferences(int index)
public abstract Answer.AnswerReference getReferences(int index)Output only. Contains references for the answer.
repeated .google.developers.knowledge.v1.Answer.AnswerReference references = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Answer.AnswerReference |
|
getReferencesCount()
public abstract int getReferencesCount()Output only. Contains references for the answer.
repeated .google.developers.knowledge.v1.Answer.AnswerReference references = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getReferencesList()
public abstract List<Answer.AnswerReference> getReferencesList()Output only. Contains references for the answer.
repeated .google.developers.knowledge.v1.Answer.AnswerReference references = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<AnswerReference> |
|
getReferencesOrBuilder(int index)
public abstract Answer.AnswerReferenceOrBuilder getReferencesOrBuilder(int index)Output only. Contains references for the answer.
repeated .google.developers.knowledge.v1.Answer.AnswerReference references = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Answer.AnswerReferenceOrBuilder |
|
getReferencesOrBuilderList()
public abstract List<? extends Answer.AnswerReferenceOrBuilder> getReferencesOrBuilderList()Output only. Contains references for the answer.
repeated .google.developers.knowledge.v1.Answer.AnswerReference references = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.developers.knowledge.v1.Answer.AnswerReferenceOrBuilder> |
|