Interface AgentEventOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AgentEvent,AgentEvent.Builder
@Generated
public interface AgentEventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetActiveTools(int index) Optional.intOptional.Optional.getActiveToolsOrBuilder(int index) Optional.List<? extends ToolOrBuilder>Optional.Required.com.google.protobuf.ByteStringRequired.Required.Required.com.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.com.google.protobuf.StructOptional.com.google.protobuf.StructOrBuilderOptional.booleanRequired.booleanRequired.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAuthor
boolean hasAuthor()Required. The ID of the agent or entity that generated this event. Use "user" to denote events generated by the end-user.
optional string author = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the author field is set.
-
getAuthor
String getAuthor()Required. The ID of the agent or entity that generated this event. Use "user" to denote events generated by the end-user.
optional string author = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The author.
-
getAuthorBytes
com.google.protobuf.ByteString getAuthorBytes()Required. The ID of the agent or entity that generated this event. Use "user" to denote events generated by the end-user.
optional string author = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for author.
-
hasContent
boolean hasContent()Required. The content of the event (e.g., text response, tool call, tool response).
optional .google.cloud.aiplatform.v1beta1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the content field is set.
-
getContent
Content getContent()Required. The content of the event (e.g., text response, tool call, tool response).
optional .google.cloud.aiplatform.v1beta1.Content content = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The content.
-
getContentOrBuilder
ContentOrBuilder getContentOrBuilder()Required. The content of the event (e.g., text response, tool call, tool response).
optional .google.cloud.aiplatform.v1beta1.Content content = 2 [(.google.api.field_behavior) = REQUIRED]; -
hasEventTime
boolean hasEventTime()Optional. The timestamp when the event occurred.
.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the eventTime field is set.
-
getEventTime
com.google.protobuf.Timestamp getEventTime()Optional. The timestamp when the event occurred.
.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The eventTime.
-
getEventTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder()Optional. The timestamp when the event occurred.
.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OPTIONAL]; -
hasStateDelta
boolean hasStateDelta()Optional. The change in the session state caused by this event. This is a key-value map of fields that were modified or added by the event.
.google.protobuf.Struct state_delta = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the stateDelta field is set.
-
getStateDelta
com.google.protobuf.Struct getStateDelta()Optional. The change in the session state caused by this event. This is a key-value map of fields that were modified or added by the event.
.google.protobuf.Struct state_delta = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The stateDelta.
-
getStateDeltaOrBuilder
com.google.protobuf.StructOrBuilder getStateDeltaOrBuilder()Optional. The change in the session state caused by this event. This is a key-value map of fields that were modified or added by the event.
.google.protobuf.Struct state_delta = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getActiveToolsList
Optional. The list of tools that were active/available to the agent at the time of this event. This overrides the `AgentConfig.tools` if set.
repeated .google.cloud.aiplatform.v1beta1.Tool active_tools = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getActiveTools
Optional. The list of tools that were active/available to the agent at the time of this event. This overrides the `AgentConfig.tools` if set.
repeated .google.cloud.aiplatform.v1beta1.Tool active_tools = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getActiveToolsCount
int getActiveToolsCount()Optional. The list of tools that were active/available to the agent at the time of this event. This overrides the `AgentConfig.tools` if set.
repeated .google.cloud.aiplatform.v1beta1.Tool active_tools = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getActiveToolsOrBuilderList
List<? extends ToolOrBuilder> getActiveToolsOrBuilderList()Optional. The list of tools that were active/available to the agent at the time of this event. This overrides the `AgentConfig.tools` if set.
repeated .google.cloud.aiplatform.v1beta1.Tool active_tools = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getActiveToolsOrBuilder
Optional. The list of tools that were active/available to the agent at the time of this event. This overrides the `AgentConfig.tools` if set.
repeated .google.cloud.aiplatform.v1beta1.Tool active_tools = 5 [(.google.api.field_behavior) = OPTIONAL];
-