public static final class Intent.Message.TableCard extends GeneratedMessageV3 implements Intent.Message.TableCardOrBuilder
Table card for Actions on Google.
Protobuf type google.cloud.dialogflow.v2.Intent.Message.TableCard
Static Fields
public static final int BUTTONS_FIELD_NUMBER
Field Value
COLUMN_PROPERTIES_FIELD_NUMBER
public static final int COLUMN_PROPERTIES_FIELD_NUMBER
Field Value
IMAGE_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER
Field Value
ROWS_FIELD_NUMBER
public static final int ROWS_FIELD_NUMBER
Field Value
SUBTITLE_FIELD_NUMBER
public static final int SUBTITLE_FIELD_NUMBER
Field Value
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Intent.Message.TableCard getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Intent.Message.TableCard.Builder newBuilder()
Returns
newBuilder(Intent.Message.TableCard prototype)
public static Intent.Message.TableCard.Builder newBuilder(Intent.Message.TableCard prototype)
Parameter
Returns
public static Intent.Message.TableCard parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.TableCard parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Intent.Message.TableCard parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.TableCard parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Intent.Message.TableCard parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.TableCard parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.TableCard parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.TableCard parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.TableCard parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.TableCard parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Intent.Message.TableCard parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.TableCard parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Intent.Message.TableCard> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Intent.Message.BasicCard.Button getButtons(int index)
Optional. List of buttons for the card.
repeated .google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button buttons = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name |
Description |
index |
int
|
Returns
public int getButtonsCount()
Optional. List of buttons for the card.
repeated .google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button buttons = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
public List<Intent.Message.BasicCard.Button> getButtonsList()
Optional. List of buttons for the card.
repeated .google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button buttons = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
public Intent.Message.BasicCard.ButtonOrBuilder getButtonsOrBuilder(int index)
Optional. List of buttons for the card.
repeated .google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button buttons = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name |
Description |
index |
int
|
Returns
public List<? extends Intent.Message.BasicCard.ButtonOrBuilder> getButtonsOrBuilderList()
Optional. List of buttons for the card.
repeated .google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button buttons = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.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.v2.Intent.Message.ColumnProperties column_properties = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name |
Description |
index |
int
|
Returns
getColumnPropertiesCount()
public int getColumnPropertiesCount()
Optional. Display properties for the columns in this table.
repeated .google.cloud.dialogflow.v2.Intent.Message.ColumnProperties column_properties = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
getColumnPropertiesList()
public List<Intent.Message.ColumnProperties> getColumnPropertiesList()
Optional. Display properties for the columns in this table.
repeated .google.cloud.dialogflow.v2.Intent.Message.ColumnProperties column_properties = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
getColumnPropertiesOrBuilder(int index)
public Intent.Message.ColumnPropertiesOrBuilder getColumnPropertiesOrBuilder(int index)
Optional. Display properties for the columns in this table.
repeated .google.cloud.dialogflow.v2.Intent.Message.ColumnProperties column_properties = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name |
Description |
index |
int
|
Returns
getColumnPropertiesOrBuilderList()
public List<? extends Intent.Message.ColumnPropertiesOrBuilder> getColumnPropertiesOrBuilderList()
Optional. Display properties for the columns in this table.
repeated .google.cloud.dialogflow.v2.Intent.Message.ColumnProperties column_properties = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.Intent.Message.ColumnPropertiesOrBuilder> |
|
getDefaultInstanceForType()
public Intent.Message.TableCard getDefaultInstanceForType()
Returns
getImage()
public Intent.Message.Image getImage()
Optional. Image which should be displayed on the card.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getImageOrBuilder()
public Intent.Message.ImageOrBuilder getImageOrBuilder()
Optional. Image which should be displayed on the card.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getParserForType()
public Parser<Intent.Message.TableCard> getParserForType()
Returns
Overrides
getRows(int index)
public Intent.Message.TableCardRow getRows(int index)
Optional. Rows in this table of data.
repeated .google.cloud.dialogflow.v2.Intent.Message.TableCardRow rows = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name |
Description |
index |
int
|
Returns
getRowsCount()
public int getRowsCount()
Optional. Rows in this table of data.
repeated .google.cloud.dialogflow.v2.Intent.Message.TableCardRow rows = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
getRowsList()
public List<Intent.Message.TableCardRow> getRowsList()
Optional. Rows in this table of data.
repeated .google.cloud.dialogflow.v2.Intent.Message.TableCardRow rows = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
getRowsOrBuilder(int index)
public Intent.Message.TableCardRowOrBuilder getRowsOrBuilder(int index)
Optional. Rows in this table of data.
repeated .google.cloud.dialogflow.v2.Intent.Message.TableCardRow rows = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name |
Description |
index |
int
|
Returns
getRowsOrBuilderList()
public List<? extends Intent.Message.TableCardRowOrBuilder> getRowsOrBuilderList()
Optional. Rows in this table of data.
repeated .google.cloud.dialogflow.v2.Intent.Message.TableCardRow rows = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.Intent.Message.TableCardRowOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSubtitle()
public String getSubtitle()
Optional. Subtitle to the title.
string subtitle = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
String |
The subtitle.
|
getSubtitleBytes()
public ByteString getSubtitleBytes()
Optional. Subtitle to the title.
string subtitle = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
ByteString |
The bytes for subtitle.
|
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasImage()
public boolean hasImage()
Optional. Image which should be displayed on the card.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
boolean |
Whether the image field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Intent.Message.TableCard.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.TableCard.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Intent.Message.TableCard.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions