Interface SessionEventOrBuilder

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

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

    • getName

      String getName()
       Identifier. The resource name of the event.
       Format:`projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of the event.
       Format:`projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getAuthor

      String getAuthor()
       Required. The name of the agent that sent the event, or user.
       
      string author = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The author.
    • getAuthorBytes

      com.google.protobuf.ByteString getAuthorBytes()
       Required. The name of the agent that sent the event, or user.
       
      string author = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for author.
    • hasContent

      boolean hasContent()
       Optional. Content of the event provided by the author.
       
      .google.cloud.aiplatform.v1.Content content = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the content field is set.
    • getContent

      Content getContent()
       Optional. Content of the event provided by the author.
       
      .google.cloud.aiplatform.v1.Content content = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The content.
    • getContentOrBuilder

      ContentOrBuilder getContentOrBuilder()
       Optional. Content of the event provided by the author.
       
      .google.cloud.aiplatform.v1.Content content = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getInvocationId

      String getInvocationId()
       Required. The invocation id of the event, multiple events can have the same
       invocation id.
       
      string invocation_id = 5 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The invocationId.
    • getInvocationIdBytes

      com.google.protobuf.ByteString getInvocationIdBytes()
       Required. The invocation id of the event, multiple events can have the same
       invocation id.
       
      string invocation_id = 5 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for invocationId.
    • hasActions

      boolean hasActions()
       Optional. Actions executed by the agent.
       
      .google.cloud.aiplatform.v1.EventActions actions = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the actions field is set.
    • getActions

      EventActions getActions()
       Optional. Actions executed by the agent.
       
      .google.cloud.aiplatform.v1.EventActions actions = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The actions.
    • getActionsOrBuilder

      EventActionsOrBuilder getActionsOrBuilder()
       Optional. Actions executed by the agent.
       
      .google.cloud.aiplatform.v1.EventActions actions = 6 [(.google.api.field_behavior) = OPTIONAL];
    • hasTimestamp

      boolean hasTimestamp()
       Required. Timestamp when the event was created on client side.
       
      .google.protobuf.Timestamp timestamp = 8 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      com.google.protobuf.Timestamp getTimestamp()
       Required. Timestamp when the event was created on client side.
       
      .google.protobuf.Timestamp timestamp = 8 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The timestamp.
    • getTimestampOrBuilder

      com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
       Required. Timestamp when the event was created on client side.
       
      .google.protobuf.Timestamp timestamp = 8 [(.google.api.field_behavior) = REQUIRED];
    • getErrorCode

      String getErrorCode()
       Optional. Error code if the response is an error. Code varies by model.
       
      string error_code = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The errorCode.
    • getErrorCodeBytes

      com.google.protobuf.ByteString getErrorCodeBytes()
       Optional. Error code if the response is an error. Code varies by model.
       
      string error_code = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for errorCode.
    • getErrorMessage

      String getErrorMessage()
       Optional. Error message if the response is an error.
       
      string error_message = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The errorMessage.
    • getErrorMessageBytes

      com.google.protobuf.ByteString getErrorMessageBytes()
       Optional. Error message if the response is an error.
       
      string error_message = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for errorMessage.
    • hasEventMetadata

      boolean hasEventMetadata()
       Optional. Metadata relating to this event.
       
      .google.cloud.aiplatform.v1.EventMetadata event_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the eventMetadata field is set.
    • getEventMetadata

      EventMetadata getEventMetadata()
       Optional. Metadata relating to this event.
       
      .google.cloud.aiplatform.v1.EventMetadata event_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The eventMetadata.
    • getEventMetadataOrBuilder

      EventMetadataOrBuilder getEventMetadataOrBuilder()
       Optional. Metadata relating to this event.
       
      .google.cloud.aiplatform.v1.EventMetadata event_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];
    • hasRawEvent

      boolean hasRawEvent()
       Optional. Weakly typed raw event data in proto struct format.
       
      .google.protobuf.Struct raw_event = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the rawEvent field is set.
    • getRawEvent

      com.google.protobuf.Struct getRawEvent()
       Optional. Weakly typed raw event data in proto struct format.
       
      .google.protobuf.Struct raw_event = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The rawEvent.
    • getRawEventOrBuilder

      com.google.protobuf.StructOrBuilder getRawEventOrBuilder()
       Optional. Weakly typed raw event data in proto struct format.
       
      .google.protobuf.Struct raw_event = 12 [(.google.api.field_behavior) = OPTIONAL];