public final class ResponseBlock extends GeneratedMessage implements ResponseBlockOrBuilderOne block of structured data in chat response.
Protobuf type google.analytics.data.v1alpha.ResponseBlock
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ResponseBlockImplements
ResponseBlockOrBuilderStatic Fields
TABLE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ResponseBlock getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ResponseBlock |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ResponseBlock.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ResponseBlock.Builder |
|
newBuilder(ResponseBlock prototype)
public static ResponseBlock.Builder newBuilder(ResponseBlock prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ResponseBlock |
| Returns | |
|---|---|
| Type | Description |
ResponseBlock.Builder |
|
parseDelimitedFrom(InputStream input)
public static ResponseBlock parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ResponseBlock |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ResponseBlock parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResponseBlock |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ResponseBlock parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ResponseBlock |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResponseBlock parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResponseBlock |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ResponseBlock parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ResponseBlock |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResponseBlock parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResponseBlock |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ResponseBlock parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ResponseBlock |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ResponseBlock parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResponseBlock |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ResponseBlock parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ResponseBlock |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ResponseBlock parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResponseBlock |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ResponseBlock parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ResponseBlock |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResponseBlock parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResponseBlock |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ResponseBlock> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ResponseBlock> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getBlockCase()
public ResponseBlock.BlockCase getBlockCase()| Returns | |
|---|---|
| Type | Description |
ResponseBlock.BlockCase |
|
getDefaultInstanceForType()
public ResponseBlock getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ResponseBlock |
|
getParserForType()
public Parser<ResponseBlock> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ResponseBlock> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getTable()
public ResponseBlock.DataTable getTable()A block of table data.
.google.analytics.data.v1alpha.ResponseBlock.DataTable table = 2;
| Returns | |
|---|---|
| Type | Description |
ResponseBlock.DataTable |
The table. |
getTableOrBuilder()
public ResponseBlock.DataTableOrBuilder getTableOrBuilder()A block of table data.
.google.analytics.data.v1alpha.ResponseBlock.DataTable table = 2;
| Returns | |
|---|---|
| Type | Description |
ResponseBlock.DataTableOrBuilder |
|
getText()
public String getText()A block of text.
string text = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The text. |
getTextBytes()
public ByteString getTextBytes()A block of text.
string text = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for text. |
hasTable()
public boolean hasTable()A block of table data.
.google.analytics.data.v1alpha.ResponseBlock.DataTable table = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the table field is set. |
hasText()
public boolean hasText()A block of text.
string text = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the text field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ResponseBlock.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ResponseBlock.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ResponseBlock.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ResponseBlock.Builder |
|
toBuilder()
public ResponseBlock.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ResponseBlock.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|