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
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 static final Descriptors.Descriptor getDescriptor()
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