public static final class EventActions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EventActions.Builder> implements EventActionsOrBuilder
Actions are parts of events that are executed by the agent.Protobuf type
google.cloud.aiplatform.v1beta1.EventActions| Modifier and Type | Method and Description |
|---|---|
EventActions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EventActions |
build() |
EventActions |
buildPartial() |
EventActions.Builder |
clear() |
EventActions.Builder |
clearArtifactDelta() |
EventActions.Builder |
clearEscalate()
Optional.
|
EventActions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
EventActions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
EventActions.Builder |
clearRequestedAuthConfigs()
Optional.
|
EventActions.Builder |
clearSkipSummarization()
Optional.
|
EventActions.Builder |
clearStateDelta()
Optional.
|
EventActions.Builder |
clearTransferAgent()
Optional.
|
EventActions.Builder |
clearTransferToAgent()
Deprecated.
google.cloud.aiplatform.v1beta1.EventActions.transfer_to_agent is deprecated. See
google/cloud/aiplatform/v1beta1/session.proto;l=163
|
EventActions.Builder |
clone() |
boolean |
containsArtifactDelta(String key)
Optional.
|
Map<String,Integer> |
getArtifactDelta()
Deprecated.
|
int |
getArtifactDeltaCount()
Optional.
|
Map<String,Integer> |
getArtifactDeltaMap()
Optional.
|
int |
getArtifactDeltaOrDefault(String key,
int defaultValue)
Optional.
|
int |
getArtifactDeltaOrThrow(String key)
Optional.
|
EventActions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getEscalate()
Optional.
|
Map<String,Integer> |
getMutableArtifactDelta()
Deprecated.
|
com.google.protobuf.Struct |
getRequestedAuthConfigs()
Optional.
|
com.google.protobuf.Struct.Builder |
getRequestedAuthConfigsBuilder()
Optional.
|
com.google.protobuf.StructOrBuilder |
getRequestedAuthConfigsOrBuilder()
Optional.
|
boolean |
getSkipSummarization()
Optional.
|
com.google.protobuf.Struct |
getStateDelta()
Optional.
|
com.google.protobuf.Struct.Builder |
getStateDeltaBuilder()
Optional.
|
com.google.protobuf.StructOrBuilder |
getStateDeltaOrBuilder()
Optional.
|
String |
getTransferAgent()
Optional.
|
com.google.protobuf.ByteString |
getTransferAgentBytes()
Optional.
|
boolean |
getTransferToAgent()
Deprecated.
google.cloud.aiplatform.v1beta1.EventActions.transfer_to_agent is deprecated. See
google/cloud/aiplatform/v1beta1/session.proto;l=163
|
boolean |
hasRequestedAuthConfigs()
Optional.
|
boolean |
hasStateDelta()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
EventActions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EventActions.Builder |
mergeFrom(EventActions other) |
EventActions.Builder |
mergeFrom(com.google.protobuf.Message other) |
EventActions.Builder |
mergeRequestedAuthConfigs(com.google.protobuf.Struct value)
Optional.
|
EventActions.Builder |
mergeStateDelta(com.google.protobuf.Struct value)
Optional.
|
EventActions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EventActions.Builder |
putAllArtifactDelta(Map<String,Integer> values)
Optional.
|
EventActions.Builder |
putArtifactDelta(String key,
int value)
Optional.
|
EventActions.Builder |
removeArtifactDelta(String key)
Optional.
|
EventActions.Builder |
setEscalate(boolean value)
Optional.
|
EventActions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EventActions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
EventActions.Builder |
setRequestedAuthConfigs(com.google.protobuf.Struct.Builder builderForValue)
Optional.
|
EventActions.Builder |
setRequestedAuthConfigs(com.google.protobuf.Struct value)
Optional.
|
EventActions.Builder |
setSkipSummarization(boolean value)
Optional.
|
EventActions.Builder |
setStateDelta(com.google.protobuf.Struct.Builder builderForValue)
Optional.
|
EventActions.Builder |
setStateDelta(com.google.protobuf.Struct value)
Optional.
|
EventActions.Builder |
setTransferAgent(String value)
Optional.
|
EventActions.Builder |
setTransferAgentBytes(com.google.protobuf.ByteString value)
Optional.
|
EventActions.Builder |
setTransferToAgent(boolean value)
Deprecated.
google.cloud.aiplatform.v1beta1.EventActions.transfer_to_agent is deprecated. See
google/cloud/aiplatform/v1beta1/session.proto;l=163
|
EventActions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<EventActions.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<EventActions.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EventActions.Builder>public EventActions.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<EventActions.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<EventActions.Builder>public EventActions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic EventActions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic EventActions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic EventActions.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<EventActions.Builder>public EventActions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<EventActions.Builder>public EventActions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<EventActions.Builder>public EventActions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EventActions.Builder>public EventActions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EventActions.Builder>public EventActions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EventActions.Builder>public EventActions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EventActions.Builder>public EventActions.Builder mergeFrom(EventActions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EventActions.Builder>public EventActions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EventActions.Builder>IOExceptionpublic 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];getSkipSummarization in interface EventActionsOrBuilderpublic EventActions.Builder setSkipSummarization(boolean value)
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];value - The skipSummarization to set.public EventActions.Builder clearSkipSummarization()
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];public 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];
hasStateDelta in interface EventActionsOrBuilderpublic com.google.protobuf.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];
getStateDelta in interface EventActionsOrBuilderpublic EventActions.Builder setStateDelta(com.google.protobuf.Struct value)
Optional. Indicates that the event is updating the state with the given delta.
.google.protobuf.Struct state_delta = 2 [(.google.api.field_behavior) = OPTIONAL];
public EventActions.Builder setStateDelta(com.google.protobuf.Struct.Builder builderForValue)
Optional. Indicates that the event is updating the state with the given delta.
.google.protobuf.Struct state_delta = 2 [(.google.api.field_behavior) = OPTIONAL];
public EventActions.Builder mergeStateDelta(com.google.protobuf.Struct value)
Optional. Indicates that the event is updating the state with the given delta.
.google.protobuf.Struct state_delta = 2 [(.google.api.field_behavior) = OPTIONAL];
public EventActions.Builder clearStateDelta()
Optional. Indicates that the event is updating the state with the given delta.
.google.protobuf.Struct state_delta = 2 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.Struct.Builder getStateDeltaBuilder()
Optional. Indicates that the event is updating the state with the given delta.
.google.protobuf.Struct state_delta = 2 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.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];
getStateDeltaOrBuilder in interface EventActionsOrBuilderpublic int getArtifactDeltaCount()
EventActionsOrBuilderOptional. 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];
getArtifactDeltaCount in interface EventActionsOrBuilderpublic 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];
containsArtifactDelta in interface EventActionsOrBuilder@Deprecated public Map<String,Integer> getArtifactDelta()
getArtifactDeltaMap() instead.getArtifactDelta in interface EventActionsOrBuilderpublic 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];
getArtifactDeltaMap in interface EventActionsOrBuilderpublic 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];
getArtifactDeltaOrDefault in interface EventActionsOrBuilderpublic 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];
getArtifactDeltaOrThrow in interface EventActionsOrBuilderpublic EventActions.Builder clearArtifactDelta()
public EventActions.Builder removeArtifactDelta(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];
@Deprecated public Map<String,Integer> getMutableArtifactDelta()
public EventActions.Builder putArtifactDelta(String key, int value)
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];
public EventActions.Builder putAllArtifactDelta(Map<String,Integer> values)
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];
@Deprecated public boolean getTransferToAgent()
Deprecated. If set, the event transfers to the specified agent.
bool transfer_to_agent = 5 [deprecated = true];getTransferToAgent in interface EventActionsOrBuilder@Deprecated public EventActions.Builder setTransferToAgent(boolean value)
Deprecated. If set, the event transfers to the specified agent.
bool transfer_to_agent = 5 [deprecated = true];value - The transferToAgent to set.@Deprecated public EventActions.Builder clearTransferToAgent()
Deprecated. If set, the event transfers to the specified agent.
bool transfer_to_agent = 5 [deprecated = true];public boolean getEscalate()
Optional. The agent is escalating to a higher level agent.
bool escalate = 6 [(.google.api.field_behavior) = OPTIONAL];getEscalate in interface EventActionsOrBuilderpublic EventActions.Builder setEscalate(boolean value)
Optional. The agent is escalating to a higher level agent.
bool escalate = 6 [(.google.api.field_behavior) = OPTIONAL];value - The escalate to set.public EventActions.Builder clearEscalate()
Optional. The agent is escalating to a higher level agent.
bool escalate = 6 [(.google.api.field_behavior) = OPTIONAL];public 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];
hasRequestedAuthConfigs in interface EventActionsOrBuilderpublic com.google.protobuf.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];
getRequestedAuthConfigs in interface EventActionsOrBuilderpublic EventActions.Builder setRequestedAuthConfigs(com.google.protobuf.Struct value)
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];
public EventActions.Builder setRequestedAuthConfigs(com.google.protobuf.Struct.Builder builderForValue)
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];
public EventActions.Builder mergeRequestedAuthConfigs(com.google.protobuf.Struct value)
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];
public EventActions.Builder clearRequestedAuthConfigs()
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];
public com.google.protobuf.Struct.Builder getRequestedAuthConfigsBuilder()
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];
public com.google.protobuf.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];
getRequestedAuthConfigsOrBuilder in interface EventActionsOrBuilderpublic String getTransferAgent()
Optional. If set, the event transfers to the specified agent.
string transfer_agent = 8 [(.google.api.field_behavior) = OPTIONAL];getTransferAgent in interface EventActionsOrBuilderpublic com.google.protobuf.ByteString getTransferAgentBytes()
Optional. If set, the event transfers to the specified agent.
string transfer_agent = 8 [(.google.api.field_behavior) = OPTIONAL];getTransferAgentBytes in interface EventActionsOrBuilderpublic EventActions.Builder setTransferAgent(String value)
Optional. If set, the event transfers to the specified agent.
string transfer_agent = 8 [(.google.api.field_behavior) = OPTIONAL];value - The transferAgent to set.public EventActions.Builder clearTransferAgent()
Optional. If set, the event transfers to the specified agent.
string transfer_agent = 8 [(.google.api.field_behavior) = OPTIONAL];public EventActions.Builder setTransferAgentBytes(com.google.protobuf.ByteString value)
Optional. If set, the event transfers to the specified agent.
string transfer_agent = 8 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for transferAgent to set.public final EventActions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EventActions.Builder>public final EventActions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EventActions.Builder>Copyright © 2025 Google LLC. All rights reserved.