Class Help.Types.Link (2.10.0)

public sealed class Help.Types.Link : IMessage<Help.Types.Link>, IEquatable<Help.Types.Link>, IDeepCloneable<Help.Types.Link>, IBufferMessage, IMessage

Describes a URL link.

Inheritance

object > Help.Types.Link

Namespace

Google.Rpc

Assembly

Google.Api.CommonProtos.dll

Constructors

public Link()
public Link(Help.Types.Link other)
Parameter
NameDescription
otherHelpTypesLink

Fields

public const int DescriptionFieldNumber = 1

Field number for the "description" field.

Field Value
TypeDescription
int
public const int UrlFieldNumber = 2

Field number for the "url" field.

Field Value
TypeDescription
int

Properties

public string Description { get; set; }

Describes what the link offers.

Property Value
TypeDescription
string
public static MessageDescriptor Descriptor { get; }
Property Value
TypeDescription
MessageDescriptor
public static MessageParser<Help.Types.Link> Parser { get; }
Property Value
TypeDescription
MessageParserHelpTypesLink
public string Url { get; set; }

The URL of the link.

Property Value
TypeDescription
string

Methods

public int CalculateSize()
Returns
TypeDescription
int
public Help.Types.Link Clone()
Returns
TypeDescription
HelpTypesLink
public bool Equals(Help.Types.Link other)
Parameter
NameDescription
otherHelpTypesLink
Returns
TypeDescription
bool
public override bool Equals(object other)
Parameter
NameDescription
otherobject
Returns
TypeDescription
bool
Overrides
public override int GetHashCode()
Returns
TypeDescription
int
Overrides
public void MergeFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
public void MergeFrom(Help.Types.Link other)
Parameter
NameDescription
otherHelpTypesLink
public override string ToString()
Returns
TypeDescription
string
Overrides
public void WriteTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream