Class Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder (4.3.1)

public static final class Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder extends GeneratedMessageV3.Builder<Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder> implements Intent.Message.BrowseCarouselCard.BrowseCarouselCardItemOrBuilder

Browsing carousel tile

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder
Overrides

build()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem build()
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem

buildPartial()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem buildPartial()
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem

clear()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder clear()
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder
Overrides

clearDescription()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder clearDescription()

Optional. Description of the carousel item. Maximum of four lines of text.

string description = 3;

Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder
Overrides

clearFooter()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder clearFooter()

Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.

string footer = 5;

Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

This builder for chaining.

clearImage()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder clearImage()

Optional. Hero image for the carousel item.

.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 4;

Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder
Overrides

clearOpenUriAction()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder clearOpenUriAction()

Required. Action to present to the user.

.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction open_uri_action = 1;

Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

clearTitle()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder clearTitle()

Required. Title of the carousel item. Maximum of two lines of text.

string title = 2;

Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

This builder for chaining.

clone()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder clone()
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder
Overrides

getDefaultInstanceForType()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem getDefaultInstanceForType()
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem

getDescription()

public String getDescription()

Optional. Description of the carousel item. Maximum of four lines of text.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Description of the carousel item. Maximum of four lines of text.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFooter()

public String getFooter()

Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.

string footer = 5;

Returns
TypeDescription
String

The footer.

getFooterBytes()

public ByteString getFooterBytes()

Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.

string footer = 5;

Returns
TypeDescription
ByteString

The bytes for footer.

getImage()

public Intent.Message.Image getImage()

Optional. Hero image for the carousel item.

.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 4;

Returns
TypeDescription
Intent.Message.Image

The image.

getImageBuilder()

public Intent.Message.Image.Builder getImageBuilder()

Optional. Hero image for the carousel item.

.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 4;

Returns
TypeDescription
Intent.Message.Image.Builder

getImageOrBuilder()

public Intent.Message.ImageOrBuilder getImageOrBuilder()

Optional. Hero image for the carousel item.

.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 4;

Returns
TypeDescription
Intent.Message.ImageOrBuilder

getOpenUriAction()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction getOpenUriAction()

Required. Action to present to the user.

.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction open_uri_action = 1;

Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction

The openUriAction.

getOpenUriActionBuilder()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder getOpenUriActionBuilder()

Required. Action to present to the user.

.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction open_uri_action = 1;

Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder

getOpenUriActionOrBuilder()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlActionOrBuilder getOpenUriActionOrBuilder()

Required. Action to present to the user.

.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction open_uri_action = 1;

Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlActionOrBuilder

getTitle()

public String getTitle()

Required. Title of the carousel item. Maximum of two lines of text.

string title = 2;

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Required. Title of the carousel item. Maximum of two lines of text.

string title = 2;

Returns
TypeDescription
ByteString

The bytes for title.

hasImage()

public boolean hasImage()

Optional. Hero image for the carousel item.

.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 4;

Returns
TypeDescription
boolean

Whether the image field is set.

hasOpenUriAction()

public boolean hasOpenUriAction()

Required. Action to present to the user.

.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction open_uri_action = 1;

Returns
TypeDescription
boolean

Whether the openUriAction field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem other)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder mergeFrom(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem other)
Parameter
NameDescription
otherIntent.Message.BrowseCarouselCard.BrowseCarouselCardItem
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder
Overrides

mergeImage(Intent.Message.Image value)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder mergeImage(Intent.Message.Image value)

Optional. Hero image for the carousel item.

.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 4;

Parameter
NameDescription
valueIntent.Message.Image
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

mergeOpenUriAction(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction value)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder mergeOpenUriAction(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction value)

Required. Action to present to the user.

.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction open_uri_action = 1;

Parameter
NameDescription
valueIntent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder
Overrides

setDescription(String value)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder setDescription(String value)

Optional. Description of the carousel item. Maximum of four lines of text.

string description = 3;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder setDescriptionBytes(ByteString value)

Optional. Description of the carousel item. Maximum of four lines of text.

string description = 3;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder
Overrides

setFooter(String value)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder setFooter(String value)

Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.

string footer = 5;

Parameter
NameDescription
valueString

The footer to set.

Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

This builder for chaining.

setFooterBytes(ByteString value)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder setFooterBytes(ByteString value)

Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text.

string footer = 5;

Parameter
NameDescription
valueByteString

The bytes for footer to set.

Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

This builder for chaining.

setImage(Intent.Message.Image value)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder setImage(Intent.Message.Image value)

Optional. Hero image for the carousel item.

.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 4;

Parameter
NameDescription
valueIntent.Message.Image
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

setImage(Intent.Message.Image.Builder builderForValue)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder setImage(Intent.Message.Image.Builder builderForValue)

Optional. Hero image for the carousel item.

.google.cloud.dialogflow.v2beta1.Intent.Message.Image image = 4;

Parameter
NameDescription
builderForValueIntent.Message.Image.Builder
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

setOpenUriAction(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction value)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder setOpenUriAction(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction value)

Required. Action to present to the user.

.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction open_uri_action = 1;

Parameter
NameDescription
valueIntent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

setOpenUriAction(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder builderForValue)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder setOpenUriAction(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder builderForValue)

Required. Action to present to the user.

.google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction open_uri_action = 1;

Parameter
NameDescription
builderForValueIntent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder
Overrides

setTitle(String value)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder setTitle(String value)

Required. Title of the carousel item. Maximum of two lines of text.

string title = 2;

Parameter
NameDescription
valueString

The title to set.

Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder setTitleBytes(ByteString value)

Required. Title of the carousel item. Maximum of two lines of text.

string title = 2;

Parameter
NameDescription
valueByteString

The bytes for title to set.

Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder
Overrides