Class Advice (2.2.0)

public sealed class Advice : Protobuf.IMessage<Advice>, Protobuf.IBufferMessage

Generated advice about this change, used for providing more information about how a change will affect the existing service.

Inheritance

Object > Advice

Namespace

Google.Api

Assembly

Google.Api.CommonProtos.dll

Constructors

Advice()

public Advice()

Advice(Advice)

public Advice(Advice other)
Parameter
NameDescription
otherAdvice

Fields

DescriptionFieldNumber

public const int DescriptionFieldNumber = 2

Field number for the "description" field.

Field Value
TypeDescription
Int32

Properties

Description

public string Description { get; set; }

Useful description for why this advice was applied and what actions should be taken to mitigate any implied risks.

Property Value
TypeDescription
String

Descriptor

public static Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
TypeDescription
Protobuf.Reflection.MessageDescriptor

Parser

public static Protobuf.MessageParser<Advice> Parser { get; }
Property Value
TypeDescription
Protobuf.MessageParser<Advice>

Methods

CalculateSize()

public int CalculateSize()
Returns
TypeDescription
Int32

Clone()

public Advice Clone()
Returns
TypeDescription
Advice

Equals(Advice)

public bool Equals(Advice other)
Parameter
NameDescription
otherAdvice
Returns
TypeDescription
Boolean

Equals(Object)

public override bool Equals(object other)
Parameter
NameDescription
otherObject
Returns
TypeDescription
Boolean

GetHashCode()

public override int GetHashCode()
Returns
TypeDescription
Int32

MergeFrom(Advice)

public void MergeFrom(Advice other)
Parameter
NameDescription
otherAdvice

MergeFrom(Protobuf.CodedInputStream)

public void MergeFrom(Protobuf.CodedInputStream input)
Parameter
NameDescription
inputProtobuf.CodedInputStream

ToString()

public override string ToString()
Returns
TypeDescription
String

WriteTo(Protobuf.CodedOutputStream)

public void WriteTo(Protobuf.CodedOutputStream output)
Parameter
NameDescription
outputProtobuf.CodedOutputStream