Show / Hide Table of Contents

Class Advice

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

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

Constructors

Advice()

Declaration
public Advice()

Advice(Advice)

Declaration
public Advice(Advice other)
Parameters
Type Name Description
Advice other

Fields

DescriptionFieldNumber

Field number for the "description" field.

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

Properties

Description

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

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<Advice> Parser { get; }
Property Value
Type Description
MessageParser<Advice>

Methods

CalculateSize()

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

Clone()

Declaration
public Advice Clone()
Returns
Type Description
Advice
Implements
IDeepCloneable<T>.Clone()

Equals(Advice)

Declaration
public bool Equals(Advice other)
Parameters
Type Name Description
Advice 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(Advice)

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

MergeFrom(CodedInputStream)

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

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