- 3.64.0 (latest)
- 3.63.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class EventActions.Builder extends GeneratedMessageV3.Builder.Builder> implements EventActionsOrBuilder
Actions are parts of events that are executed by the agent.
Protobuf type google.cloud.aiplatform.v1beta1.EventActions
Inheritance
Object > AbstractMessageLite.BuilderImplements
EventActionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EventActions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
build()
public EventActions build()
Returns | |
---|---|
Type | Description |
EventActions |
buildPartial()
public EventActions buildPartial()
Returns | |
---|---|
Type | Description |
EventActions |
clear()
public EventActions.Builder clear()
Returns | |
---|---|
Type | Description |
EventActions.Builder |
clearArtifactDelta()
public EventActions.Builder clearArtifactDelta()
Returns | |
---|---|
Type | Description |
EventActions.Builder |
clearEscalate()
public EventActions.Builder clearEscalate()
Optional. The agent is escalating to a higher level agent.
bool escalate = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
EventActions.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public EventActions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public EventActions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
clearRequestedAuthConfigs()
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];
Returns | |
---|---|
Type | Description |
EventActions.Builder |
clearSkipSummarization()
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];
Returns | |
---|---|
Type | Description |
EventActions.Builder |
This builder for chaining. |
clearStateDelta()
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];
Returns | |
---|---|
Type | Description |
EventActions.Builder |
clearTransferAgent()
public EventActions.Builder clearTransferAgent()
Optional. If set, the event transfers to the specified agent.
string transfer_agent = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
EventActions.Builder |
This builder for chaining. |
clearTransferToAgent() (deprecated)
public EventActions.Builder clearTransferToAgent()
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 |
EventActions.Builder |
This builder for chaining. |
clone()
public EventActions.Builder clone()
Returns | |
---|---|
Type | Description |
EventActions.Builder |
containsArtifactDelta(String key)
public boolean containsArtifactDelta(String key)
Optional. Indicates that the event is updating an artifact. key is the filename, value is the version.
map
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getArtifactDelta() (deprecated)
public Map,Integer> getArtifactDelta()
Use #getArtifactDeltaMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,Integer> |
getArtifactDeltaCount()
public int getArtifactDeltaCount()
Optional. Indicates that the event is updating an artifact. key is the filename, value is the version.
map
Returns | |
---|---|
Type | Description |
int |
getArtifactDeltaMap()
public Map,Integer> getArtifactDeltaMap()
Optional. Indicates that the event is updating an artifact. key is the filename, value is the version.
map
Returns | |
---|---|
Type | Description |
Map<String,Integer> |
getArtifactDeltaOrDefault(String key, int defaultValue)
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
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
int |
Returns | |
---|---|
Type | Description |
int |
getArtifactDeltaOrThrow(String key)
public int getArtifactDeltaOrThrow(String key)
Optional. Indicates that the event is updating an artifact. key is the filename, value is the version.
map
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
int |
getDefaultInstanceForType()
public EventActions getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
EventActions |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEscalate()
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. |
getMutableArtifactDelta() (deprecated)
public Map,Integer> getMutableArtifactDelta()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,Integer> |
getRequestedAuthConfigs()
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. |
getRequestedAuthConfigsBuilder()
public 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];
Returns | |
---|---|
Type | Description |
Builder |
getRequestedAuthConfigsOrBuilder()
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];
Returns | |
---|---|
Type | Description |
StructOrBuilder |
getSkipSummarization()
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. |
getStateDelta()
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. |
getStateDeltaBuilder()
public 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];
Returns | |
---|---|
Type | Description |
Builder |
getStateDeltaOrBuilder()
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];
Returns | |
---|---|
Type | Description |
StructOrBuilder |
getTransferAgent()
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. |
getTransferAgentBytes()
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. |
getTransferToAgent() (deprecated)
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. |
hasRequestedAuthConfigs()
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. |
hasStateDelta()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(EventActions other)
public EventActions.Builder mergeFrom(EventActions other)
Parameter | |
---|---|
Name | Description |
other |
EventActions |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EventActions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public EventActions.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
mergeRequestedAuthConfigs(Struct value)
public EventActions.Builder mergeRequestedAuthConfigs(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];
Parameter | |
---|---|
Name | Description |
value |
Struct |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
mergeStateDelta(Struct value)
public EventActions.Builder mergeStateDelta(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];
Parameter | |
---|---|
Name | Description |
value |
Struct |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EventActions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
putAllArtifactDelta(Map values)
public EventActions.Builder putAllArtifactDelta(Map,Integer> values)
Optional. Indicates that the event is updating an artifact. key is the filename, value is the version.
map
Parameter | |
---|---|
Name | Description |
values |
Map<String,Integer> |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
putArtifactDelta(String key, int value)
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
Parameters | |
---|---|
Name | Description |
key |
String |
value |
int |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
removeArtifactDelta(String key)
public EventActions.Builder removeArtifactDelta(String key)
Optional. Indicates that the event is updating an artifact. key is the filename, value is the version.
map
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
setEscalate(boolean value)
public EventActions.Builder setEscalate(boolean value)
Optional. The agent is escalating to a higher level agent.
bool escalate = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The escalate to set. |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public EventActions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EventActions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
setRequestedAuthConfigs(Struct value)
public EventActions.Builder setRequestedAuthConfigs(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];
Parameter | |
---|---|
Name | Description |
value |
Struct |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
setRequestedAuthConfigs(Struct.Builder builderForValue)
public EventActions.Builder setRequestedAuthConfigs(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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
setSkipSummarization(boolean value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
boolean The skipSummarization to set. |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
This builder for chaining. |
setStateDelta(Struct value)
public EventActions.Builder setStateDelta(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];
Parameter | |
---|---|
Name | Description |
value |
Struct |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
setStateDelta(Struct.Builder builderForValue)
public EventActions.Builder setStateDelta(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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
setTransferAgent(String value)
public EventActions.Builder setTransferAgent(String value)
Optional. If set, the event transfers to the specified agent.
string transfer_agent = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The transferAgent to set. |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
This builder for chaining. |
setTransferAgentBytes(ByteString value)
public EventActions.Builder setTransferAgentBytes(ByteString value)
Optional. If set, the event transfers to the specified agent.
string transfer_agent = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for transferAgent to set. |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
This builder for chaining. |
setTransferToAgent(boolean value) (deprecated)
public 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
Deprecated. If set, the event transfers to the specified agent.
bool transfer_to_agent = 5 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value |
boolean The transferToAgent to set. |
Returns | |
---|---|
Type | Description |
EventActions.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final EventActions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EventActions.Builder |