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

Fields

KindFieldNumber

public const int KindFieldNumber = 1

Field number for the "kind" field.

Field Value
Type Description
Int32

PathFieldNumber

public const int PathFieldNumber = 2

Field number for the "path" field.

Field Value
Type Description
Int32

Properties

Descriptor

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

Kind

public string Kind { get; set; }

The name of this custom HTTP verb.

Property Value
Type Description
String

Parser

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

Path

public string Path { get; set; }

The path matched by this custom verb.

Property Value
Type Description
String

Methods

CalculateSize()

public int CalculateSize()
Returns
Type Description
Int32

Clone()

public CustomHttpPattern Clone()
Returns
Type Description
CustomHttpPattern

Equals(CustomHttpPattern)

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

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

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