Interface EvaluationInstance.DeprecatedAgentData.AgentEventOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
EvaluationInstance.DeprecatedAgentData.AgentEvent, EvaluationInstance.DeprecatedAgentData.AgentEvent.Builder
Enclosing class:
EvaluationInstance.DeprecatedAgentData

public static interface EvaluationInstance.DeprecatedAgentData.AgentEventOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasAuthor

      boolean hasAuthor()
       Required. The ID of the agent or entity that generated this event.
       
      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.
       
      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.
       
      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).
       
      .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).
       
      .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).
       
      .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

      List<Tool> 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

      Tool getActiveTools(int index)
       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

      ToolOrBuilder getActiveToolsOrBuilder(int index)
       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];