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
Name Description
other Help.Types.Link

Fields

public const int DescriptionFieldNumber = 1

Field number for the "description" field.

Field Value
Type Description
Int32
public const int UrlFieldNumber = 2

Field number for the "url" field.

Field Value
Type Description
Int32

Properties

public string Description { get; set; }

Describes what the link offers.

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

The URL of the link.

Property Value
Type Description
String

Methods

public int CalculateSize()
Returns
Type Description
Int32
public Help.Types.Link Clone()
Returns
Type Description
Help.Types.Link
public bool Equals(Help.Types.Link other)
Parameter
Name Description
other Help.Types.Link
Returns
Type Description
Boolean
public override bool Equals(object other)
Parameter
Name Description
other Object
Returns
Type Description
Boolean
public override int GetHashCode()
Returns
Type Description
Int32
public void MergeFrom(Protobuf.CodedInputStream input)
Parameter
Name Description
input Protobuf.CodedInputStream
public void MergeFrom(Help.Types.Link other)
Parameter
Name Description
other Help.Types.Link
public override string ToString()
Returns
Type Description
String
public void WriteTo(Protobuf.CodedOutputStream output)
Parameter
Name Description
output Protobuf.CodedOutputStream