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

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.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem

Inheritance

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder
Overrides

build()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem build()
Returns
Type Description
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem

buildPartial()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem buildPartial()
Returns
Type Description
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem

clear()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder clear()
Returns
Type Description
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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
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.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder
Overrides

clearOpenUriAction()

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

Required. Action to present to the user.

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

Returns
Type Description
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
Type Description
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem getDefaultInstanceForType()
Returns
Type Description
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem

getDescription()

public String getDescription()

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

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

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

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for footer.

getImage()

public Intent.Message.Image getImage()

Optional. Hero image for the carousel item.

.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Intent.Message.Image

The image.

getImageBuilder()

public Intent.Message.Image.Builder getImageBuilder()

Optional. Hero image for the carousel item.

.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Intent.Message.Image.Builder

getImageOrBuilder()

public Intent.Message.ImageOrBuilder getImageOrBuilder()

Optional. Hero image for the carousel item.

.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Intent.Message.ImageOrBuilder

getOpenUriAction()

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

Required. Action to present to the user.

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

Returns
Type Description
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.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction open_uri_action = 1;

Returns
Type Description
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder

getOpenUriActionOrBuilder()

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

Required. Action to present to the user.

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

Returns
Type Description
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
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

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

string title = 2;

Returns
Type Description
ByteString

The bytes for title.

hasImage()

public boolean hasImage()

Optional. Hero image for the carousel item.

.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the image field is set.

hasOpenUriAction()

public boolean hasOpenUriAction()

Required. Action to present to the user.

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

Returns
Type Description
boolean

Whether the openUriAction field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem other)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder mergeFrom(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem other)
Parameter
Name Description
other Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem
Returns
Type Description
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Intent.Message.Image
Returns
Type Description
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.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction open_uri_action = 1;

Parameter
Name Description
value Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction
Returns
Type Description
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
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 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The footer to set.

Returns
Type Description
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 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for footer to set.

Returns
Type Description
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.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Intent.Message.Image
Returns
Type Description
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.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Intent.Message.Image.Builder
Returns
Type Description
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.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction open_uri_action = 1;

Parameter
Name Description
value Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction
Returns
Type Description
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.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction open_uri_action = 1;

Parameter
Name Description
builderForValue Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder
Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value String

The title to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for title to set.

Returns
Type Description
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder
Overrides