public static final class Help.Link.Builder extends GeneratedMessageV3.Builder<Help.Link.Builder> implements Help.LinkOrBuilder
Describes a URL link.
Protobuf type google.rpc.Help.Link
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Help.Link.BuilderImplements
Help.LinkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Help.Link.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Help.Link.Builder |
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. |
clearField(Descriptors.FieldDescriptor field)
public Help.Link.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Help.Link.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Help.Link.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Help.Link.Builder |
clearUrl()
public Help.Link.Builder clearUrl()
The URL of the link.
string url = 2;
Returns | |
---|---|
Type | Description |
Help.Link.Builder | This builder for chaining. |
clone()
public Help.Link.Builder clone()
Returns | |
---|---|
Type | Description |
Help.Link.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Help.Link.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
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 | String The 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 | ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
Help.Link.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Help.Link.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Help.Link.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Help.Link.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Help.Link.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Help.Link.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Help.Link.Builder |
setUrl(String value)
public Help.Link.Builder setUrl(String value)
The URL of the link.
string url = 2;
Parameter | |
---|---|
Name | Description |
value | String The 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 | ByteString The bytes for url to set. |
Returns | |
---|---|
Type | Description |
Help.Link.Builder | This builder for chaining. |