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 |
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Intent.Message.TableCard.Builder newBuilder()
newBuilder(Intent.Message.TableCard prototype)
public static Intent.Message.TableCard.Builder newBuilder(Intent.Message.TableCard prototype)
public static Intent.Message.TableCard parseDelimitedFrom(InputStream input)
public static Intent.Message.TableCard parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Intent.Message.TableCard parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.TableCard parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Intent.Message.TableCard parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.TableCard parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.TableCard parseFrom(CodedInputStream input)
public static Intent.Message.TableCard parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.TableCard parseFrom(InputStream input)
public static Intent.Message.TableCard parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Intent.Message.TableCard parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.TableCard parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Intent.Message.TableCard> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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
|
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 |
Type |
Description |
int |
|
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];
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
|
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
|
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 |
Type |
Description |
int |
|
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];
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
|
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()
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];
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];
getParserForType()
public Parser<Intent.Message.TableCard> getParserForType()
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
|
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 |
Type |
Description |
int |
|
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];
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
|
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 |
Type |
Description |
int |
|
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 |
Type |
Description |
ByteString |
The bytes for title.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Intent.Message.TableCard.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.TableCard.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Intent.Message.TableCard.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides