public interface SessionEventOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
EventActions |
getActions()
Optional.
|
EventActionsOrBuilder |
getActionsOrBuilder()
Optional.
|
String |
getAuthor()
Required.
|
com.google.protobuf.ByteString |
getAuthorBytes()
Required.
|
Content |
getContent()
Optional.
|
ContentOrBuilder |
getContentOrBuilder()
Optional.
|
String |
getErrorCode()
Optional.
|
com.google.protobuf.ByteString |
getErrorCodeBytes()
Optional.
|
String |
getErrorMessage()
Optional.
|
com.google.protobuf.ByteString |
getErrorMessageBytes()
Optional.
|
EventMetadata |
getEventMetadata()
Optional.
|
EventMetadataOrBuilder |
getEventMetadataOrBuilder()
Optional.
|
String |
getInvocationId()
Required.
|
com.google.protobuf.ByteString |
getInvocationIdBytes()
Required.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
com.google.protobuf.Timestamp |
getTimestamp()
Required.
|
com.google.protobuf.TimestampOrBuilder |
getTimestampOrBuilder()
Required.
|
boolean |
hasActions()
Optional.
|
boolean |
hasContent()
Optional.
|
boolean |
hasEventMetadata()
Optional.
|
boolean |
hasTimestamp()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. 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) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
com.google.protobuf.ByteString getNameBytes()
Required. 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) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
String getAuthor()
Required. The name of the agent that sent the event, or user.
string author = 3 [(.google.api.field_behavior) = REQUIRED];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];boolean hasContent()
Optional. Content of the event provided by the author.
.google.cloud.aiplatform.v1beta1.Content content = 4 [(.google.api.field_behavior) = OPTIONAL];
Content getContent()
Optional. Content of the event provided by the author.
.google.cloud.aiplatform.v1beta1.Content content = 4 [(.google.api.field_behavior) = OPTIONAL];
ContentOrBuilder getContentOrBuilder()
Optional. Content of the event provided by the author.
.google.cloud.aiplatform.v1beta1.Content content = 4 [(.google.api.field_behavior) = OPTIONAL];
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];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];boolean hasActions()
Optional. Actions executed by the agent.
.google.cloud.aiplatform.v1beta1.EventActions actions = 6 [(.google.api.field_behavior) = OPTIONAL];
EventActions getActions()
Optional. Actions executed by the agent.
.google.cloud.aiplatform.v1beta1.EventActions actions = 6 [(.google.api.field_behavior) = OPTIONAL];
EventActionsOrBuilder getActionsOrBuilder()
Optional. Actions executed by the agent.
.google.cloud.aiplatform.v1beta1.EventActions actions = 6 [(.google.api.field_behavior) = OPTIONAL];
boolean hasTimestamp()
Required. Timestamp when the event was created on client side.
.google.protobuf.Timestamp timestamp = 8 [(.google.api.field_behavior) = REQUIRED];
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];
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];
String getErrorCode()
Optional. Error code if the response is an error. Code varies by model.
string error_code = 9 [(.google.api.field_behavior) = OPTIONAL];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];String getErrorMessage()
Optional. Error message if the response is an error.
string error_message = 10 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getErrorMessageBytes()
Optional. Error message if the response is an error.
string error_message = 10 [(.google.api.field_behavior) = OPTIONAL];boolean hasEventMetadata()
Optional. Metadata relating to this event.
.google.cloud.aiplatform.v1beta1.EventMetadata event_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];
EventMetadata getEventMetadata()
Optional. Metadata relating to this event.
.google.cloud.aiplatform.v1beta1.EventMetadata event_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];
EventMetadataOrBuilder getEventMetadataOrBuilder()
Optional. Metadata relating to this event.
.google.cloud.aiplatform.v1beta1.EventMetadata event_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2025 Google LLC. All rights reserved.