public final class EventActions extends GeneratedMessageV3 implements EventActionsOrBuilder
Actions are parts of events that are executed by the agent.
Protobuf type google.cloud.aiplatform.v1beta1.EventActions
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ARTIFACT_DELTA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ESCALATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int REQUESTED_AUTH_CONFIGS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SKIP_SUMMARIZATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int STATE_DELTA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TRANSFER_AGENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TRANSFER_TO_AGENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static EventActions getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static EventActions.Builder newBuilder()
public static EventActions.Builder newBuilder(EventActions prototype)
public static EventActions parseDelimitedFrom(InputStream input)
public static EventActions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static EventActions parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static EventActions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EventActions parseFrom(ByteString data)
public static EventActions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EventActions parseFrom(CodedInputStream input)
public static EventActions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EventActions parseFrom(InputStream input)
public static EventActions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static EventActions parseFrom(ByteBuffer data)
public static EventActions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<EventActions> parser()
Methods
public 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
|
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public Map<String,Integer> getArtifactDelta()
public 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 |
|
public 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];
public 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 |
|
public 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 |
|
public EventActions getDefaultInstanceForType()
public 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.
|
public Parser<EventActions> getParserForType()
Overrides
public 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.
|
public 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];
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public 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.
|
public 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.
|
public 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];
public 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.
|
public 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.
|
public 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.
|
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];
Returns |
Type |
Description |
boolean |
Whether the requestedAuthConfigs field is set.
|
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];
Returns |
Type |
Description |
boolean |
Whether the stateDelta field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public EventActions.Builder newBuilderForType()
protected EventActions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public EventActions.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides