Interface GenerateStatelessSummaryRequest.MinimalConversationOrBuilder (4.47.0)

public static interface GenerateStatelessSummaryRequest.MinimalConversationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMessages(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
Message

getMessagesCount()

public abstract 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
TypeDescription
int

getMessagesList()

public abstract 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
TypeDescription
List<Message>

getMessagesOrBuilder(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
MessageOrBuilder

getMessagesOrBuilderList()

public abstract 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
TypeDescription
List<? extends com.google.cloud.dialogflow.v2beta1.MessageOrBuilder>

getParent()

public abstract 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
TypeDescription
String

The parent.

getParentBytes()

public abstract 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
TypeDescription
ByteString

The bytes for parent.