public static final class GenerateStatelessSummaryRequest.MinimalConversation.Builder extends GeneratedMessageV3.Builder<GenerateStatelessSummaryRequest.MinimalConversation.Builder> implements GenerateStatelessSummaryRequest.MinimalConversationOrBuilder
The minimum amount of information required to generate a Summary without
having a Conversation resource created.
Protobuf type
google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest.MinimalConversation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllMessages(Iterable<? extends Message> values)
public GenerateStatelessSummaryRequest.MinimalConversation.Builder addAllMessages(Iterable<? extends Message> values)
Required. The messages that the Summary will be generated from. It is
expected that this message content is already redacted and does not
contain any PII. Required fields: {content, language_code, participant,
participant_role} Optional fields: {send_time} If send_time is not
provided, then the messages must be provided in chronological order.
repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.Message>
|
addMessages(Message value)
public GenerateStatelessSummaryRequest.MinimalConversation.Builder addMessages(Message value)
Required. The messages that the Summary will be generated from. It is
expected that this message content is already redacted and does not
contain any PII. Required fields: {content, language_code, participant,
participant_role} Optional fields: {send_time} If send_time is not
provided, then the messages must be provided in chronological order.
repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Message
|
addMessages(Message.Builder builderForValue)
public GenerateStatelessSummaryRequest.MinimalConversation.Builder addMessages(Message.Builder builderForValue)
Required. The messages that the Summary will be generated from. It is
expected that this message content is already redacted and does not
contain any PII. Required fields: {content, language_code, participant,
participant_role} Optional fields: {send_time} If send_time is not
provided, then the messages must be provided in chronological order.
repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
addMessages(int index, Message value)
public GenerateStatelessSummaryRequest.MinimalConversation.Builder addMessages(int index, Message value)
Required. The messages that the Summary will be generated from. It is
expected that this message content is already redacted and does not
contain any PII. Required fields: {content, language_code, participant,
participant_role} Optional fields: {send_time} If send_time is not
provided, then the messages must be provided in chronological order.
repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters |
Name |
Description |
index |
int
|
value |
Message
|
addMessages(int index, Message.Builder builderForValue)
public GenerateStatelessSummaryRequest.MinimalConversation.Builder addMessages(int index, Message.Builder builderForValue)
Required. The messages that the Summary will be generated from. It is
expected that this message content is already redacted and does not
contain any PII. Required fields: {content, language_code, participant,
participant_role} Optional fields: {send_time} If send_time is not
provided, then the messages must be provided in chronological order.
repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
addMessagesBuilder()
public Message.Builder addMessagesBuilder()
Required. The messages that the Summary will be generated from. It is
expected that this message content is already redacted and does not
contain any PII. Required fields: {content, language_code, participant,
participant_role} Optional fields: {send_time} If send_time is not
provided, then the messages must be provided in chronological order.
repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
addMessagesBuilder(int index)
public Message.Builder addMessagesBuilder(int index)
Required. The messages that the Summary will be generated from. It is
expected that this message content is already redacted and does not
contain any PII. Required fields: {content, language_code, participant,
participant_role} Optional fields: {send_time} If send_time is not
provided, then the messages must be provided in chronological order.
repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateStatelessSummaryRequest.MinimalConversation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GenerateStatelessSummaryRequest.MinimalConversation build()
buildPartial()
public GenerateStatelessSummaryRequest.MinimalConversation buildPartial()
clear()
public GenerateStatelessSummaryRequest.MinimalConversation.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GenerateStatelessSummaryRequest.MinimalConversation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMessages()
public GenerateStatelessSummaryRequest.MinimalConversation.Builder clearMessages()
Required. The messages that the Summary will be generated from. It is
expected that this message content is already redacted and does not
contain any PII. Required fields: {content, language_code, participant,
participant_role} Optional fields: {send_time} If send_time is not
provided, then the messages must be provided in chronological order.
repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateStatelessSummaryRequest.MinimalConversation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public GenerateStatelessSummaryRequest.MinimalConversation.Builder clearParent()
Required. The parent resource to charge for the Summary's generation.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public GenerateStatelessSummaryRequest.MinimalConversation.Builder clone()
Overrides
getDefaultInstanceForType()
public GenerateStatelessSummaryRequest.MinimalConversation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMessages(int index)
public Message getMessages(int index)
Required. The messages that the Summary will be generated from. It is
expected that this message content is already redacted and does not
contain any PII. Required fields: {content, language_code, participant,
participant_role} Optional fields: {send_time} If send_time is not
provided, then the messages must be provided in chronological order.
repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getMessagesBuilder(int index)
public Message.Builder getMessagesBuilder(int index)
Required. The messages that the Summary will be generated from. It is
expected that this message content is already redacted and does not
contain any PII. Required fields: {content, language_code, participant,
participant_role} Optional fields: {send_time} If send_time is not
provided, then the messages must be provided in chronological order.
repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getMessagesBuilderList()
public List<Message.Builder> getMessagesBuilderList()
Required. The messages that the Summary will be generated from. It is
expected that this message content is already redacted and does not
contain any PII. Required fields: {content, language_code, participant,
participant_role} Optional fields: {send_time} If send_time is not
provided, then the messages must be provided in chronological order.
repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
getMessagesCount()
public int getMessagesCount()
Required. The messages that the Summary will be generated from. It is
expected that this message content is already redacted and does not
contain any PII. Required fields: {content, language_code, participant,
participant_role} Optional fields: {send_time} If send_time is not
provided, then the messages must be provided in chronological order.
repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getMessagesList()
public List<Message> getMessagesList()
Required. The messages that the Summary will be generated from. It is
expected that this message content is already redacted and does not
contain any PII. Required fields: {content, language_code, participant,
participant_role} Optional fields: {send_time} If send_time is not
provided, then the messages must be provided in chronological order.
repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
getMessagesOrBuilder(int index)
public MessageOrBuilder getMessagesOrBuilder(int index)
Required. The messages that the Summary will be generated from. It is
expected that this message content is already redacted and does not
contain any PII. Required fields: {content, language_code, participant,
participant_role} Optional fields: {send_time} If send_time is not
provided, then the messages must be provided in chronological order.
repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getMessagesOrBuilderList()
public List<? extends MessageOrBuilder> getMessagesOrBuilderList()
Required. The messages that the Summary will be generated from. It is
expected that this message content is already redacted and does not
contain any PII. Required fields: {content, language_code, participant,
participant_role} Optional fields: {send_time} If send_time is not
provided, then the messages must be provided in chronological order.
repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.MessageOrBuilder> |
|
getParent()
public String getParent()
Required. The parent resource to charge for the Summary's generation.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The parent resource to charge for the Summary's generation.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GenerateStatelessSummaryRequest.MinimalConversation other)
public GenerateStatelessSummaryRequest.MinimalConversation.Builder mergeFrom(GenerateStatelessSummaryRequest.MinimalConversation other)
public GenerateStatelessSummaryRequest.MinimalConversation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GenerateStatelessSummaryRequest.MinimalConversation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateStatelessSummaryRequest.MinimalConversation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeMessages(int index)
public GenerateStatelessSummaryRequest.MinimalConversation.Builder removeMessages(int index)
Required. The messages that the Summary will be generated from. It is
expected that this message content is already redacted and does not
contain any PII. Required fields: {content, language_code, participant,
participant_role} Optional fields: {send_time} If send_time is not
provided, then the messages must be provided in chronological order.
repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateStatelessSummaryRequest.MinimalConversation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMessages(int index, Message value)
public GenerateStatelessSummaryRequest.MinimalConversation.Builder setMessages(int index, Message value)
Required. The messages that the Summary will be generated from. It is
expected that this message content is already redacted and does not
contain any PII. Required fields: {content, language_code, participant,
participant_role} Optional fields: {send_time} If send_time is not
provided, then the messages must be provided in chronological order.
repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters |
Name |
Description |
index |
int
|
value |
Message
|
setMessages(int index, Message.Builder builderForValue)
public GenerateStatelessSummaryRequest.MinimalConversation.Builder setMessages(int index, Message.Builder builderForValue)
Required. The messages that the Summary will be generated from. It is
expected that this message content is already redacted and does not
contain any PII. Required fields: {content, language_code, participant,
participant_role} Optional fields: {send_time} If send_time is not
provided, then the messages must be provided in chronological order.
repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
setParent(String value)
public GenerateStatelessSummaryRequest.MinimalConversation.Builder setParent(String value)
Required. The parent resource to charge for the Summary's generation.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public GenerateStatelessSummaryRequest.MinimalConversation.Builder setParentBytes(ByteString value)
Required. The parent resource to charge for the Summary's generation.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateStatelessSummaryRequest.MinimalConversation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateStatelessSummaryRequest.MinimalConversation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides