public static final class Help.Link.Builder extends GeneratedMessage.Builder<Help.Link.Builder> implements Help.LinkOrBuilderDescribes a URL link.
Protobuf type google.rpc.Help.Link
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Help.Link.BuilderImplements
Help.LinkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Help.Link build()| Returns | |
|---|---|
| Type | Description |
Help.Link |
|
buildPartial()
public Help.Link buildPartial()| Returns | |
|---|---|
| Type | Description |
Help.Link |
|
clear()
public Help.Link.Builder clear()| Returns | |
|---|---|
| Type | Description |
Help.Link.Builder |
|
clearDescription()
public Help.Link.Builder clearDescription()Describes what the link offers.
string description = 1;
| Returns | |
|---|---|
| Type | Description |
Help.Link.Builder |
This builder for chaining. |
clearUrl()
public Help.Link.Builder clearUrl()The URL of the link.
string url = 2;
| Returns | |
|---|---|
| Type | Description |
Help.Link.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Help.Link getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Help.Link |
|
getDescription()
public String getDescription()Describes what the link offers.
string description = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Describes what the link offers.
string description = 1;
| 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.
string url = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The url. |
getUrlBytes()
public ByteString getUrlBytes()The URL of the link.
string url = 2;
| 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(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Help.Link.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Help.Link.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Help.Link.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Help.Link.Builder |
|
mergeFrom(Help.Link other)
public Help.Link.Builder mergeFrom(Help.Link other)| Parameter | |
|---|---|
| Name | Description |
other |
Help.Link |
| Returns | |
|---|---|
| Type | Description |
Help.Link.Builder |
|
setDescription(String value)
public Help.Link.Builder setDescription(String value)Describes what the link offers.
string description = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
Help.Link.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Help.Link.Builder setDescriptionBytes(ByteString value)Describes what the link offers.
string description = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
Help.Link.Builder |
This builder for chaining. |
setUrl(String value)
public Help.Link.Builder setUrl(String value)The URL of the link.
string url = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe url to set. |
| Returns | |
|---|---|
| Type | Description |
Help.Link.Builder |
This builder for chaining. |
setUrlBytes(ByteString value)
public Help.Link.Builder setUrlBytes(ByteString value)The URL of the link.
string url = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for url to set. |
| Returns | |
|---|---|
| Type | Description |
Help.Link.Builder |
This builder for chaining. |