Class Intent.Message.TableCard (4.5.11)

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
TypeDescription
int

COLUMN_PROPERTIES_FIELD_NUMBER

public static final int COLUMN_PROPERTIES_FIELD_NUMBER
Field Value
TypeDescription
int

IMAGE_FIELD_NUMBER

public static final int IMAGE_FIELD_NUMBER
Field Value
TypeDescription
int

ROWS_FIELD_NUMBER

public static final int ROWS_FIELD_NUMBER
Field Value
TypeDescription
int

SUBTITLE_FIELD_NUMBER

public static final int SUBTITLE_FIELD_NUMBER
Field Value
TypeDescription
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Intent.Message.TableCard getDefaultInstance()
Returns
TypeDescription
Intent.Message.TableCard

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Intent.Message.TableCard.Builder newBuilder()
Returns
TypeDescription
Intent.Message.TableCard.Builder

newBuilder(Intent.Message.TableCard prototype)

public static Intent.Message.TableCard.Builder newBuilder(Intent.Message.TableCard prototype)
Parameter
NameDescription
prototypeIntent.Message.TableCard
Returns
TypeDescription
Intent.Message.TableCard.Builder

parseDelimitedFrom(InputStream input)

public static Intent.Message.TableCard parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Intent.Message.TableCard
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.TableCard parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.TableCard
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Intent.Message.TableCard parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Intent.Message.TableCard
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.TableCard parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.TableCard
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Intent.Message.TableCard parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Intent.Message.TableCard
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.TableCard parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.TableCard
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Intent.Message.TableCard parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Intent.Message.TableCard
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.TableCard parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.TableCard
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Intent.Message.TableCard parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Intent.Message.TableCard
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.TableCard parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.TableCard
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Intent.Message.TableCard parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Intent.Message.TableCard
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.TableCard parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.TableCard
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.ColumnPropertiesOrBuilder>

getDefaultInstanceForType()

public Intent.Message.TableCard getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Intent.Message.ImageOrBuilder

getParserForType()

public Parser<Intent.Message.TableCard> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRowOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSubtitle()

public String getSubtitle()

Optional. Subtitle to the title.

string subtitle = 2;

Returns
TypeDescription
String

The subtitle.

getSubtitleBytes()

public ByteString getSubtitleBytes()

Optional. Subtitle to the title.

string subtitle = 2;

Returns
TypeDescription
ByteString

The bytes for subtitle.

getTitle()

public String getTitle()

Required. Title of the card.

string title = 1;

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Required. Title of the card.

string title = 1;

Returns
TypeDescription
ByteString

The bytes for title.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasImage()

public boolean hasImage()

Optional. Image which should be displayed on the card.

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

Returns
TypeDescription
boolean

Whether the image field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Intent.Message.TableCard.Builder newBuilderForType()
Returns
TypeDescription
Intent.Message.TableCard.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Intent.Message.TableCard.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Intent.Message.TableCard.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Intent.Message.TableCard.Builder toBuilder()
Returns
TypeDescription
Intent.Message.TableCard.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException