public static final class ChatResponse.Builder extends GeneratedMessage.Builder<ChatResponse.Builder> implements ChatResponseOrBuilderResponse message for the Chat method.
Protobuf type google.analytics.data.v1alpha.ChatResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ChatResponse.BuilderImplements
ChatResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllBlocks(Iterable<? extends ResponseBlock> values)
public ChatResponse.Builder addAllBlocks(Iterable<? extends ResponseBlock> values)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 |
values |
Iterable<? extends com.google.analytics.data.v1alpha.ResponseBlock> |
| Returns | |
|---|---|
| Type | Description |
ChatResponse.Builder |
|
addBlocks(ResponseBlock value)
public ChatResponse.Builder addBlocks(ResponseBlock value)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 |
value |
ResponseBlock |
| Returns | |
|---|---|
| Type | Description |
ChatResponse.Builder |
|
addBlocks(ResponseBlock.Builder builderForValue)
public ChatResponse.Builder addBlocks(ResponseBlock.Builder builderForValue)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 |
builderForValue |
ResponseBlock.Builder |
| Returns | |
|---|---|
| Type | Description |
ChatResponse.Builder |
|
addBlocks(int index, ResponseBlock value)
public ChatResponse.Builder addBlocks(int index, ResponseBlock value)The response blocks that make up the chat response. This can include text, tables, and lists.
repeated .google.analytics.data.v1alpha.ResponseBlock blocks = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ResponseBlock |
| Returns | |
|---|---|
| Type | Description |
ChatResponse.Builder |
|
addBlocks(int index, ResponseBlock.Builder builderForValue)
public ChatResponse.Builder addBlocks(int index, ResponseBlock.Builder builderForValue)The response blocks that make up the chat response. This can include text, tables, and lists.
repeated .google.analytics.data.v1alpha.ResponseBlock blocks = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ResponseBlock.Builder |
| Returns | |
|---|---|
| Type | Description |
ChatResponse.Builder |
|
addBlocksBuilder()
public ResponseBlock.Builder addBlocksBuilder()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 |
ResponseBlock.Builder |
|
addBlocksBuilder(int index)
public ResponseBlock.Builder addBlocksBuilder(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.Builder |
|
build()
public ChatResponse build()| Returns | |
|---|---|
| Type | Description |
ChatResponse |
|
buildPartial()
public ChatResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ChatResponse |
|
clear()
public ChatResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ChatResponse.Builder |
|
clearBlocks()
public ChatResponse.Builder clearBlocks()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 |
ChatResponse.Builder |
|
clearPropertyQuota()
public ChatResponse.Builder clearPropertyQuota()This Analytics Property's quota state including this request.
.google.analytics.data.v1alpha.PropertyChatQuota property_quota = 3;
| Returns | |
|---|---|
| Type | Description |
ChatResponse.Builder |
|
clearSessionId()
public ChatResponse.Builder clearSessionId()The unique identifier for this chat session. Provide this ID in subsequent requests to maintain conversational context.
string session_id = 1;
| Returns | |
|---|---|
| Type | Description |
ChatResponse.Builder |
This builder for chaining. |
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 |
|
getBlocksBuilder(int index)
public ResponseBlock.Builder getBlocksBuilder(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.Builder |
|
getBlocksBuilderList()
public List<ResponseBlock.Builder> getBlocksBuilderList()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<Builder> |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getPropertyQuotaBuilder()
public PropertyChatQuota.Builder getPropertyQuotaBuilder()This Analytics Property's quota state including this request.
.google.analytics.data.v1alpha.PropertyChatQuota property_quota = 3;
| Returns | |
|---|---|
| Type | Description |
PropertyChatQuota.Builder |
|
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 |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ChatResponse other)
public ChatResponse.Builder mergeFrom(ChatResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ChatResponse |
| Returns | |
|---|---|
| Type | Description |
ChatResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ChatResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ChatResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ChatResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ChatResponse.Builder |
|
mergePropertyQuota(PropertyChatQuota value)
public ChatResponse.Builder mergePropertyQuota(PropertyChatQuota value)This Analytics Property's quota state including this request.
.google.analytics.data.v1alpha.PropertyChatQuota property_quota = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
PropertyChatQuota |
| Returns | |
|---|---|
| Type | Description |
ChatResponse.Builder |
|
removeBlocks(int index)
public ChatResponse.Builder removeBlocks(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 |
ChatResponse.Builder |
|
setBlocks(int index, ResponseBlock value)
public ChatResponse.Builder setBlocks(int index, ResponseBlock value)The response blocks that make up the chat response. This can include text, tables, and lists.
repeated .google.analytics.data.v1alpha.ResponseBlock blocks = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ResponseBlock |
| Returns | |
|---|---|
| Type | Description |
ChatResponse.Builder |
|
setBlocks(int index, ResponseBlock.Builder builderForValue)
public ChatResponse.Builder setBlocks(int index, ResponseBlock.Builder builderForValue)The response blocks that make up the chat response. This can include text, tables, and lists.
repeated .google.analytics.data.v1alpha.ResponseBlock blocks = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ResponseBlock.Builder |
| Returns | |
|---|---|
| Type | Description |
ChatResponse.Builder |
|
setPropertyQuota(PropertyChatQuota value)
public ChatResponse.Builder setPropertyQuota(PropertyChatQuota value)This Analytics Property's quota state including this request.
.google.analytics.data.v1alpha.PropertyChatQuota property_quota = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
PropertyChatQuota |
| Returns | |
|---|---|
| Type | Description |
ChatResponse.Builder |
|
setPropertyQuota(PropertyChatQuota.Builder builderForValue)
public ChatResponse.Builder setPropertyQuota(PropertyChatQuota.Builder builderForValue)This Analytics Property's quota state including this request.
.google.analytics.data.v1alpha.PropertyChatQuota property_quota = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PropertyChatQuota.Builder |
| Returns | |
|---|---|
| Type | Description |
ChatResponse.Builder |
|
setSessionId(String value)
public ChatResponse.Builder setSessionId(String value)The unique identifier for this chat session. Provide this ID in subsequent requests to maintain conversational context.
string session_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sessionId to set. |
| Returns | |
|---|---|
| Type | Description |
ChatResponse.Builder |
This builder for chaining. |
setSessionIdBytes(ByteString value)
public ChatResponse.Builder setSessionIdBytes(ByteString value)The unique identifier for this chat session. Provide this ID in subsequent requests to maintain conversational context.
string session_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sessionId to set. |
| Returns | |
|---|---|
| Type | Description |
ChatResponse.Builder |
This builder for chaining. |