public static final class InAppLink.Builder extends GeneratedMessage.Builder<InAppLink.Builder> implements InAppLinkOrBuilderIn app linking start
Protobuf type google.cloud.chronicle.v1.InAppLink
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InAppLink.BuilderImplements
InAppLinkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public InAppLink build()| Returns | |
|---|---|
| Type | Description |
InAppLink |
|
buildPartial()
public InAppLink buildPartial()| Returns | |
|---|---|
| Type | Description |
InAppLink |
|
clear()
public InAppLink.Builder clear()| Returns | |
|---|---|
| Type | Description |
InAppLink.Builder |
|
clearIconUrl()
public InAppLink.Builder clearIconUrl()Icon url for the link.
string icon_url = 3;
| Returns | |
|---|---|
| Type | Description |
InAppLink.Builder |
This builder for chaining. |
clearLabel()
public InAppLink.Builder clearLabel()Label for the link.
string label = 2;
| Returns | |
|---|---|
| Type | Description |
InAppLink.Builder |
This builder for chaining. |
clearUrl()
public InAppLink.Builder clearUrl()URL to redirect to.
string url = 1;
| Returns | |
|---|---|
| Type | Description |
InAppLink.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public InAppLink getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InAppLink |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIconUrl()
public String getIconUrl()Icon url for the link.
string icon_url = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The iconUrl. |
getIconUrlBytes()
public ByteString getIconUrlBytes()Icon url for the link.
string icon_url = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for iconUrl. |
getLabel()
public String getLabel()Label for the link.
string label = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The label. |
getLabelBytes()
public ByteString getLabelBytes()Label for the link.
string label = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for label. |
getUrl()
public String getUrl()URL to redirect to.
string url = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The url. |
getUrlBytes()
public ByteString getUrlBytes()URL to redirect to.
string url = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for url. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(InAppLink other)
public InAppLink.Builder mergeFrom(InAppLink other)| Parameter | |
|---|---|
| Name | Description |
other |
InAppLink |
| Returns | |
|---|---|
| Type | Description |
InAppLink.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InAppLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InAppLink.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InAppLink.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InAppLink.Builder |
|
setIconUrl(String value)
public InAppLink.Builder setIconUrl(String value)Icon url for the link.
string icon_url = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe iconUrl to set. |
| Returns | |
|---|---|
| Type | Description |
InAppLink.Builder |
This builder for chaining. |
setIconUrlBytes(ByteString value)
public InAppLink.Builder setIconUrlBytes(ByteString value)Icon url for the link.
string icon_url = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for iconUrl to set. |
| Returns | |
|---|---|
| Type | Description |
InAppLink.Builder |
This builder for chaining. |
setLabel(String value)
public InAppLink.Builder setLabel(String value)Label for the link.
string label = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe label to set. |
| Returns | |
|---|---|
| Type | Description |
InAppLink.Builder |
This builder for chaining. |
setLabelBytes(ByteString value)
public InAppLink.Builder setLabelBytes(ByteString value)Label for the link.
string label = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for label to set. |
| Returns | |
|---|---|
| Type | Description |
InAppLink.Builder |
This builder for chaining. |
setUrl(String value)
public InAppLink.Builder setUrl(String value)URL to redirect to.
string url = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe url to set. |
| Returns | |
|---|---|
| Type | Description |
InAppLink.Builder |
This builder for chaining. |
setUrlBytes(ByteString value)
public InAppLink.Builder setUrlBytes(ByteString value)URL to redirect to.
string url = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for url to set. |
| Returns | |
|---|---|
| Type | Description |
InAppLink.Builder |
This builder for chaining. |