V1Alpha1.WorkerRateLimit Class

Namespace: Improbable.SpatialOS.Deployment

If you use the GDK for Unreal version 0.10 or later, this class is not compatible with the Standard Runtime variant. If you want to use this class, you must use the Compatibility Mode Runtime variant.

Inheritance

pb::IMessage<WorkerRateLimit>


Const Fields

WorkerTypeFieldNumber
const int WorkerTypeFieldNumber = 1

Field number for the "worker_type" field.

DurationFieldNumber
const int DurationFieldNumber = 2

Field number for the "duration" field.

RequestsInDurationFieldNumber
const int RequestsInDurationFieldNumber = 3

Field number for the "requests_in_duration" field.


Static Properties

Parser
pb::MessageParser<WorkerRateLimit> Parser { get; }


Descriptor
pbr::MessageDescriptor Descriptor { get; }


Properties

WorkerType
string WorkerType { get; set; }

The type of worker that this rate limit applies to.

Duration
global::Google.Protobuf.WellKnownTypes.Duration Duration { get; set; }

Mutable.

Notes:
  • The duration window to apply the rate limit in.

RequestsInDuration
uint RequestsInDuration { get; set; }

Mutable.

Notes:
  • The maximum number of requests allowed during the specified duration window.


Constructors

WorkerRateLimit
WorkerRateLimit()


WorkerRateLimit
WorkerRateLimit(WorkerRateLimit other)

Parameters


Methods

Clone
WorkerRateLimit Clone()


Equals
bool Equals(WorkerRateLimit other)

Parameters

WriteTo
void WriteTo(pb::CodedOutputStream output)

Parameters
  • pb::CodedOutputStream output :

CalculateSize
int CalculateSize()


MergeFrom
void MergeFrom(WorkerRateLimit other)

Parameters

MergeFrom
void MergeFrom(pb::CodedInputStream input)

Parameters
  • pb::CodedInputStream input :


Overrides

Equals
override bool Equals(object other)

Parameters
  • object other :

GetHashCode
override int GetHashCode()


ToString
override string ToString()

Updated 11 months ago


V1Alpha1.WorkerRateLimit Class


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.