public static final class Intent.Message.Card.Button extends GeneratedMessageV3 implements Intent.Message.Card.ButtonOrBuilder
Optional. Contains information about a button.
Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button
Static Fields
POSTBACK_FIELD_NUMBER
public static final int POSTBACK_FIELD_NUMBER
Field Value
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
Field Value
Static Methods
public static Intent.Message.Card.Button getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Intent.Message.Card.Button.Builder newBuilder()
Returns
public static Intent.Message.Card.Button.Builder newBuilder(Intent.Message.Card.Button prototype)
Parameter
Returns
public static Intent.Message.Card.Button parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.Card.Button parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.Card.Button parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Intent.Message.Card.Button parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.Card.Button parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Intent.Message.Card.Button parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.Card.Button parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.Card.Button parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.Card.Button parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.Card.Button parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.Card.Button parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Intent.Message.Card.Button parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Intent.Message.Card.Button> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Intent.Message.Card.Button getDefaultInstanceForType()
Returns
public Parser<Intent.Message.Card.Button> getParserForType()
Returns
Overrides
getPostback()
public String getPostback()
Optional. The text to send back to the Dialogflow API or a URI to
open.
string postback = 2;
Returns
Type | Description |
String | The postback.
|
getPostbackBytes()
public ByteString getPostbackBytes()
Optional. The text to send back to the Dialogflow API or a URI to
open.
string postback = 2;
Returns
public int getSerializedSize()
Returns
Overrides
getText()
Optional. The text to show on the button.
string text = 1;
Returns
Type | Description |
String | The text.
|
getTextBytes()
public ByteString getTextBytes()
Optional. The text to show on the button.
string text = 1;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Intent.Message.Card.Button.Builder newBuilderForType()
Returns
protected Intent.Message.Card.Button.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Intent.Message.Card.Button.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions