Show / Hide Table of Contents

Class Help.Types.Link

Describes a URL link.

Inheritance
System.Object
Help.Types.Link
Implements
IMessage<Help.Types.Link>
IMessage
System.IEquatable<Help.Types.Link>
IDeepCloneable<Help.Types.Link>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Rpc
Assembly: Google.Api.CommonProtos.dll
Syntax
public sealed class Link : IMessage<Help.Types.Link>, IMessage, IEquatable<Help.Types.Link>, IDeepCloneable<Help.Types.Link>

Constructors

Link()

Declaration
public Link()

Link(Help.Types.Link)

Declaration
public Link(Help.Types.Link other)
Parameters
Type Name Description
Help.Types.Link other

Fields

DescriptionFieldNumber

Field number for the "description" field.

Declaration
public const int DescriptionFieldNumber = 1
Field Value
Type Description
System.Int32

UrlFieldNumber

Field number for the "url" field.

Declaration
public const int UrlFieldNumber = 2
Field Value
Type Description
System.Int32

Properties

Description

Describes what the link offers.

Declaration
public string Description { get; set; }
Property Value
Type Description
System.String

Descriptor

Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type Description
MessageDescriptor

Parser

Declaration
public static MessageParser<Help.Types.Link> Parser { get; }
Property Value
Type Description
MessageParser<Help.Types.Link>

Url

The URL of the link.

Declaration
public string Url { get; set; }
Property Value
Type Description
System.String

Methods

CalculateSize()

Declaration
public int CalculateSize()
Returns
Type Description
System.Int32
Implements
IMessage.CalculateSize()

Clone()

Declaration
public Help.Types.Link Clone()
Returns
Type Description
Help.Types.Link
Implements
IDeepCloneable<T>.Clone()

Equals(Help.Types.Link)

Declaration
public bool Equals(Help.Types.Link other)
Parameters
Type Name Description
Help.Types.Link other
Returns
Type Description
System.Boolean
Implements
System.IEquatable<T>.Equals(T)

Equals(Object)

Declaration
public override bool Equals(object other)
Parameters
Type Name Description
System.Object other
Returns
Type Description
System.Boolean
Overrides
System.Object.Equals(System.Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()

MergeFrom(CodedInputStream)

Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type Name Description
CodedInputStream input
Implements
IMessage.MergeFrom(CodedInputStream)

MergeFrom(Help.Types.Link)

Declaration
public void MergeFrom(Help.Types.Link other)
Parameters
Type Name Description
Help.Types.Link other
Implements
IMessage<T>.MergeFrom(T)

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

WriteTo(CodedOutputStream)

Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Type Name Description
CodedOutputStream output
Implements
IMessage.WriteTo(CodedOutputStream)

Explicit Interface Implementations

IMessage.Descriptor

Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Type Description
MessageDescriptor
Implements
IMessage.Descriptor
Back to top