Class EventActions

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.EventActions
All Implemented Interfaces:
EventActionsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class EventActions extends com.google.protobuf.GeneratedMessage implements EventActionsOrBuilder
 Actions are parts of events that are executed by the agent.
 
Protobuf type google.cloud.aiplatform.v1.EventActions
See Also:
  • Field Details

    • SKIP_SUMMARIZATION_FIELD_NUMBER

      public static final int SKIP_SUMMARIZATION_FIELD_NUMBER
      See Also:
    • STATE_DELTA_FIELD_NUMBER

      public static final int STATE_DELTA_FIELD_NUMBER
      See Also:
    • ARTIFACT_DELTA_FIELD_NUMBER

      public static final int ARTIFACT_DELTA_FIELD_NUMBER
      See Also:
    • ESCALATE_FIELD_NUMBER

      public static final int ESCALATE_FIELD_NUMBER
      See Also:
    • REQUESTED_AUTH_CONFIGS_FIELD_NUMBER

      public static final int REQUESTED_AUTH_CONFIGS_FIELD_NUMBER
      See Also:
    • TRANSFER_AGENT_FIELD_NUMBER

      public static final int TRANSFER_AGENT_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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];
      Specified by:
      getSkipSummarization in interface EventActionsOrBuilder
      Returns:
      The skipSummarization.
    • 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];
      Specified by:
      hasStateDelta in interface EventActionsOrBuilder
      Returns:
      Whether the stateDelta field is set.
    • getStateDelta

      public 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];
      Specified by:
      getStateDelta in interface EventActionsOrBuilder
      Returns:
      The stateDelta.
    • getStateDeltaOrBuilder

      public 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];
      Specified by:
      getStateDeltaOrBuilder in interface EventActionsOrBuilder
    • getArtifactDeltaCount

      public int getArtifactDeltaCount()
      Description copied from interface: EventActionsOrBuilder
       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];
      Specified by:
      getArtifactDeltaCount in interface EventActionsOrBuilder
    • containsArtifactDelta

      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];
      Specified by:
      containsArtifactDelta in interface EventActionsOrBuilder
    • getArtifactDelta

      @Deprecated public Map<String,Integer> getArtifactDelta()
      Deprecated.
      Specified by:
      getArtifactDelta in interface EventActionsOrBuilder
    • getArtifactDeltaMap

      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];
      Specified by:
      getArtifactDeltaMap in interface EventActionsOrBuilder
    • getArtifactDeltaOrDefault

      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];
      Specified by:
      getArtifactDeltaOrDefault in interface EventActionsOrBuilder
    • getArtifactDeltaOrThrow

      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];
      Specified by:
      getArtifactDeltaOrThrow in interface EventActionsOrBuilder
    • getEscalate

      public boolean getEscalate()
       Optional. The agent is escalating to a higher level agent.
       
      bool escalate = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEscalate in interface EventActionsOrBuilder
      Returns:
      The escalate.
    • 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];
      Specified by:
      hasRequestedAuthConfigs in interface EventActionsOrBuilder
      Returns:
      Whether the requestedAuthConfigs field is set.
    • getRequestedAuthConfigs

      public 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];
      Specified by:
      getRequestedAuthConfigs in interface EventActionsOrBuilder
      Returns:
      The requestedAuthConfigs.
    • getRequestedAuthConfigsOrBuilder

      public 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];
      Specified by:
      getRequestedAuthConfigsOrBuilder in interface EventActionsOrBuilder
    • getTransferAgent

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

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

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static EventActions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventActions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventActions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventActions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventActions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventActions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventActions parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EventActions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EventActions parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EventActions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EventActions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EventActions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public EventActions.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static EventActions.Builder newBuilder()
    • newBuilder

      public static EventActions.Builder newBuilder(EventActions prototype)
    • toBuilder

      public EventActions.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected EventActions.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static EventActions getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<EventActions> parser()
    • getParserForType

      public com.google.protobuf.Parser<EventActions> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public EventActions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder