public interface MessageOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getChunks(int index)
public abstract Chunk getChunks(int index)Optional. Content of the message as a series of chunks.
repeated .google.cloud.ces.v1.Chunk chunks = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Chunk |
|
getChunksCount()
public abstract int getChunksCount()Optional. Content of the message as a series of chunks.
repeated .google.cloud.ces.v1.Chunk chunks = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getChunksList()
public abstract List<Chunk> getChunksList()Optional. Content of the message as a series of chunks.
repeated .google.cloud.ces.v1.Chunk chunks = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Chunk> |
|
getChunksOrBuilder(int index)
public abstract ChunkOrBuilder getChunksOrBuilder(int index)Optional. Content of the message as a series of chunks.
repeated .google.cloud.ces.v1.Chunk chunks = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ChunkOrBuilder |
|
getChunksOrBuilderList()
public abstract List<? extends ChunkOrBuilder> getChunksOrBuilderList()Optional. Content of the message as a series of chunks.
repeated .google.cloud.ces.v1.Chunk chunks = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.ces.v1.ChunkOrBuilder> |
|
getEventTime()
public abstract Timestamp getEventTime()Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example.
.google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The eventTime. |
getEventTimeOrBuilder()
public abstract TimestampOrBuilder getEventTimeOrBuilder()Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example.
.google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getRole()
public abstract String getRole()Optional. The role within the conversation, e.g., user, agent.
string role = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The role. |
getRoleBytes()
public abstract ByteString getRoleBytes()Optional. The role within the conversation, e.g., user, agent.
string role = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for role. |
hasEventTime()
public abstract boolean hasEventTime()Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example.
.google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the eventTime field is set. |