Interface EventActionsOrBuilder (3.64.0)

public interface EventActionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsArtifactDelta(String key)

public abstract boolean containsArtifactDelta(String key)

Optional. Indicates that the event is updating an artifact. key is the filename, value is the version.

map<string, int32> artifact_delta = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getArtifactDelta() (deprecated)

public abstract Map<String,Integer> getArtifactDelta()
Returns
Type Description
Map<String,Integer>

getArtifactDeltaCount()

public abstract int getArtifactDeltaCount()

Optional. Indicates that the event is updating an artifact. key is the filename, value is the version.

map<string, int32> artifact_delta = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getArtifactDeltaMap()

public abstract Map<String,Integer> getArtifactDeltaMap()

Optional. Indicates that the event is updating an artifact. key is the filename, value is the version.

map<string, int32> artifact_delta = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,Integer>

getArtifactDeltaOrDefault(String key, int defaultValue)

public abstract int getArtifactDeltaOrDefault(String key, int defaultValue)

Optional. Indicates that the event is updating an artifact. key is the filename, value is the version.

map<string, int32> artifact_delta = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue int
Returns
Type Description
int

getArtifactDeltaOrThrow(String key)

public abstract int getArtifactDeltaOrThrow(String key)

Optional. Indicates that the event is updating an artifact. key is the filename, value is the version.

map<string, int32> artifact_delta = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
int

getEscalate()

public abstract boolean getEscalate()

Optional. The agent is escalating to a higher level agent.

bool escalate = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The escalate.

getRequestedAuthConfigs()

public abstract Struct getRequestedAuthConfigs()

Optional. Will only be set by a tool response indicating tool request euc. Struct key is the function call id since one function call response (from model) could correspond to multiple function calls. Struct value is the required auth config, which can be another struct.

.google.protobuf.Struct requested_auth_configs = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Struct

The requestedAuthConfigs.

getRequestedAuthConfigsOrBuilder()

public abstract StructOrBuilder getRequestedAuthConfigsOrBuilder()

Optional. Will only be set by a tool response indicating tool request euc. Struct key is the function call id since one function call response (from model) could correspond to multiple function calls. Struct value is the required auth config, which can be another struct.

.google.protobuf.Struct requested_auth_configs = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StructOrBuilder

getSkipSummarization()

public abstract boolean getSkipSummarization()

Optional. If true, it won't call model to summarize function response. Only used for function_response event.

bool skip_summarization = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The skipSummarization.

getStateDelta()

public abstract Struct getStateDelta()

Optional. Indicates that the event is updating the state with the given delta.

.google.protobuf.Struct state_delta = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Struct

The stateDelta.

getStateDeltaOrBuilder()

public abstract StructOrBuilder getStateDeltaOrBuilder()

Optional. Indicates that the event is updating the state with the given delta.

.google.protobuf.Struct state_delta = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StructOrBuilder

getTransferAgent()

public abstract String getTransferAgent()

Optional. If set, the event transfers to the specified agent.

string transfer_agent = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The transferAgent.

getTransferAgentBytes()

public abstract ByteString getTransferAgentBytes()

Optional. If set, the event transfers to the specified agent.

string transfer_agent = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for transferAgent.

getTransferToAgent() (deprecated)

public abstract boolean getTransferToAgent()

Deprecated. google.cloud.aiplatform.v1beta1.EventActions.transfer_to_agent is deprecated. See google/cloud/aiplatform/v1beta1/session.proto;l=163

Deprecated. If set, the event transfers to the specified agent.

bool transfer_to_agent = 5 [deprecated = true];

Returns
Type Description
boolean

The transferToAgent.

hasRequestedAuthConfigs()

public abstract boolean hasRequestedAuthConfigs()

Optional. Will only be set by a tool response indicating tool request euc. Struct key is the function call id since one function call response (from model) could correspond to multiple function calls. Struct value is the required auth config, which can be another struct.

.google.protobuf.Struct requested_auth_configs = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the requestedAuthConfigs field is set.

hasStateDelta()

public abstract boolean hasStateDelta()

Optional. Indicates that the event is updating the state with the given delta.

.google.protobuf.Struct state_delta = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the stateDelta field is set.