Class Help.Types.Link (2.2.0)

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

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
otherHelp.Types.Link

Fields

public const int DescriptionFieldNumber = 1

Field number for the "description" field.

Field Value
TypeDescription
Int32
public const int UrlFieldNumber = 2

Field number for the "url" field.

Field Value
TypeDescription
Int32

Properties

public string Description { get; set; }

Describes what the link offers.

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

The URL of the link.

Property Value
TypeDescription
String

Methods

public int CalculateSize()
Returns
TypeDescription
Int32
public Help.Types.Link Clone()
Returns
TypeDescription
Help.Types.Link
public bool Equals(Help.Types.Link other)
Parameter
NameDescription
otherHelp.Types.Link
Returns
TypeDescription
Boolean
public override bool Equals(object other)
Parameter
NameDescription
otherObject
Returns
TypeDescription
Boolean
public override int GetHashCode()
Returns
TypeDescription
Int32
public void MergeFrom(Protobuf.CodedInputStream input)
Parameter
NameDescription
inputProtobuf.CodedInputStream
public void MergeFrom(Help.Types.Link other)
Parameter
NameDescription
otherHelp.Types.Link
public override string ToString()
Returns
TypeDescription
String
public void WriteTo(Protobuf.CodedOutputStream output)
Parameter
NameDescription
outputProtobuf.CodedOutputStream