Class WidgetMarkup.OpenLink (0.15.0)

public static final class WidgetMarkup.OpenLink extends GeneratedMessageV3 implements WidgetMarkup.OpenLinkOrBuilder

A link that opens a new window.

Protobuf type google.chat.v1.WidgetMarkup.OpenLink

Static Fields

public static final int URL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

public static WidgetMarkup.OpenLink getDefaultInstance()
Returns
Type Description
WidgetMarkup.OpenLink
public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor
public static WidgetMarkup.OpenLink.Builder newBuilder()
Returns
Type Description
WidgetMarkup.OpenLink.Builder
public static WidgetMarkup.OpenLink.Builder newBuilder(WidgetMarkup.OpenLink prototype)
Parameter
Name Description
prototype WidgetMarkup.OpenLink
Returns
Type Description
WidgetMarkup.OpenLink.Builder
public static WidgetMarkup.OpenLink parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WidgetMarkup.OpenLink
Exceptions
Type Description
IOException
public static WidgetMarkup.OpenLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetMarkup.OpenLink
Exceptions
Type Description
IOException
public static WidgetMarkup.OpenLink parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WidgetMarkup.OpenLink
Exceptions
Type Description
InvalidProtocolBufferException
public static WidgetMarkup.OpenLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetMarkup.OpenLink
Exceptions
Type Description
InvalidProtocolBufferException
public static WidgetMarkup.OpenLink parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WidgetMarkup.OpenLink
Exceptions
Type Description
InvalidProtocolBufferException
public static WidgetMarkup.OpenLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetMarkup.OpenLink
Exceptions
Type Description
InvalidProtocolBufferException
public static WidgetMarkup.OpenLink parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WidgetMarkup.OpenLink
Exceptions
Type Description
IOException
public static WidgetMarkup.OpenLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetMarkup.OpenLink
Exceptions
Type Description
IOException
public static WidgetMarkup.OpenLink parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WidgetMarkup.OpenLink
Exceptions
Type Description
IOException
public static WidgetMarkup.OpenLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetMarkup.OpenLink
Exceptions
Type Description
IOException
public static WidgetMarkup.OpenLink parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WidgetMarkup.OpenLink
Exceptions
Type Description
InvalidProtocolBufferException
public static WidgetMarkup.OpenLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetMarkup.OpenLink
Exceptions
Type Description
InvalidProtocolBufferException
public static Parser<WidgetMarkup.OpenLink> parser()
Returns
Type Description
Parser<OpenLink>

Methods

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides
public WidgetMarkup.OpenLink getDefaultInstanceForType()
Returns
Type Description
WidgetMarkup.OpenLink
public Parser<WidgetMarkup.OpenLink> getParserForType()
Returns
Type Description
Parser<OpenLink>
Overrides
public int getSerializedSize()
Returns
Type Description
int
Overrides
public String getUrl()

The URL to open.

string url = 1;

Returns
Type Description
String

The url.

public ByteString getUrlBytes()

The URL to open.

string url = 1;

Returns
Type Description
ByteString

The bytes for url.

public int hashCode()
Returns
Type Description
int
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public WidgetMarkup.OpenLink.Builder newBuilderForType()
Returns
Type Description
WidgetMarkup.OpenLink.Builder
protected WidgetMarkup.OpenLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WidgetMarkup.OpenLink.Builder
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides
public WidgetMarkup.OpenLink.Builder toBuilder()
Returns
Type Description
WidgetMarkup.OpenLink.Builder
public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException