public interface SessionEventOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getActions()
public abstract EventActions getActions()
Optional. Actions executed by the agent.
.google.cloud.aiplatform.v1beta1.EventActions actions = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
EventActions |
The actions. |
getActionsOrBuilder()
public abstract EventActionsOrBuilder getActionsOrBuilder()
Optional. Actions executed by the agent.
.google.cloud.aiplatform.v1beta1.EventActions actions = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
EventActionsOrBuilder |
getAuthor()
public abstract String getAuthor()
Required. The name of the agent that sent the event, or user.
string author = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The author. |
getAuthorBytes()
public abstract ByteString getAuthorBytes()
Required. The name of the agent that sent the event, or user.
string author = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for author. |
getContent()
public abstract Content getContent()
Optional. Content of the event provided by the author.
.google.cloud.aiplatform.v1beta1.Content content = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Content |
The content. |
getContentOrBuilder()
public abstract ContentOrBuilder getContentOrBuilder()
Optional. Content of the event provided by the author.
.google.cloud.aiplatform.v1beta1.Content content = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ContentOrBuilder |
getErrorCode()
public abstract 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 | |
---|---|
Type | Description |
String |
The errorCode. |
getErrorCodeBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for errorCode. |
getErrorMessage()
public abstract String getErrorMessage()
Optional. Error message if the response is an error.
string error_message = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The errorMessage. |
getErrorMessageBytes()
public abstract ByteString getErrorMessageBytes()
Optional. Error message if the response is an error.
string error_message = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for errorMessage. |
getEventMetadata()
public abstract EventMetadata getEventMetadata()
Optional. Metadata relating to this event.
.google.cloud.aiplatform.v1beta1.EventMetadata event_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
EventMetadata |
The eventMetadata. |
getEventMetadataOrBuilder()
public abstract EventMetadataOrBuilder getEventMetadataOrBuilder()
Optional. Metadata relating to this event.
.google.cloud.aiplatform.v1beta1.EventMetadata event_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
EventMetadataOrBuilder |
getInvocationId()
public abstract 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 | |
---|---|
Type | Description |
String |
The invocationId. |
getInvocationIdBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for invocationId. |
getName()
public abstract 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 | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getTimestamp()
public abstract Timestamp getTimestamp()
Required. Timestamp when the event was created on client side.
.google.protobuf.Timestamp timestamp = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Timestamp |
The timestamp. |
getTimestampOrBuilder()
public abstract TimestampOrBuilder getTimestampOrBuilder()
Required. Timestamp when the event was created on client side.
.google.protobuf.Timestamp timestamp = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasActions()
public abstract boolean hasActions()
Optional. Actions executed by the agent.
.google.cloud.aiplatform.v1beta1.EventActions actions = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the actions field is set. |
hasContent()
public abstract boolean hasContent()
Optional. Content of the event provided by the author.
.google.cloud.aiplatform.v1beta1.Content content = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the content field is set. |
hasEventMetadata()
public abstract boolean hasEventMetadata()
Optional. Metadata relating to this event.
.google.cloud.aiplatform.v1beta1.EventMetadata event_metadata = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the eventMetadata field is set. |
hasTimestamp()
public abstract boolean hasTimestamp()
Required. Timestamp when the event was created on client side.
.google.protobuf.Timestamp timestamp = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the timestamp field is set. |