Class Help.Link.Builder (2.42.0)

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

Implements

Help.LinkOrBuilder

Static Methods

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

Methods

public Help.Link.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Help.Link.Builder
Overrides
public Help.Link build()
Returns
Type Description
Help.Link
public Help.Link buildPartial()
Returns
Type Description
Help.Link
public Help.Link.Builder clear()
Returns
Type Description
Help.Link.Builder
Overrides
public Help.Link.Builder clearDescription()

Describes what the link offers.

string description = 1;

Returns
Type Description
Help.Link.Builder

This builder for chaining.

public Help.Link.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Help.Link.Builder
Overrides
public Help.Link.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Help.Link.Builder
Overrides
public Help.Link.Builder clearUrl()

The URL of the link.

string url = 2;

Returns
Type Description
Help.Link.Builder

This builder for chaining.

public Help.Link.Builder clone()
Returns
Type Description
Help.Link.Builder
Overrides
public Help.Link getDefaultInstanceForType()
Returns
Type Description
Help.Link
public String getDescription()

Describes what the link offers.

string description = 1;

Returns
Type Description
String

The description.

public ByteString getDescriptionBytes()

Describes what the link offers.

string description = 1;

Returns
Type Description
ByteString

The bytes for description.

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
public String getUrl()

The URL of the link.

string url = 2;

Returns
Type Description
String

The url.

public ByteString getUrlBytes()

The URL of the link.

string url = 2;

Returns
Type Description
ByteString

The bytes for url.

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public Help.Link.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Help.Link.Builder
Overrides
Exceptions
Type Description
IOException
public Help.Link.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Help.Link.Builder
Overrides
public Help.Link.Builder mergeFrom(Help.Link other)
Parameter
Name Description
other Help.Link
Returns
Type Description
Help.Link.Builder
public final Help.Link.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Help.Link.Builder
Overrides
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.

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.

public Help.Link.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Help.Link.Builder
Overrides
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
Overrides
public final Help.Link.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Help.Link.Builder
Overrides
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.

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.