LicenseRestriction

Namespace: Babel.Licensing.Service.Management Assembly: Babel.Licensing.dll

public sealed class LicenseRestriction : IMessage<LicenseRestriction>, IEquatable<LicenseRestriction>, IDeepCloneable<LicenseRestriction>, IBufferMessage, IMessage

Inheritance

objectLicenseRestriction

Implements

IMessage<LicenseRestriction>, IEquatable<LicenseRestriction>, IDeepCloneable<LicenseRestriction>, IBufferMessage, IMessage

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

LicenseRestriction()

public LicenseRestriction()

LicenseRestriction(LicenseRestriction)

public LicenseRestriction(LicenseRestriction other)

Parameters

Name
Description

Fields

ExpireDateFieldNumber

Field number for the "expire_date" field.

public const int ExpireDateFieldNumber = 3

Field Value

int

IdFieldNumber

Field number for the "id" field.

public const int IdFieldNumber = 1

Field Value

int

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 2

Field Value

int

PropertiesFieldNumber

Field number for the "properties" field.

public const int PropertiesFieldNumber = 4

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

ExpireDate

public Timestamp ExpireDate { get; set; }

Property Value

Timestamp

Id

public string Id { get; set; }

Property Value

string

Name

public string Name { get; set; }

Property Value

string

Parser

public static MessageParser<LicenseRestriction> Parser { get; }

Property Value

MessageParser<LicenseRestriction>

Properties

public MapField<string, string> Properties { get; }

Property Value

MapField<string, string>

Methods

CalculateSize()

public int CalculateSize()

Returns

Name
Description

Clone()

public LicenseRestriction Clone()

Returns

Name
Description

Equals(object)

public override bool Equals(object other)

Parameters

Name
Description

other object

Returns

Name
Description

Equals(LicenseRestriction)

public bool Equals(LicenseRestriction other)

Parameters

Name
Description

Returns

Name
Description

GetHashCode()

public override int GetHashCode()

Returns

Name
Description

MergeFrom(LicenseRestriction)

public void MergeFrom(LicenseRestriction other)

Parameters

Name
Description

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)

Parameters

Name
Description

input CodedInputStream

ToString()

public override string ToString()

Returns

Name
Description

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)

Parameters

Name
Description

output CodedOutputStream

Last updated