public final class EventActions extends com.google.protobuf.GeneratedMessageV3 implements EventActionsOrBuilder
Actions are parts of events that are executed by the agent.Protobuf type
google.cloud.aiplatform.v1beta1.EventActions| Modifier and Type | Class and Description |
|---|---|
static class |
EventActions.Builder
Actions are parts of events that are executed by the agent.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ARTIFACT_DELTA_FIELD_NUMBER |
static int |
ESCALATE_FIELD_NUMBER |
static int |
REQUESTED_AUTH_CONFIGS_FIELD_NUMBER |
static int |
SKIP_SUMMARIZATION_FIELD_NUMBER |
static int |
STATE_DELTA_FIELD_NUMBER |
static int |
TRANSFER_AGENT_FIELD_NUMBER |
static int |
TRANSFER_TO_AGENT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsArtifactDelta(String key)
Optional.
|
boolean |
equals(Object obj) |
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.
|
static EventActions |
getDefaultInstance() |
EventActions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEscalate()
Optional.
|
com.google.protobuf.Parser<EventActions> |
getParserForType() |
com.google.protobuf.Struct |
getRequestedAuthConfigs()
Optional.
|
com.google.protobuf.StructOrBuilder |
getRequestedAuthConfigsOrBuilder()
Optional.
|
int |
getSerializedSize() |
boolean |
getSkipSummarization()
Optional.
|
com.google.protobuf.Struct |
getStateDelta()
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
|
int |
hashCode() |
boolean |
hasRequestedAuthConfigs()
Optional.
|
boolean |
hasStateDelta()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static EventActions.Builder |
newBuilder() |
static EventActions.Builder |
newBuilder(EventActions prototype) |
EventActions.Builder |
newBuilderForType() |
protected EventActions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static EventActions |
parseDelimitedFrom(InputStream input) |
static EventActions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EventActions |
parseFrom(byte[] data) |
static EventActions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EventActions |
parseFrom(ByteBuffer data) |
static EventActions |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EventActions |
parseFrom(com.google.protobuf.ByteString data) |
static EventActions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EventActions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static EventActions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EventActions |
parseFrom(InputStream input) |
static EventActions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<EventActions> |
parser() |
EventActions.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SKIP_SUMMARIZATION_FIELD_NUMBER
public static final int STATE_DELTA_FIELD_NUMBER
public static final int ARTIFACT_DELTA_FIELD_NUMBER
public static final int TRANSFER_TO_AGENT_FIELD_NUMBER
public static final int ESCALATE_FIELD_NUMBER
public static final int REQUESTED_AUTH_CONFIGS_FIELD_NUMBER
public static final int TRANSFER_AGENT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 EventActionsOrBuilder@Deprecated public boolean getTransferToAgent()
Deprecated. If set, the event transfers to the specified agent.
bool transfer_to_agent = 5 [deprecated = true];getTransferToAgent in interface EventActionsOrBuilderpublic boolean getEscalate()
Optional. The agent is escalating to a higher level agent.
bool escalate = 6 [(.google.api.field_behavior) = OPTIONAL];getEscalate in interface EventActionsOrBuilderpublic 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static EventActions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventActions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventActions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventActions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventActions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventActions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EventActions parseFrom(InputStream input) throws IOException
IOExceptionpublic static EventActions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EventActions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static EventActions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EventActions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static EventActions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic EventActions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static EventActions.Builder newBuilder()
public static EventActions.Builder newBuilder(EventActions prototype)
public EventActions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected EventActions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static EventActions getDefaultInstance()
public static com.google.protobuf.Parser<EventActions> parser()
public com.google.protobuf.Parser<EventActions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public EventActions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.