public interface AssistantChunkOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCreateTime()
public abstract Timestamp getCreateTime()Optional. Timestamp when the chunk was created or emitted.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()Optional. Timestamp when the chunk was created or emitted.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDataCase()
public abstract AssistantChunk.DataCase getDataCase()| Returns | |
|---|---|
| Type | Description |
AssistantChunk.DataCase |
|
getPayload()
public abstract Struct getPayload()Optional. Payload which contains structured responses like the quality report, agent version name, suggested responses etc.
.google.protobuf.Struct payload = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Struct |
The payload. |
getPayloadOrBuilder()
public abstract StructOrBuilder getPayloadOrBuilder()Optional. Payload which contains structured responses like the quality report, agent version name, suggested responses etc.
.google.protobuf.Struct payload = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getText()
public abstract String getText()Optional. Text data.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The text. |
getTextBytes()
public abstract ByteString getTextBytes()Optional. Text data.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for text. |
getThought()
public abstract String getThought()Optional. Thought generated by the model.
string thought = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The thought. |
getThoughtBytes()
public abstract ByteString getThoughtBytes()Optional. Thought generated by the model.
string thought = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for thought. |
getTypedPayload()
public abstract TypedPayload getTypedPayload()Optional. Typed payload which contains structured responses.
.google.cloud.ces.v1beta.TypedPayload typed_payload = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TypedPayload |
The typedPayload. |
getTypedPayloadOrBuilder()
public abstract TypedPayloadOrBuilder getTypedPayloadOrBuilder()Optional. Typed payload which contains structured responses.
.google.cloud.ces.v1beta.TypedPayload typed_payload = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TypedPayloadOrBuilder |
|
hasCreateTime()
public abstract boolean hasCreateTime()Optional. Timestamp when the chunk was created or emitted.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasPayload()
public abstract boolean hasPayload()Optional. Payload which contains structured responses like the quality report, agent version name, suggested responses etc.
.google.protobuf.Struct payload = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the payload field is set. |
hasText()
public abstract boolean hasText()Optional. Text data.
string text = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the text field is set. |
hasThought()
public abstract boolean hasThought()Optional. Thought generated by the model.
string thought = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the thought field is set. |
hasTypedPayload()
public abstract boolean hasTypedPayload()Optional. Typed payload which contains structured responses.
.google.cloud.ces.v1beta.TypedPayload typed_payload = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the typedPayload field is set. |