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

NameDescription

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

NameDescription

Clone()

public LicenseRestriction Clone()

Returns

NameDescription

Equals(object)

public override bool Equals(object other)

Parameters

NameDescription

other object

Returns

NameDescription

Equals(LicenseRestriction)

public bool Equals(LicenseRestriction other)

Parameters

NameDescription

Returns

NameDescription

GetHashCode()

public override int GetHashCode()

Returns

NameDescription

MergeFrom(LicenseRestriction)

public void MergeFrom(LicenseRestriction other)

Parameters

NameDescription

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)

Parameters

NameDescription

input CodedInputStream

ToString()

public override string ToString()

Returns

NameDescription

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)

Parameters

NameDescription

output CodedOutputStream

Last updated