Interface EventActionsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
EventActions, EventActions.Builder

@Generated public interface EventActionsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getSkipSummarization

      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:
      The skipSummarization.
    • hasStateDelta

      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:
      Whether the stateDelta field is set.
    • getStateDelta

      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];
      Returns:
      The stateDelta.
    • getStateDeltaOrBuilder

      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];
    • getArtifactDeltaCount

      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];
    • containsArtifactDelta

      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];
    • getArtifactDelta

      @Deprecated Map<String,Integer> getArtifactDelta()
      Deprecated.
    • getArtifactDeltaMap

      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];
    • getArtifactDeltaOrDefault

      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];
    • getArtifactDeltaOrThrow

      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];
    • getEscalate

      boolean getEscalate()
       Optional. The agent is escalating to a higher level agent.
       
      bool escalate = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The escalate.
    • hasRequestedAuthConfigs

      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:
      Whether the requestedAuthConfigs field is set.
    • getRequestedAuthConfigs

      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];
      Returns:
      The requestedAuthConfigs.
    • getRequestedAuthConfigsOrBuilder

      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];
    • getTransferAgent

      String getTransferAgent()
       Optional. If set, the event transfers to the specified agent.
       
      string transfer_agent = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The transferAgent.
    • getTransferAgentBytes

      com.google.protobuf.ByteString getTransferAgentBytes()
       Optional. If set, the event transfers to the specified agent.
       
      string transfer_agent = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for transferAgent.