Class Backend (2.10.0)

public sealed class Backend : IMessage<Backend>, IEquatable<Backend>, IDeepCloneable<Backend>, IBufferMessage, IMessage

Backend defines the backend configuration for a service.

Inheritance

object > Backend

Namespace

Google.Api

Assembly

Google.Api.CommonProtos.dll

Constructors

Backend()

public Backend()

Backend(Backend)

public Backend(Backend other)
Parameter
NameDescription
otherBackend

Fields

RulesFieldNumber

public const int RulesFieldNumber = 1

Field number for the "rules" field.

Field Value
TypeDescription
int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }
Property Value
TypeDescription
MessageDescriptor

Parser

public static MessageParser<Backend> Parser { get; }
Property Value
TypeDescription
MessageParserBackend

Rules

public RepeatedField<BackendRule> Rules { get; }

A list of API backend rules that apply to individual API methods.

NOTE: All service configuration rules follow "last one wins" order.

Property Value
TypeDescription
RepeatedFieldBackendRule

Methods

CalculateSize()

public int CalculateSize()
Returns
TypeDescription
int

Clone()

public Backend Clone()
Returns
TypeDescription
Backend

Equals(Backend)

public bool Equals(Backend other)
Parameter
NameDescription
otherBackend
Returns
TypeDescription
bool

Equals(object)

public override bool Equals(object other)
Parameter
NameDescription
otherobject
Returns
TypeDescription
bool
Overrides

GetHashCode()

public override int GetHashCode()
Returns
TypeDescription
int
Overrides

MergeFrom(Backend)

public void MergeFrom(Backend other)
Parameter
NameDescription
otherBackend

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream

ToString()

public override string ToString()
Returns
TypeDescription
string
Overrides

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream