- 4.58.0 (latest)
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class GenerateStatelessSummaryRequest.Builder extends GeneratedMessageV3.Builder<GenerateStatelessSummaryRequest.Builder> implements GenerateStatelessSummaryRequestOrBuilder
The request message for Conversations.GenerateStatelessSummary.
Protobuf type google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenerateStatelessSummaryRequest.BuilderImplements
GenerateStatelessSummaryRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateStatelessSummaryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
build()
public GenerateStatelessSummaryRequest build()
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest |
buildPartial()
public GenerateStatelessSummaryRequest buildPartial()
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest |
clear()
public GenerateStatelessSummaryRequest.Builder clear()
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
clearConversationProfile()
public GenerateStatelessSummaryRequest.Builder clearConversationProfile()
Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public GenerateStatelessSummaryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
clearLatestMessage()
public GenerateStatelessSummaryRequest.Builder clearLatestMessage()
Optional. The name of the latest conversation message used as context for generating a Summary. If empty, the latest message of the conversation will be used. The format is specific to the user and the names of the messages provided.
string latest_message = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
This builder for chaining. |
clearMaxContextSize()
public GenerateStatelessSummaryRequest.Builder clearMaxContextSize()
Optional. Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion. By default 500 and at most 1000.
int32 max_context_size = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateStatelessSummaryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
clearStatelessConversation()
public GenerateStatelessSummaryRequest.Builder clearStatelessConversation()
Required. The conversation to suggest a summary for.
.google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest.MinimalConversation stateless_conversation = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
clone()
public GenerateStatelessSummaryRequest.Builder clone()
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
getConversationProfile()
public ConversationProfile getConversationProfile()
Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ConversationProfile |
The conversationProfile. |
getConversationProfileBuilder()
public ConversationProfile.Builder getConversationProfileBuilder()
Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ConversationProfile.Builder |
getConversationProfileOrBuilder()
public ConversationProfileOrBuilder getConversationProfileOrBuilder()
Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ConversationProfileOrBuilder |
getDefaultInstanceForType()
public GenerateStatelessSummaryRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLatestMessage()
public String getLatestMessage()
Optional. The name of the latest conversation message used as context for generating a Summary. If empty, the latest message of the conversation will be used. The format is specific to the user and the names of the messages provided.
string latest_message = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The latestMessage. |
getLatestMessageBytes()
public ByteString getLatestMessageBytes()
Optional. The name of the latest conversation message used as context for generating a Summary. If empty, the latest message of the conversation will be used. The format is specific to the user and the names of the messages provided.
string latest_message = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for latestMessage. |
getMaxContextSize()
public int getMaxContextSize()
Optional. Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion. By default 500 and at most 1000.
int32 max_context_size = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The maxContextSize. |
getStatelessConversation()
public GenerateStatelessSummaryRequest.MinimalConversation getStatelessConversation()
Required. The conversation to suggest a summary for.
.google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest.MinimalConversation stateless_conversation = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.MinimalConversation |
The statelessConversation. |
getStatelessConversationBuilder()
public GenerateStatelessSummaryRequest.MinimalConversation.Builder getStatelessConversationBuilder()
Required. The conversation to suggest a summary for.
.google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest.MinimalConversation stateless_conversation = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.MinimalConversation.Builder |
getStatelessConversationOrBuilder()
public GenerateStatelessSummaryRequest.MinimalConversationOrBuilder getStatelessConversationOrBuilder()
Required. The conversation to suggest a summary for.
.google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest.MinimalConversation stateless_conversation = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.MinimalConversationOrBuilder |
hasConversationProfile()
public boolean hasConversationProfile()
Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the conversationProfile field is set. |
hasStatelessConversation()
public boolean hasStatelessConversation()
Required. The conversation to suggest a summary for.
.google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest.MinimalConversation stateless_conversation = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the statelessConversation field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeConversationProfile(ConversationProfile value)
public GenerateStatelessSummaryRequest.Builder mergeConversationProfile(ConversationProfile value)
Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ConversationProfile |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
mergeFrom(GenerateStatelessSummaryRequest other)
public GenerateStatelessSummaryRequest.Builder mergeFrom(GenerateStatelessSummaryRequest other)
Parameter | |
---|---|
Name | Description |
other |
GenerateStatelessSummaryRequest |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateStatelessSummaryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GenerateStatelessSummaryRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
mergeStatelessConversation(GenerateStatelessSummaryRequest.MinimalConversation value)
public GenerateStatelessSummaryRequest.Builder mergeStatelessConversation(GenerateStatelessSummaryRequest.MinimalConversation value)
Required. The conversation to suggest a summary for.
.google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest.MinimalConversation stateless_conversation = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
GenerateStatelessSummaryRequest.MinimalConversation |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateStatelessSummaryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
setConversationProfile(ConversationProfile value)
public GenerateStatelessSummaryRequest.Builder setConversationProfile(ConversationProfile value)
Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ConversationProfile |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
setConversationProfile(ConversationProfile.Builder builderForValue)
public GenerateStatelessSummaryRequest.Builder setConversationProfile(ConversationProfile.Builder builderForValue)
Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
ConversationProfile.Builder |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateStatelessSummaryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
setLatestMessage(String value)
public GenerateStatelessSummaryRequest.Builder setLatestMessage(String value)
Optional. The name of the latest conversation message used as context for generating a Summary. If empty, the latest message of the conversation will be used. The format is specific to the user and the names of the messages provided.
string latest_message = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The latestMessage to set. |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
This builder for chaining. |
setLatestMessageBytes(ByteString value)
public GenerateStatelessSummaryRequest.Builder setLatestMessageBytes(ByteString value)
Optional. The name of the latest conversation message used as context for generating a Summary. If empty, the latest message of the conversation will be used. The format is specific to the user and the names of the messages provided.
string latest_message = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for latestMessage to set. |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
This builder for chaining. |
setMaxContextSize(int value)
public GenerateStatelessSummaryRequest.Builder setMaxContextSize(int value)
Optional. Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion. By default 500 and at most 1000.
int32 max_context_size = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The maxContextSize to set. |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateStatelessSummaryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
setStatelessConversation(GenerateStatelessSummaryRequest.MinimalConversation value)
public GenerateStatelessSummaryRequest.Builder setStatelessConversation(GenerateStatelessSummaryRequest.MinimalConversation value)
Required. The conversation to suggest a summary for.
.google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest.MinimalConversation stateless_conversation = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
GenerateStatelessSummaryRequest.MinimalConversation |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
setStatelessConversation(GenerateStatelessSummaryRequest.MinimalConversation.Builder builderForValue)
public GenerateStatelessSummaryRequest.Builder setStatelessConversation(GenerateStatelessSummaryRequest.MinimalConversation.Builder builderForValue)
Required. The conversation to suggest a summary for.
.google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest.MinimalConversation stateless_conversation = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
GenerateStatelessSummaryRequest.MinimalConversation.Builder |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateStatelessSummaryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateStatelessSummaryRequest.Builder |