public static final class HelpLink.Builder extends GeneratedMessage.Builder<HelpLink.Builder> implements HelpLinkOrBuilderDescribes a URL link.
Protobuf type google.cloud.compute.v1.HelpLink
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > HelpLink.BuilderImplements
HelpLinkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public HelpLink build()| Returns | |
|---|---|
| Type | Description |
HelpLink |
|
buildPartial()
public HelpLink buildPartial()| Returns | |
|---|---|
| Type | Description |
HelpLink |
|
clear()
public HelpLink.Builder clear()| Returns | |
|---|---|
| Type | Description |
HelpLink.Builder |
|
clearDescription()
public HelpLink.Builder clearDescription()Describes what the link offers.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
HelpLink.Builder |
This builder for chaining. |
clearUrl()
public HelpLink.Builder clearUrl()The URL of the link.
optional string url = 116079;
| Returns | |
|---|---|
| Type | Description |
HelpLink.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public HelpLink getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
HelpLink |
|
getDescription()
public String getDescription()Describes what the link offers.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Describes what the link offers.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUrl()
public String getUrl()The URL of the link.
optional string url = 116079;
| Returns | |
|---|---|
| Type | Description |
String |
The url. |
getUrlBytes()
public ByteString getUrlBytes()The URL of the link.
optional string url = 116079;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for url. |
hasDescription()
public boolean hasDescription()Describes what the link offers.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the description field is set. |
hasUrl()
public boolean hasUrl()The URL of the link.
optional string url = 116079;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the url field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(HelpLink other)
public HelpLink.Builder mergeFrom(HelpLink other)| Parameter | |
|---|---|
| Name | Description |
other |
HelpLink |
| Returns | |
|---|---|
| Type | Description |
HelpLink.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HelpLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HelpLink.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public HelpLink.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
HelpLink.Builder |
|
setDescription(String value)
public HelpLink.Builder setDescription(String value)Describes what the link offers.
optional string description = 422937596;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
HelpLink.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public HelpLink.Builder setDescriptionBytes(ByteString value)Describes what the link offers.
optional string description = 422937596;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
HelpLink.Builder |
This builder for chaining. |
setUrl(String value)
public HelpLink.Builder setUrl(String value)The URL of the link.
optional string url = 116079;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe url to set. |
| Returns | |
|---|---|
| Type | Description |
HelpLink.Builder |
This builder for chaining. |
setUrlBytes(ByteString value)
public HelpLink.Builder setUrlBytes(ByteString value)The URL of the link.
optional string url = 116079;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for url to set. |
| Returns | |
|---|---|
| Type | Description |
HelpLink.Builder |
This builder for chaining. |