LicenseProduct

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

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

Inheritance

objectLicenseProduct

Implements

IMessage<LicenseProduct>, IEquatable<LicenseProduct>, IDeepCloneable<LicenseProduct>, IBufferMessage, IMessage

Inherited Members

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

Constructors

LicenseProduct()

public LicenseProduct()

LicenseProduct(LicenseProduct)

public LicenseProduct(LicenseProduct other)

Parameters

NameDescription

Fields

CopyrightFieldNumber

Field number for the "copyright" field.

public const int CopyrightFieldNumber = 4

Field Value

int

DescriptionFieldNumber

Field number for the "description" field.

public const int DescriptionFieldNumber = 6

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

UrlFieldNumber

Field number for the "url" field.

public const int UrlFieldNumber = 5

Field Value

int

VersionFieldNumber

Field number for the "version" field.

public const int VersionFieldNumber = 3

Field Value

int

Properties

public string Copyright { get; set; }

Property Value

string

Description

public string Description { get; set; }

Property Value

string

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Id

public string Id { get; set; }

Property Value

string

Name

public string Name { get; set; }

Property Value

string

Parser

public static MessageParser<LicenseProduct> Parser { get; }

Property Value

MessageParser<LicenseProduct>

Url

public string Url { get; set; }

Property Value

string

Version

public string Version { get; set; }

Property Value

string

Methods

CalculateSize()

public int CalculateSize()

Returns

NameDescription

Clone()

public LicenseProduct Clone()

Returns

NameDescription

Equals(object)

public override bool Equals(object other)

Parameters

NameDescription

other object

Returns

NameDescription

Equals(LicenseProduct)

public bool Equals(LicenseProduct other)

Parameters

NameDescription

Returns

NameDescription

GetHashCode()

public override int GetHashCode()

Returns

NameDescription

MergeFrom(LicenseProduct)

public void MergeFrom(LicenseProduct 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