public final class SearchKnowledgeResponse extends GeneratedMessageV3 implements SearchKnowledgeResponseOrBuilder
The response message for
Conversations.SearchKnowledge.
Protobuf type google.cloud.dialogflow.v2beta1.SearchKnowledgeResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
ANSWERS_FIELD_NUMBER
public static final int ANSWERS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SearchKnowledgeResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SearchKnowledgeResponse.Builder newBuilder()
newBuilder(SearchKnowledgeResponse prototype)
public static SearchKnowledgeResponse.Builder newBuilder(SearchKnowledgeResponse prototype)
public static SearchKnowledgeResponse parseDelimitedFrom(InputStream input)
public static SearchKnowledgeResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SearchKnowledgeResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchKnowledgeResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SearchKnowledgeResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchKnowledgeResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchKnowledgeResponse parseFrom(CodedInputStream input)
public static SearchKnowledgeResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchKnowledgeResponse parseFrom(InputStream input)
public static SearchKnowledgeResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SearchKnowledgeResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SearchKnowledgeResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SearchKnowledgeResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAnswers(int index)
public SearchKnowledgeAnswer getAnswers(int index)
Most relevant snippets extracted from articles in the given knowledge base,
ordered by confidence.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeAnswer answers = 2;
Parameter |
Name |
Description |
index |
int
|
getAnswersCount()
public int getAnswersCount()
Most relevant snippets extracted from articles in the given knowledge base,
ordered by confidence.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeAnswer answers = 2;
Returns |
Type |
Description |
int |
|
getAnswersList()
public List<SearchKnowledgeAnswer> getAnswersList()
Most relevant snippets extracted from articles in the given knowledge base,
ordered by confidence.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeAnswer answers = 2;
getAnswersOrBuilder(int index)
public SearchKnowledgeAnswerOrBuilder getAnswersOrBuilder(int index)
Most relevant snippets extracted from articles in the given knowledge base,
ordered by confidence.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeAnswer answers = 2;
Parameter |
Name |
Description |
index |
int
|
getAnswersOrBuilderList()
public List<? extends SearchKnowledgeAnswerOrBuilder> getAnswersOrBuilderList()
Most relevant snippets extracted from articles in the given knowledge base,
ordered by confidence.
repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeAnswer answers = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2beta1.SearchKnowledgeAnswerOrBuilder> |
|
getDefaultInstanceForType()
public SearchKnowledgeResponse getDefaultInstanceForType()
getParserForType()
public Parser<SearchKnowledgeResponse> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SearchKnowledgeResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SearchKnowledgeResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SearchKnowledgeResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides