Class ChatResponse (0.110.0)

public final class ChatResponse extends GeneratedMessage implements ChatResponseOrBuilder

Response message for the Chat method.

Protobuf type google.analytics.data.v1alpha.ChatResponse

Static Fields

BLOCKS_FIELD_NUMBER

public static final int BLOCKS_FIELD_NUMBER
Field Value
Type Description
int

PROPERTY_QUOTA_FIELD_NUMBER

public static final int PROPERTY_QUOTA_FIELD_NUMBER
Field Value
Type Description
int

SESSION_ID_FIELD_NUMBER

public static final int SESSION_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ChatResponse getDefaultInstance()
Returns
Type Description
ChatResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ChatResponse.Builder newBuilder()
Returns
Type Description
ChatResponse.Builder

newBuilder(ChatResponse prototype)

public static ChatResponse.Builder newBuilder(ChatResponse prototype)
Parameter
Name Description
prototype ChatResponse
Returns
Type Description
ChatResponse.Builder

parseDelimitedFrom(InputStream input)

public static ChatResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ChatResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChatResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChatResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ChatResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ChatResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ChatResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChatResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ChatResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ChatResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ChatResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChatResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ChatResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ChatResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ChatResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChatResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ChatResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ChatResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChatResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChatResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ChatResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ChatResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ChatResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChatResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ChatResponse> parser()
Returns
Type Description
Parser<ChatResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBlocks(int index)

public ResponseBlock getBlocks(int index)

The response blocks that make up the chat response. This can include text, tables, and lists.

repeated .google.analytics.data.v1alpha.ResponseBlock blocks = 2;

Parameter
Name Description
index int
Returns
Type Description
ResponseBlock

getBlocksCount()

public int getBlocksCount()

The response blocks that make up the chat response. This can include text, tables, and lists.

repeated .google.analytics.data.v1alpha.ResponseBlock blocks = 2;

Returns
Type Description
int

getBlocksList()

public List<ResponseBlock> getBlocksList()

The response blocks that make up the chat response. This can include text, tables, and lists.

repeated .google.analytics.data.v1alpha.ResponseBlock blocks = 2;

Returns
Type Description
List<ResponseBlock>

getBlocksOrBuilder(int index)

public ResponseBlockOrBuilder getBlocksOrBuilder(int index)

The response blocks that make up the chat response. This can include text, tables, and lists.

repeated .google.analytics.data.v1alpha.ResponseBlock blocks = 2;

Parameter
Name Description
index int
Returns
Type Description
ResponseBlockOrBuilder

getBlocksOrBuilderList()

public List<? extends ResponseBlockOrBuilder> getBlocksOrBuilderList()

The response blocks that make up the chat response. This can include text, tables, and lists.

repeated .google.analytics.data.v1alpha.ResponseBlock blocks = 2;

Returns
Type Description
List<? extends com.google.analytics.data.v1alpha.ResponseBlockOrBuilder>

getDefaultInstanceForType()

public ChatResponse getDefaultInstanceForType()
Returns
Type Description
ChatResponse

getParserForType()

public Parser<ChatResponse> getParserForType()
Returns
Type Description
Parser<ChatResponse>
Overrides

getPropertyQuota()

public PropertyChatQuota getPropertyQuota()

This Analytics Property's quota state including this request.

.google.analytics.data.v1alpha.PropertyChatQuota property_quota = 3;

Returns
Type Description
PropertyChatQuota

The propertyQuota.

getPropertyQuotaOrBuilder()

public PropertyChatQuotaOrBuilder getPropertyQuotaOrBuilder()

This Analytics Property's quota state including this request.

.google.analytics.data.v1alpha.PropertyChatQuota property_quota = 3;

Returns
Type Description
PropertyChatQuotaOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSessionId()

public String getSessionId()

The unique identifier for this chat session. Provide this ID in subsequent requests to maintain conversational context.

string session_id = 1;

Returns
Type Description
String

The sessionId.

getSessionIdBytes()

public ByteString getSessionIdBytes()

The unique identifier for this chat session. Provide this ID in subsequent requests to maintain conversational context.

string session_id = 1;

Returns
Type Description
ByteString

The bytes for sessionId.

hasPropertyQuota()

public boolean hasPropertyQuota()

This Analytics Property's quota state including this request.

.google.analytics.data.v1alpha.PropertyChatQuota property_quota = 3;

Returns
Type Description
boolean

Whether the propertyQuota field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ChatResponse.Builder newBuilderForType()
Returns
Type Description
ChatResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ChatResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ChatResponse.Builder
Overrides

toBuilder()

public ChatResponse.Builder toBuilder()
Returns
Type Description
ChatResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException