Class Help.Link.Builder (2.27.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
TypeDescription
Descriptor

Methods

public Help.Link.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Help.Link.Builder
Overrides
public Help.Link build()
Returns
TypeDescription
Help.Link
public Help.Link buildPartial()
Returns
TypeDescription
Help.Link
public Help.Link.Builder clear()
Returns
TypeDescription
Help.Link.Builder
Overrides
public Help.Link.Builder clearDescription()

Describes what the link offers.

string description = 1;

Returns
TypeDescription
Help.Link.Builder

This builder for chaining.

public Help.Link.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Help.Link.Builder
Overrides
public Help.Link.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Help.Link.Builder
Overrides
public Help.Link.Builder clearUrl()

The URL of the link.

string url = 2;

Returns
TypeDescription
Help.Link.Builder

This builder for chaining.

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

Describes what the link offers.

string description = 1;

Returns
TypeDescription
String

The description.

public ByteString getDescriptionBytes()

Describes what the link offers.

string description = 1;

Returns
TypeDescription
ByteString

The bytes for description.

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides
public String getUrl()

The URL of the link.

string url = 2;

Returns
TypeDescription
String

The url.

public ByteString getUrlBytes()

The URL of the link.

string url = 2;

Returns
TypeDescription
ByteString

The bytes for url.

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides
public Help.Link.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Help.Link.Builder
Overrides
Exceptions
TypeDescription
IOException
public Help.Link.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Help.Link.Builder
Overrides
public Help.Link.Builder mergeFrom(Help.Link other)
Parameter
NameDescription
otherHelp.Link
Returns
TypeDescription
Help.Link.Builder
public final Help.Link.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Help.Link.Builder
Overrides
public Help.Link.Builder setDescription(String value)

Describes what the link offers.

string description = 1;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Help.Link.Builder

This builder for chaining.

public Help.Link.Builder setDescriptionBytes(ByteString value)

Describes what the link offers.

string description = 1;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Help.Link.Builder

This builder for chaining.

public Help.Link.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Help.Link.Builder
Overrides
public Help.Link.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Help.Link.Builder
Overrides
public final Help.Link.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Help.Link.Builder
Overrides
public Help.Link.Builder setUrl(String value)

The URL of the link.

string url = 2;

Parameter
NameDescription
valueString

The url to set.

Returns
TypeDescription
Help.Link.Builder

This builder for chaining.

public Help.Link.Builder setUrlBytes(ByteString value)

The URL of the link.

string url = 2;

Parameter
NameDescription
valueByteString

The bytes for url to set.

Returns
TypeDescription
Help.Link.Builder

This builder for chaining.