Class Backend (2.2.0)

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

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
Int32

Properties

Descriptor

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

Parser

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

Rules

public Protobuf.Collections.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
Protobuf.Collections.RepeatedField<BackendRule>

Methods

CalculateSize()

public int CalculateSize()
Returns
TypeDescription
Int32

Clone()

public Backend Clone()
Returns
TypeDescription
Backend

Equals(Backend)

public bool Equals(Backend other)
Parameter
NameDescription
otherBackend
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(Backend)

public void MergeFrom(Backend other)
Parameter
NameDescription
otherBackend

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