Class Intent.Message.BasicCard.Button (4.10.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 4.10.0keyboard_arrow_down
public static final class Intent . Message . BasicCard . Button extends GeneratedMessageV3 implements Intent . Message . BasicCard . ButtonOrBuilder
The button object that appears at the bottom of a card.
Protobuf type google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button
Static Fields
public static final int OPEN_URI_ACTION_FIELD_NUMBER
Field Value
public static final int TITLE_FIELD_NUMBER
Field Value
Static Methods
public static Intent . Message . BasicCard . Button getDefaultInstance ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public static Intent . Message . BasicCard . Button . Builder newBuilder ()
Returns
public static Intent . Message . BasicCard . Button . Builder newBuilder ( Intent . Message . BasicCard . Button prototype )
Parameter
Returns
public static Intent . Message . BasicCard . Button parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static Intent . Message . BasicCard . Button parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Intent . Message . BasicCard . Button parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Exceptions
public static Intent . Message . BasicCard . Button parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Intent . Message . BasicCard . Button parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static Intent . Message . BasicCard . Button parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Intent . Message . BasicCard . Button parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static Intent . Message . BasicCard . Button parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Intent . Message . BasicCard . Button parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static Intent . Message . BasicCard . Button parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Intent . Message . BasicCard . Button parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static Intent . Message . BasicCard . Button parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<Intent . Message . BasicCard . Button > parser ()
Returns
Methods
public boolean equals ( Object obj )
Parameter
Returns
Overrides
public Intent . Message . BasicCard . Button getDefaultInstanceForType ()
Returns
public Intent . Message . BasicCard . Button . OpenUriAction getOpenUriAction ()
Required. Action to take when a user taps on the button.
.google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.OpenUriAction open_uri_action = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public Intent . Message . BasicCard . Button . OpenUriActionOrBuilder getOpenUriActionOrBuilder ()
Required. Action to take when a user taps on the button.
.google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.OpenUriAction open_uri_action = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public Parser<Intent . Message . BasicCard . Button > getParserForType ()
Returns
Overrides
public int getSerializedSize ()
Returns
Overrides
Required. The title of the button.
string title = 1;
Returns
Type
Description
String
The title.
public ByteString getTitleBytes ()
Required. The title of the button.
string title = 1;
Returns
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
public boolean hasOpenUriAction ()
Required. Action to take when a user taps on the button.
.google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.OpenUriAction open_uri_action = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the openUriAction field is set.
Returns
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public Intent . Message . BasicCard . Button . Builder newBuilderForType ()
Returns
protected Intent . Message . BasicCard . Button . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public Intent . Message . BasicCard . Button . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[]]