Class Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction (4.4.0)

public static final class Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction extends GeneratedMessageV3 implements Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlActionOrBuilder

Actions on Google action to open a given url.

Protobuf type google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction

Inheritance

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

Fields

URL_FIELD_NUMBER

public static final int URL_FIELD_NUMBER
Field Value
TypeDescription
int

URL_TYPE_HINT_FIELD_NUMBER

public static final int URL_TYPE_HINT_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstance()

public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction getDefaultInstance()
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction

getDefaultInstanceForType()

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

getDescriptor()

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

getParserForType()

public Parser<Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction> getParserForType()
Returns
TypeDescription
Parser<OpenUrlAction>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUrl()

public String getUrl()

Required. URL

string url = 1;

Returns
TypeDescription
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

Required. URL

string url = 1;

Returns
TypeDescription
ByteString

The bytes for url.

getUrlTypeHint()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.UrlTypeHint getUrlTypeHint()

Optional. Specifies the type of viewer that is used when opening the URL. Defaults to opening via web browser.

.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.UrlTypeHint url_type_hint = 3 [(.google.api.field_behavior) = OPTIONAL];

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

The urlTypeHint.

getUrlTypeHintValue()

public int getUrlTypeHintValue()

Optional. Specifies the type of viewer that is used when opening the URL. Defaults to opening via web browser.

.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.UrlTypeHint url_type_hint = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for urlTypeHint.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder newBuilder()
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder

newBuilder(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction prototype)

public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder newBuilder(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction prototype)
Parameter
NameDescription
prototypeIntent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder

newBuilderForType()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder newBuilderForType()
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction> parser()
Returns
TypeDescription
Parser<OpenUrlAction>

toBuilder()

public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder toBuilder()
Returns
TypeDescription
Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException