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
Fields
URL_FIELD_NUMBER
public static final int URL_FIELD_NUMBER
Field Value
URL_TYPE_HINT_FIELD_NUMBER
public static final int URL_TYPE_HINT_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction getDefaultInstance()
Returns
getDefaultInstanceForType()
public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParserForType()
public Parser<Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUrl()
Required. URL
string url = 1;
Returns
getUrlBytes()
public ByteString getUrlBytes()
Required. URL
string url = 1;
Returns
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
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
Type | Description |
int | The enum numeric value on the wire for urlTypeHint.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder newBuilder()
Returns
newBuilder(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction prototype)
public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder newBuilder(Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction prototype)
Parameter
Returns
newBuilderForType()
public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction> parser()
Returns
toBuilder()
public Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions