Class Intent.Message.BasicCard.Button.Builder (4.36.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.36.0keyboard_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.v2.Intent.Message.BasicCard.Button
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public Intent . Message . BasicCard . Button . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public Intent . Message . BasicCard . Button build ()
public Intent . Message . BasicCard . Button buildPartial ()
public Intent . Message . BasicCard . Button . Builder clear ()
Overrides
public Intent . Message . BasicCard . Button . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public Intent . Message . BasicCard . Button . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public Intent . Message . BasicCard . Button . Builder clearOpenUriAction ()
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];
public Intent . Message . BasicCard . Button . Builder clearTitle ()
Required. The title of the button.
string title = 1;
public Intent . Message . BasicCard . Button . Builder clone ()
Overrides
public Intent . Message . BasicCard . Button getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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];
public Intent . Message . BasicCard . Button . OpenUriAction . Builder getOpenUriActionBuilder ()
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];
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];
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
Type
Description
ByteString
The bytes for title.
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.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public Intent . Message . BasicCard . Button . Builder mergeFrom ( Intent . Message . BasicCard . Button other )
public Intent . Message . BasicCard . Button . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public Intent . Message . BasicCard . Button . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
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.v2.Intent.Message.BasicCard.Button.OpenUriAction open_uri_action = 2 [(.google.api.field_behavior) = REQUIRED];
public final Intent . Message . BasicCard . Button . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public Intent . Message . BasicCard . Button . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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.v2.Intent.Message.BasicCard.Button.OpenUriAction open_uri_action = 2 [(.google.api.field_behavior) = REQUIRED];
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.v2.Intent.Message.BasicCard.Button.OpenUriAction open_uri_action = 2 [(.google.api.field_behavior) = REQUIRED];
public Intent . Message . BasicCard . Button . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
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.
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.
public final Intent . Message . BasicCard . Button . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
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."],[],[]]