LicenseRestriction
Namespace: Babel.Licensing.Service.Management Assembly: Babel.Licensing.dll
public sealed class LicenseRestriction : IMessage<LicenseRestriction>, IEquatable<LicenseRestriction>, IDeepCloneable<LicenseRestriction>, IBufferMessage, IMessageInheritance
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
other LicenseRestriction
Fields
ExpireDateFieldNumber
Field number for the "expire_date" field.
public const int ExpireDateFieldNumber = 3Field Value
IdFieldNumber
Field number for the "id" field.
public const int IdFieldNumber = 1Field Value
NameFieldNumber
Field number for the "name" field.
public const int NameFieldNumber = 2Field Value
PropertiesFieldNumber
Field number for the "properties" field.
public const int PropertiesFieldNumber = 4Field Value
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
Name
public string Name { get; set; }Property Value
Parser
public static MessageParser<LicenseRestriction> Parser { get; }Property Value
MessageParser<LicenseRestriction>
Properties
public MapField<string, string> Properties { get; }Property Value
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
other LicenseRestriction
Returns
Name
Description
GetHashCode()
public override int GetHashCode()Returns
Name
Description
MergeFrom(LicenseRestriction)
public void MergeFrom(LicenseRestriction other)Parameters
Name
Description
other LicenseRestriction
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