Interface SendMessageConfigurationOrBuilder (0.27.0)

public interface SendMessageConfigurationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcceptedOutputModes(int index)

public abstract String getAcceptedOutputModes(int index)

Optional. The output modes that the agent is expected to respond with.

repeated string accepted_output_modes = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The acceptedOutputModes at the given index.

getAcceptedOutputModesBytes(int index)

public abstract ByteString getAcceptedOutputModesBytes(int index)

Optional. The output modes that the agent is expected to respond with.

repeated string accepted_output_modes = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the acceptedOutputModes at the given index.

getAcceptedOutputModesCount()

public abstract int getAcceptedOutputModesCount()

Optional. The output modes that the agent is expected to respond with.

repeated string accepted_output_modes = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of acceptedOutputModes.

getAcceptedOutputModesList()

public abstract List<String> getAcceptedOutputModesList()

Optional. The output modes that the agent is expected to respond with.

repeated string accepted_output_modes = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the acceptedOutputModes.

getBlocking()

public abstract boolean getBlocking()

Optional. If true, the message will be blocking until the task is completed. If false, the task will be returned immediately.

bool blocking = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The blocking.

getHistoryLength()

public abstract int getHistoryLength()

Optional. The maximum number of messages to include in the history. If 0, the history will be unlimited.

int32 history_length = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The historyLength.

getPushNotification()

public abstract PushNotificationConfig getPushNotification()

Optional. A configuration of a webhook that can be used to receive updates.

.google.cloud.geminidataanalytics.v1beta.PushNotificationConfig push_notification = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PushNotificationConfig

The pushNotification.

getPushNotificationOrBuilder()

public abstract PushNotificationConfigOrBuilder getPushNotificationOrBuilder()

Optional. A configuration of a webhook that can be used to receive updates.

.google.cloud.geminidataanalytics.v1beta.PushNotificationConfig push_notification = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PushNotificationConfigOrBuilder

hasPushNotification()

public abstract boolean hasPushNotification()

Optional. A configuration of a webhook that can be used to receive updates.

.google.cloud.geminidataanalytics.v1beta.PushNotificationConfig push_notification = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the pushNotification field is set.