Class WidgetMarkup.OpenLink.Builder (0.19.0)

public static final class WidgetMarkup.OpenLink.Builder extends GeneratedMessageV3.Builder<WidgetMarkup.OpenLink.Builder> implements WidgetMarkup.OpenLinkOrBuilder

A link that opens a new window.

Protobuf type google.chat.v1.WidgetMarkup.OpenLink

Static Methods

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

Methods

public WidgetMarkup.OpenLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WidgetMarkup.OpenLink.Builder
Overrides
public WidgetMarkup.OpenLink build()
Returns
Type Description
WidgetMarkup.OpenLink
public WidgetMarkup.OpenLink buildPartial()
Returns
Type Description
WidgetMarkup.OpenLink
public WidgetMarkup.OpenLink.Builder clear()
Returns
Type Description
WidgetMarkup.OpenLink.Builder
Overrides
public WidgetMarkup.OpenLink.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WidgetMarkup.OpenLink.Builder
Overrides
public WidgetMarkup.OpenLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WidgetMarkup.OpenLink.Builder
Overrides
public WidgetMarkup.OpenLink.Builder clearUrl()

The URL to open.

string url = 1;

Returns
Type Description
WidgetMarkup.OpenLink.Builder

This builder for chaining.

public WidgetMarkup.OpenLink.Builder clone()
Returns
Type Description
WidgetMarkup.OpenLink.Builder
Overrides
public WidgetMarkup.OpenLink getDefaultInstanceForType()
Returns
Type Description
WidgetMarkup.OpenLink
public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public WidgetMarkup.OpenLink.Builder mergeFrom(WidgetMarkup.OpenLink other)
Parameter
Name Description
other WidgetMarkup.OpenLink
Returns
Type Description
WidgetMarkup.OpenLink.Builder
public WidgetMarkup.OpenLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WidgetMarkup.OpenLink.Builder
Overrides
Exceptions
Type Description
IOException
public WidgetMarkup.OpenLink.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WidgetMarkup.OpenLink.Builder
Overrides
public final WidgetMarkup.OpenLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WidgetMarkup.OpenLink.Builder
Overrides
public WidgetMarkup.OpenLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WidgetMarkup.OpenLink.Builder
Overrides
public WidgetMarkup.OpenLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WidgetMarkup.OpenLink.Builder
Overrides
public final WidgetMarkup.OpenLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WidgetMarkup.OpenLink.Builder
Overrides
public WidgetMarkup.OpenLink.Builder setUrl(String value)

The URL to open.

string url = 1;

Parameter
Name Description
value String

The url to set.

Returns
Type Description
WidgetMarkup.OpenLink.Builder

This builder for chaining.

public WidgetMarkup.OpenLink.Builder setUrlBytes(ByteString value)

The URL to open.

string url = 1;

Parameter
Name Description
value ByteString

The bytes for url to set.

Returns
Type Description
WidgetMarkup.OpenLink.Builder

This builder for chaining.