Show / Hide Table of Contents

Class SystemParameterRule

Define a system parameter rule mapping system parameter definitions to methods.

Inheritance
System.Object
SystemParameterRule
Implements
IMessage<SystemParameterRule>
IMessage
System.IEquatable<SystemParameterRule>
IDeepCloneable<SystemParameterRule>
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 SystemParameterRule : IMessage<SystemParameterRule>, IMessage, IEquatable<SystemParameterRule>, IDeepCloneable<SystemParameterRule>

Constructors

SystemParameterRule()

Declaration
public SystemParameterRule()

SystemParameterRule(SystemParameterRule)

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

Fields

ParametersFieldNumber

Field number for the "parameters" field.

Declaration
public const int ParametersFieldNumber = 2
Field Value
Type Description
System.Int32

SelectorFieldNumber

Field number for the "selector" field.

Declaration
public const int SelectorFieldNumber = 1
Field Value
Type Description
System.Int32

Properties

Descriptor

Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type Description
MessageDescriptor

Parameters

Define parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent.

Declaration
public RepeatedField<SystemParameter> Parameters { get; }
Property Value
Type Description
RepeatedField<SystemParameter>

Parser

Declaration
public static MessageParser<SystemParameterRule> Parser { get; }
Property Value
Type Description
MessageParser<SystemParameterRule>

Selector

Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs.

Refer to [selector][google.api.DocumentationRule.selector] for syntax details.

Declaration
public string Selector { 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 SystemParameterRule Clone()
Returns
Type Description
SystemParameterRule
Implements
IDeepCloneable<T>.Clone()

Equals(SystemParameterRule)

Declaration
public bool Equals(SystemParameterRule other)
Parameters
Type Name Description
SystemParameterRule 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(SystemParameterRule)

Declaration
public void MergeFrom(SystemParameterRule other)
Parameters
Type Name Description
SystemParameterRule 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