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
Name Description
other Advice

Fields

DescriptionFieldNumber

public const int DescriptionFieldNumber = 2

Field number for the "description" field.

Field Value
Type Description
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
Type Description
String

Descriptor

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

Parser

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

Methods

CalculateSize()

public int CalculateSize()
Returns
Type Description
Int32

Clone()

public Advice Clone()
Returns
Type Description
Advice

Equals(Advice)

public bool Equals(Advice other)
Parameter
Name Description
other Advice
Returns
Type Description
Boolean

Equals(Object)

public override bool Equals(object other)
Parameter
Name Description
other Object
Returns
Type Description
Boolean

GetHashCode()

public override int GetHashCode()
Returns
Type Description
Int32

MergeFrom(Advice)

public void MergeFrom(Advice other)
Parameter
Name Description
other Advice

MergeFrom(Protobuf.CodedInputStream)

public void MergeFrom(Protobuf.CodedInputStream input)
Parameter
Name Description
input Protobuf.CodedInputStream

ToString()

public override string ToString()
Returns
Type Description
String

WriteTo(Protobuf.CodedOutputStream)

public void WriteTo(Protobuf.CodedOutputStream output)
Parameter
Name Description
output Protobuf.CodedOutputStream