Show / Hide Table of Contents

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
Implements
IMessage<SystemParameter>
IMessage
System.IEquatable<SystemParameter>
IDeepCloneable<SystemParameter>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Api
Assembly: Google.Api.CommonProtos.dll
Syntax
public sealed class SystemParameter : IMessage<SystemParameter>, IMessage, IEquatable<SystemParameter>, IDeepCloneable<SystemParameter>

Constructors

SystemParameter()

Declaration
public SystemParameter()

SystemParameter(SystemParameter)

Declaration
public SystemParameter(SystemParameter other)
Parameters
Type Name Description
SystemParameter other

Fields

HttpHeaderFieldNumber

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
Type Description
MessageDescriptor

HttpHeader

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
Type Description
MessageParser<SystemParameter>

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
IMessage.CalculateSize()

Clone()

Declaration
public SystemParameter Clone()
Returns
Type Description
SystemParameter
Implements
IDeepCloneable<T>.Clone()

Equals(SystemParameter)

Declaration
public bool Equals(SystemParameter other)
Parameters
Type Name Description
SystemParameter other
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
Type Name Description
SystemParameter other
Implements
IMessage<T>.MergeFrom(T)

MergeFrom(CodedInputStream)

Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type Name Description
CodedInputStream input
Implements
IMessage.MergeFrom(CodedInputStream)

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

WriteTo(CodedOutputStream)

Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Type Name Description
CodedOutputStream output
Implements
IMessage.WriteTo(CodedOutputStream)

Explicit Interface Implementations

IMessage.Descriptor

Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Type Description
MessageDescriptor
Implements
IMessage.Descriptor
Back to top