Class SystemParameter
Define a parameter's name and location. The parameter may be passed as either
an HTTP header or a URL query parameter, and if both are passed the behavior
is implementation-dependent.
Inheritance
System.Object
SystemParameter
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 SystemParameter : IMessage<SystemParameter>, IMessage, IEquatable<SystemParameter>, IDeepCloneable<SystemParameter>
Constructors
SystemParameter()
Declaration
SystemParameter(SystemParameter)
Declaration
public SystemParameter(SystemParameter other)
Parameters
Fields
Field number for the "http_header" field.
Declaration
public const int HttpHeaderFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
NameFieldNumber
Field number for the "name" field.
Declaration
public const int NameFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
UrlQueryParameterFieldNumber
Field number for the "url_query_parameter" field.
Declaration
public const int UrlQueryParameterFieldNumber = 3
Field Value
Type |
Description |
System.Int32 |
|
Properties
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Define the HTTP header name to use for the parameter. It is case
insensitive.
Declaration
public string HttpHeader { get; set; }
Property Value
Type |
Description |
System.String |
|
Name
Define the name of the parameter, such as "api_key" . It is case sensitive.
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Parser
Declaration
public static MessageParser<SystemParameter> Parser { get; }
Property Value
UrlQueryParameter
Define the URL query parameter name to use for the parameter. It is case
sensitive.
Declaration
public string UrlQueryParameter { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Implements
Clone()
Declaration
public SystemParameter Clone()
Returns
Implements
Equals(SystemParameter)
Declaration
public bool Equals(SystemParameter 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(SystemParameter)
Declaration
public void MergeFrom(SystemParameter 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