Class InAppLink.Builder (0.31.0)

public static final class InAppLink.Builder extends GeneratedMessage.Builder<InAppLink.Builder> implements InAppLinkOrBuilder

In app linking start

Protobuf type google.cloud.chronicle.v1.InAppLink

Implements

InAppLinkOrBuilder

Static Methods

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

Methods

public InAppLink build()
Returns
Type Description
InAppLink
public InAppLink buildPartial()
Returns
Type Description
InAppLink
public InAppLink.Builder clear()
Returns
Type Description
InAppLink.Builder
Overrides
public InAppLink.Builder clearIconUrl()

Icon url for the link.

string icon_url = 3;

Returns
Type Description
InAppLink.Builder

This builder for chaining.

public InAppLink.Builder clearLabel()

Label for the link.

string label = 2;

Returns
Type Description
InAppLink.Builder

This builder for chaining.

public InAppLink.Builder clearUrl()

URL to redirect to.

string url = 1;

Returns
Type Description
InAppLink.Builder

This builder for chaining.

public InAppLink getDefaultInstanceForType()
Returns
Type Description
InAppLink
public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
public String getIconUrl()

Icon url for the link.

string icon_url = 3;

Returns
Type Description
String

The iconUrl.

public ByteString getIconUrlBytes()

Icon url for the link.

string icon_url = 3;

Returns
Type Description
ByteString

The bytes for iconUrl.

public String getLabel()

Label for the link.

string label = 2;

Returns
Type Description
String

The label.

public ByteString getLabelBytes()

Label for the link.

string label = 2;

Returns
Type Description
ByteString

The bytes for label.

public String getUrl()

URL to redirect to.

string url = 1;

Returns
Type Description
String

The url.

public ByteString getUrlBytes()

URL to redirect to.

string url = 1;

Returns
Type Description
ByteString

The bytes for url.

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public InAppLink.Builder mergeFrom(InAppLink other)
Parameter
Name Description
other InAppLink
Returns
Type Description
InAppLink.Builder
public InAppLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InAppLink.Builder
Overrides
Exceptions
Type Description
IOException
public InAppLink.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InAppLink.Builder
Overrides
public InAppLink.Builder setIconUrl(String value)

Icon url for the link.

string icon_url = 3;

Parameter
Name Description
value String

The iconUrl to set.

Returns
Type Description
InAppLink.Builder

This builder for chaining.

public InAppLink.Builder setIconUrlBytes(ByteString value)

Icon url for the link.

string icon_url = 3;

Parameter
Name Description
value ByteString

The bytes for iconUrl to set.

Returns
Type Description
InAppLink.Builder

This builder for chaining.

public InAppLink.Builder setLabel(String value)

Label for the link.

string label = 2;

Parameter
Name Description
value String

The label to set.

Returns
Type Description
InAppLink.Builder

This builder for chaining.

public InAppLink.Builder setLabelBytes(ByteString value)

Label for the link.

string label = 2;

Parameter
Name Description
value ByteString

The bytes for label to set.

Returns
Type Description
InAppLink.Builder

This builder for chaining.

public InAppLink.Builder setUrl(String value)

URL to redirect to.

string url = 1;

Parameter
Name Description
value String

The url to set.

Returns
Type Description
InAppLink.Builder

This builder for chaining.

public InAppLink.Builder setUrlBytes(ByteString value)

URL to redirect to.

string url = 1;

Parameter
Name Description
value ByteString

The bytes for url to set.

Returns
Type Description
InAppLink.Builder

This builder for chaining.