Class GenerateStatelessSummaryRequest.MinimalConversation.Builder (4.25.0)

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.v2beta1.GenerateStatelessSummaryRequest.MinimalConversation

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenerateStatelessSummaryRequest.MinimalConversation.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2beta1.Message>
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder

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.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Message
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder

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.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Message.Builder
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder

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.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Message
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder

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.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Message.Builder
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder

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.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Message.Builder

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.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Message.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenerateStatelessSummaryRequest.MinimalConversation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder
Overrides

build()

public GenerateStatelessSummaryRequest.MinimalConversation build()
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation

buildPartial()

public GenerateStatelessSummaryRequest.MinimalConversation buildPartial()
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation

clear()

public GenerateStatelessSummaryRequest.MinimalConversation.Builder clear()
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GenerateStatelessSummaryRequest.MinimalConversation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder
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.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateStatelessSummaryRequest.MinimalConversation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder
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) = { ... }

Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder

This builder for chaining.

clone()

public GenerateStatelessSummaryRequest.MinimalConversation.Builder clone()
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder
Overrides

getDefaultInstanceForType()

public GenerateStatelessSummaryRequest.MinimalConversation getDefaultInstanceForType()
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Message

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.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Message.Builder

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.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

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.v2beta1.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.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Message>

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.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MessageOrBuilder

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.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateStatelessSummaryRequest.MinimalConversation other)

public GenerateStatelessSummaryRequest.MinimalConversation.Builder mergeFrom(GenerateStatelessSummaryRequest.MinimalConversation other)
Parameter
Name Description
other GenerateStatelessSummaryRequest.MinimalConversation
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenerateStatelessSummaryRequest.MinimalConversation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GenerateStatelessSummaryRequest.MinimalConversation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateStatelessSummaryRequest.MinimalConversation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder
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.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateStatelessSummaryRequest.MinimalConversation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder
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.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Message
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder

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.v2beta1.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Message.Builder
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder

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.

Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder

This builder for chaining.

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.

Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GenerateStatelessSummaryRequest.MinimalConversation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateStatelessSummaryRequest.MinimalConversation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder
Overrides