Class Quota
Assembly: Google.Api.CommonProtos.dll
Syntax
public sealed class Quota : IMessage<Quota>, IEquatable<Quota>, IDeepCloneable<Quota>, IBufferMessage, IMessage
Constructors
Quota()
Declaration
Quota(Quota)
Declaration
public Quota(Quota other)
Parameters
Type |
Name |
Description |
Quota |
other |
|
Fields
LimitsFieldNumber
Declaration
public const int LimitsFieldNumber = 3
Field Value
MetricRulesFieldNumber
Declaration
public const int MetricRulesFieldNumber = 4
Field Value
Properties
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Limits
Declaration
public RepeatedField<QuotaLimit> Limits { get; }
Property Value
MetricRules
Declaration
public RepeatedField<MetricRule> MetricRules { get; }
Property Value
Parser
Declaration
public static MessageParser<Quota> Parser { get; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Clone()
Declaration
Returns
Equals(Quota)
Declaration
public bool Equals(Quota other)
Parameters
Type |
Name |
Description |
Quota |
other |
|
Returns
Equals(object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
object |
other |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
MergeFrom(Quota)
Declaration
public void MergeFrom(Quota other)
Parameters
Type |
Name |
Description |
Quota |
other |
|
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
ToString()
Declaration
public override string ToString()
Returns
Overrides
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Implements