public final class ChatAiAssistantResponse extends GeneratedMessage implements ChatAiAssistantResponseOrBuilder
Response message for
AssistantService.ChatAiAssistant.
Protobuf type google.cloud.ces.v1beta.ChatAiAssistantResponse
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
EVENT_ID_FIELD_NUMBER
public static final int EVENT_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EVENT_TIME_FIELD_NUMBER
public static final int EVENT_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SESSION_CHECKPOINT_FIELD_NUMBER
public static final int SESSION_CHECKPOINT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STATUS_MESSAGE_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TEXT_CHUNK_FIELD_NUMBER
public static final int TEXT_CHUNK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
UI_EVENT_FIELD_NUMBER
public static final int UI_EVENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ChatAiAssistantResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ChatAiAssistantResponse.Builder newBuilder()
newBuilder(ChatAiAssistantResponse prototype)
public static ChatAiAssistantResponse.Builder newBuilder(ChatAiAssistantResponse prototype)
public static ChatAiAssistantResponse parseDelimitedFrom(InputStream input)
public static ChatAiAssistantResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ChatAiAssistantResponse parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ChatAiAssistantResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ChatAiAssistantResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChatAiAssistantResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChatAiAssistantResponse parseFrom(CodedInputStream input)
public static ChatAiAssistantResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ChatAiAssistantResponse parseFrom(InputStream input)
public static ChatAiAssistantResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ChatAiAssistantResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ChatAiAssistantResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ChatAiAssistantResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ChatAiAssistantResponse getDefaultInstanceForType()
getEventCase()
public ChatAiAssistantResponse.EventCase getEventCase()
getEventId()
public String getEventId()
Unique identifier for the event.
string event_id = 1;
| Returns |
| Type |
Description |
String |
The eventId.
|
getEventIdBytes()
public ByteString getEventIdBytes()
Unique identifier for the event.
string event_id = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for eventId.
|
getEventTime()
public Timestamp getEventTime()
Timestamp when the event occurred.
.google.protobuf.Timestamp event_time = 2;
| Returns |
| Type |
Description |
Timestamp |
The eventTime.
|
getEventTimeOrBuilder()
public TimestampOrBuilder getEventTimeOrBuilder()
Timestamp when the event occurred.
.google.protobuf.Timestamp event_time = 2;
getParserForType()
public Parser<ChatAiAssistantResponse> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSessionCheckpoint()
public SessionCheckpoint getSessionCheckpoint()
Session checkpoint/compaction recap event containing user intent and
rolling summary.
.google.cloud.ces.v1beta.SessionCheckpoint session_checkpoint = 13;
getSessionCheckpointOrBuilder()
public SessionCheckpointOrBuilder getSessionCheckpointOrBuilder()
Session checkpoint/compaction recap event containing user intent and
rolling summary.
.google.cloud.ces.v1beta.SessionCheckpoint session_checkpoint = 13;
getStatusMessage()
public String getStatusMessage()
Simple status update
string status_message = 4;
| Returns |
| Type |
Description |
String |
The statusMessage.
|
getStatusMessageBytes()
public ByteString getStatusMessageBytes()
Simple status update
string status_message = 4;
| Returns |
| Type |
Description |
ByteString |
The bytes for statusMessage.
|
getTextChunk()
public String getTextChunk()
Text Token (for streaming Gemini responses word-by-word)
string text_chunk = 3;
| Returns |
| Type |
Description |
String |
The textChunk.
|
getTextChunkBytes()
public ByteString getTextChunkBytes()
Text Token (for streaming Gemini responses word-by-word)
string text_chunk = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for textChunk.
|
getUiEvent()
public UiEvent getUiEvent()
Optional. UI event payload.
.google.cloud.ces.v1beta.UiEvent ui_event = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
UiEvent |
The uiEvent.
|
getUiEventOrBuilder()
public UiEventOrBuilder getUiEventOrBuilder()
Optional. UI event payload.
.google.cloud.ces.v1beta.UiEvent ui_event = 5 [(.google.api.field_behavior) = OPTIONAL];
hasEventTime()
public boolean hasEventTime()
Timestamp when the event occurred.
.google.protobuf.Timestamp event_time = 2;
| Returns |
| Type |
Description |
boolean |
Whether the eventTime field is set.
|
hasSessionCheckpoint()
public boolean hasSessionCheckpoint()
Session checkpoint/compaction recap event containing user intent and
rolling summary.
.google.cloud.ces.v1beta.SessionCheckpoint session_checkpoint = 13;
| Returns |
| Type |
Description |
boolean |
Whether the sessionCheckpoint field is set.
|
hasStatusMessage()
public boolean hasStatusMessage()
Simple status update
string status_message = 4;
| Returns |
| Type |
Description |
boolean |
Whether the statusMessage field is set.
|
hasTextChunk()
public boolean hasTextChunk()
Text Token (for streaming Gemini responses word-by-word)
string text_chunk = 3;
| Returns |
| Type |
Description |
boolean |
Whether the textChunk field is set.
|
hasUiEvent()
public boolean hasUiEvent()
Optional. UI event payload.
.google.cloud.ces.v1beta.UiEvent ui_event = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the uiEvent field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ChatAiAssistantResponse.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ChatAiAssistantResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ChatAiAssistantResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides