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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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