Class CustomHttpPattern (2.2.0)

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

A custom pattern is used for defining custom HTTP verb.

Inheritance

Object > CustomHttpPattern

Namespace

Google.Api

Assembly

Google.Api.CommonProtos.dll

Constructors

CustomHttpPattern()

public CustomHttpPattern()

CustomHttpPattern(CustomHttpPattern)

public CustomHttpPattern(CustomHttpPattern other)
Parameter
NameDescription
otherCustomHttpPattern

Fields

KindFieldNumber

public const int KindFieldNumber = 1

Field number for the "kind" field.

Field Value
TypeDescription
Int32

PathFieldNumber

public const int PathFieldNumber = 2

Field number for the "path" field.

Field Value
TypeDescription
Int32

Properties

Descriptor

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

Kind

public string Kind { get; set; }

The name of this custom HTTP verb.

Property Value
TypeDescription
String

Parser

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

Path

public string Path { get; set; }

The path matched by this custom verb.

Property Value
TypeDescription
String

Methods

CalculateSize()

public int CalculateSize()
Returns
TypeDescription
Int32

Clone()

public CustomHttpPattern Clone()
Returns
TypeDescription
CustomHttpPattern

Equals(CustomHttpPattern)

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

public void MergeFrom(CustomHttpPattern other)
Parameter
NameDescription
otherCustomHttpPattern

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