public final class SuggestConversationSummaryResponse extends GeneratedMessageV3 implements SuggestConversationSummaryResponseOrBuilder
The response message for Conversations.SuggestConversationSummary.
Protobuf type google.cloud.dialogflow.v2beta1.SuggestConversationSummaryResponse
Static Fields
CONTEXT_SIZE_FIELD_NUMBER
public static final int CONTEXT_SIZE_FIELD_NUMBER
Field Value
LATEST_MESSAGE_FIELD_NUMBER
public static final int LATEST_MESSAGE_FIELD_NUMBER
Field Value
SUMMARY_FIELD_NUMBER
public static final int SUMMARY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SuggestConversationSummaryResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SuggestConversationSummaryResponse.Builder newBuilder()
Returns
newBuilder(SuggestConversationSummaryResponse prototype)
public static SuggestConversationSummaryResponse.Builder newBuilder(SuggestConversationSummaryResponse prototype)
Parameter
Returns
public static SuggestConversationSummaryResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SuggestConversationSummaryResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SuggestConversationSummaryResponse parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SuggestConversationSummaryResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SuggestConversationSummaryResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SuggestConversationSummaryResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SuggestConversationSummaryResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SuggestConversationSummaryResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SuggestConversationSummaryResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SuggestConversationSummaryResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SuggestConversationSummaryResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SuggestConversationSummaryResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SuggestConversationSummaryResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getContextSize()
public int getContextSize()
Number of messages prior to and including
[last_conversation_message][] used to compile the suggestion. It may be
smaller than the [SuggestSummaryRequest.context_size][] field in the
request if there weren't that many messages in the conversation.
int32 context_size = 3;
Returns
Type |
Description |
int |
The contextSize.
|
getDefaultInstanceForType()
public SuggestConversationSummaryResponse getDefaultInstanceForType()
Returns
getLatestMessage()
public String getLatestMessage()
The name of the latest conversation message used as context for
compiling suggestion.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/messages/<Message ID>
.
string latest_message = 2 [(.google.api.resource_reference) = { ... }
Returns
Type |
Description |
String |
The latestMessage.
|
getLatestMessageBytes()
public ByteString getLatestMessageBytes()
The name of the latest conversation message used as context for
compiling suggestion.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/messages/<Message ID>
.
string latest_message = 2 [(.google.api.resource_reference) = { ... }
Returns
Type |
Description |
ByteString |
The bytes for latestMessage.
|
getParserForType()
public Parser<SuggestConversationSummaryResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSummary()
public SuggestConversationSummaryResponse.Summary getSummary()
Generated summary.
.google.cloud.dialogflow.v2beta1.SuggestConversationSummaryResponse.Summary summary = 1;
Returns
getSummaryOrBuilder()
public SuggestConversationSummaryResponse.SummaryOrBuilder getSummaryOrBuilder()
Generated summary.
.google.cloud.dialogflow.v2beta1.SuggestConversationSummaryResponse.Summary summary = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasSummary()
public boolean hasSummary()
Generated summary.
.google.cloud.dialogflow.v2beta1.SuggestConversationSummaryResponse.Summary summary = 1;
Returns
Type |
Description |
boolean |
Whether the summary field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SuggestConversationSummaryResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SuggestConversationSummaryResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SuggestConversationSummaryResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions