Send feedback
Class Intent.Message.BasicCard.Button.Builder (4.7.4)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.7.4 keyboard_arrow_down
public static final class Intent . Message . BasicCard . Button . Builder extends GeneratedMessageV3 . Builder<Intent . Message . BasicCard . Button . Builder > implements Intent . Message . BasicCard . ButtonOrBuilder
The button object that appears at the bottom of a card.
Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
public Intent . Message . BasicCard . Button . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public Intent . Message . BasicCard . Button build ()
Returns
public Intent . Message . BasicCard . Button buildPartial ()
Returns
public Intent . Message . BasicCard . Button . Builder clear ()
Returns
Overrides
public Intent . Message . BasicCard . Button . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public Intent . Message . BasicCard . Button . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public Intent . Message . BasicCard . Button . Builder clearOpenUriAction ()
Required. Action to take when a user taps on the button.
.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction open_uri_action = 2;
Returns
public Intent . Message . BasicCard . Button . Builder clearTitle ()
Required. The title of the button.
string title = 1;
Returns
public Intent . Message . BasicCard . Button . Builder clone ()
Returns
Overrides
public Intent . Message . BasicCard . Button getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public Intent . Message . BasicCard . Button . OpenUriAction getOpenUriAction ()
Required. Action to take when a user taps on the button.
.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction open_uri_action = 2;
Returns
public Intent . Message . BasicCard . Button . OpenUriAction . Builder getOpenUriActionBuilder ()
Required. Action to take when a user taps on the button.
.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction open_uri_action = 2;
Returns
public Intent . Message . BasicCard . Button . OpenUriActionOrBuilder getOpenUriActionOrBuilder ()
Required. Action to take when a user taps on the button.
.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction open_uri_action = 2;
Returns
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 boolean hasOpenUriAction ()
Required. Action to take when a user taps on the button.
.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction open_uri_action = 2;
Returns
Type Description boolean Whether the openUriAction field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public Intent . Message . BasicCard . Button . Builder mergeFrom ( Intent . Message . BasicCard . Button other )
Parameter
Returns
public Intent . Message . BasicCard . Button . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public Intent . Message . BasicCard . Button . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public Intent . Message . BasicCard . Button . Builder mergeOpenUriAction ( Intent . Message . BasicCard . Button . OpenUriAction value )
Required. Action to take when a user taps on the button.
.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction open_uri_action = 2;
Parameter
Returns
public final Intent . Message . BasicCard . Button . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public Intent . Message . BasicCard . Button . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public Intent . Message . BasicCard . Button . Builder setOpenUriAction ( Intent . Message . BasicCard . Button . OpenUriAction value )
Required. Action to take when a user taps on the button.
.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction open_uri_action = 2;
Parameter
Returns
public Intent . Message . BasicCard . Button . Builder setOpenUriAction ( Intent . Message . BasicCard . Button . OpenUriAction . Builder builderForValue )
Required. Action to take when a user taps on the button.
.google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction open_uri_action = 2;
Parameter
Returns
public Intent . Message . BasicCard . Button . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public Intent . Message . BasicCard . Button . Builder setTitle ( String value )
Required. The title of the button.
string title = 1;
Parameter
Name Description value String
The title to set.
Returns
public Intent . Message . BasicCard . Button . Builder setTitleBytes ( ByteString value )
Required. The title of the button.
string title = 1;
Parameter
Name Description value ByteString
The bytes for title to set.
Returns
public final Intent . Message . BasicCard . Button . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
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-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]