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.v2beta1.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.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
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.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction open_uri_action = 2;
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