Class Intent.Message.TableCard (4.61.0)

public static final class Intent.Message.TableCard extends GeneratedMessageV3 implements Intent.Message.TableCardOrBuilder

Table card for Actions on Google.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.TableCard

Static Fields

BUTTONS_FIELD_NUMBER

public static final int BUTTONS_FIELD_NUMBER
Field Value
Type Description
int

COLUMN_PROPERTIES_FIELD_NUMBER

public static final int COLUMN_PROPERTIES_FIELD_NUMBER
Field Value
Type Description
int

IMAGE_FIELD_NUMBER

public static final int IMAGE_FIELD_NUMBER
Field Value
Type Description
int

ROWS_FIELD_NUMBER

public static final int ROWS_FIELD_NUMBER
Field Value
Type Description
int

SUBTITLE_FIELD_NUMBER

public static final int SUBTITLE_FIELD_NUMBER
Field Value
Type Description
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Intent.Message.TableCard getDefaultInstance()
Returns
Type Description
Intent.Message.TableCard

getDescriptor()

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

newBuilder()

public static Intent.Message.TableCard.Builder newBuilder()
Returns
Type Description
Intent.Message.TableCard.Builder

newBuilder(Intent.Message.TableCard prototype)

public static Intent.Message.TableCard.Builder newBuilder(Intent.Message.TableCard prototype)
Parameter
Name Description
prototype Intent.Message.TableCard
Returns
Type Description
Intent.Message.TableCard.Builder

parseDelimitedFrom(InputStream input)

public static Intent.Message.TableCard parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Intent.Message.TableCard
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.TableCard parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.TableCard
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Intent.Message.TableCard parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Intent.Message.TableCard
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.TableCard parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.TableCard
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Intent.Message.TableCard parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Intent.Message.TableCard
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.TableCard parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.TableCard
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Intent.Message.TableCard parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Intent.Message.TableCard
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.TableCard parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.TableCard
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Intent.Message.TableCard parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Intent.Message.TableCard
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.TableCard parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.TableCard
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Intent.Message.TableCard parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Intent.Message.TableCard
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.TableCard parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.TableCard
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Intent.Message.TableCard> parser()
Returns
Type Description
Parser<TableCard>

Methods

equals(Object obj)

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

getButtons(int index)

public Intent.Message.BasicCard.Button getButtons(int index)

Optional. List of buttons for the card.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 6;

Parameter
Name Description
index int
Returns
Type Description
Intent.Message.BasicCard.Button

getButtonsCount()

public int getButtonsCount()

Optional. List of buttons for the card.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 6;

Returns
Type Description
int

getButtonsList()

public List<Intent.Message.BasicCard.Button> getButtonsList()

Optional. List of buttons for the card.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 6;

Returns
Type Description
List<Button>

getButtonsOrBuilder(int index)

public Intent.Message.BasicCard.ButtonOrBuilder getButtonsOrBuilder(int index)

Optional. List of buttons for the card.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 6;

Parameter
Name Description
index int
Returns
Type Description
Intent.Message.BasicCard.ButtonOrBuilder

getButtonsOrBuilderList()

public List<? extends Intent.Message.BasicCard.ButtonOrBuilder> getButtonsOrBuilderList()

Optional. List of buttons for the card.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button buttons = 6;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.ButtonOrBuilder>

getColumnProperties(int index)

public Intent.Message.ColumnProperties getColumnProperties(int index)

Optional. Display properties for the columns in this table.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties column_properties = 4;

Parameter
Name Description
index int
Returns
Type Description
Intent.Message.ColumnProperties

getColumnPropertiesCount()

public int getColumnPropertiesCount()

Optional. Display properties for the columns in this table.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties column_properties = 4;

Returns
Type Description
int

getColumnPropertiesList()

public List<Intent.Message.ColumnProperties> getColumnPropertiesList()

Optional. Display properties for the columns in this table.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties column_properties = 4;

Returns
Type Description
List<ColumnProperties>

getColumnPropertiesOrBuilder(int index)

public Intent.Message.ColumnPropertiesOrBuilder getColumnPropertiesOrBuilder(int index)

Optional. Display properties for the columns in this table.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties column_properties = 4;

Parameter
Name Description
index int
Returns
Type Description
Intent.Message.ColumnPropertiesOrBuilder

getColumnPropertiesOrBuilderList()

public List<? extends Intent.Message.ColumnPropertiesOrBuilder> getColumnPropertiesOrBuilderList()

Optional. Display properties for the columns in this table.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties column_properties = 4;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.ColumnPropertiesOrBuilder>

getDefaultInstanceForType()

public Intent.Message.TableCard getDefaultInstanceForType()
Returns
Type Description
Intent.Message.TableCard

getImage()

public Intent.Message.Image getImage()

Optional. Image which should be displayed on the card.

.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 3;

Returns
Type Description
Intent.Message.Image

The image.

getImageOrBuilder()

public Intent.Message.ImageOrBuilder getImageOrBuilder()

Optional. Image which should be displayed on the card.

.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 3;

Returns
Type Description
Intent.Message.ImageOrBuilder

getParserForType()

public Parser<Intent.Message.TableCard> getParserForType()
Returns
Type Description
Parser<TableCard>
Overrides

getRows(int index)

public Intent.Message.TableCardRow getRows(int index)

Optional. Rows in this table of data.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow rows = 5;

Parameter
Name Description
index int
Returns
Type Description
Intent.Message.TableCardRow

getRowsCount()

public int getRowsCount()

Optional. Rows in this table of data.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow rows = 5;

Returns
Type Description
int

getRowsList()

public List<Intent.Message.TableCardRow> getRowsList()

Optional. Rows in this table of data.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow rows = 5;

Returns
Type Description
List<TableCardRow>

getRowsOrBuilder(int index)

public Intent.Message.TableCardRowOrBuilder getRowsOrBuilder(int index)

Optional. Rows in this table of data.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow rows = 5;

Parameter
Name Description
index int
Returns
Type Description
Intent.Message.TableCardRowOrBuilder

getRowsOrBuilderList()

public List<? extends Intent.Message.TableCardRowOrBuilder> getRowsOrBuilderList()

Optional. Rows in this table of data.

repeated .google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow rows = 5;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRowOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubtitle()

public String getSubtitle()

Optional. Subtitle to the title.

string subtitle = 2;

Returns
Type Description
String

The subtitle.

getSubtitleBytes()

public ByteString getSubtitleBytes()

Optional. Subtitle to the title.

string subtitle = 2;

Returns
Type Description
ByteString

The bytes for subtitle.

getTitle()

public String getTitle()

Required. Title of the card.

string title = 1;

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Required. Title of the card.

string title = 1;

Returns
Type Description
ByteString

The bytes for title.

hasImage()

public boolean hasImage()

Optional. Image which should be displayed on the card.

.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 3;

Returns
Type Description
boolean

Whether the image field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Intent.Message.TableCard.Builder newBuilderForType()
Returns
Type Description
Intent.Message.TableCard.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Intent.Message.TableCard.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Intent.Message.TableCard.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Intent.Message.TableCard.Builder toBuilder()
Returns
Type Description
Intent.Message.TableCard.Builder

writeTo(CodedOutputStream output)

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