Class CustomHttpPattern
A custom pattern is used for defining custom HTTP verb.
Inheritance
System.Object
CustomHttpPattern
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Google.Api.CommonProtos.dll
Syntax
public sealed class CustomHttpPattern : IMessage<CustomHttpPattern>, IMessage, IEquatable<CustomHttpPattern>, IDeepCloneable<CustomHttpPattern>
Constructors
CustomHttpPattern()
Declaration
public CustomHttpPattern()
CustomHttpPattern(CustomHttpPattern)
Declaration
public CustomHttpPattern(CustomHttpPattern other)
Parameters
Fields
KindFieldNumber
Field number for the "kind" field.
Declaration
public const int KindFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
PathFieldNumber
Field number for the "path" field.
Declaration
public const int PathFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
Properties
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Kind
The name of this custom HTTP verb.
Declaration
public string Kind { get; set; }
Property Value
Type |
Description |
System.String |
|
Parser
Declaration
public static MessageParser<CustomHttpPattern> Parser { get; }
Property Value
Path
The path matched by this custom verb.
Declaration
public string Path { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Implements
Clone()
Declaration
public CustomHttpPattern Clone()
Returns
Implements
Equals(CustomHttpPattern)
Declaration
public bool Equals(CustomHttpPattern other)
Parameters
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(CustomHttpPattern)
Declaration
public void MergeFrom(CustomHttpPattern other)
Parameters
Implements
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Implements
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Implements
Explicit Interface Implementations
IMessage.Descriptor
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Implements