GetServerInfoResponse

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

Response message for getting server information.

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

Inheritance

objectGetServerInfoResponse

Implements

IMessage<GetServerInfoResponse>, IEquatable<GetServerInfoResponse>, IDeepCloneable<GetServerInfoResponse>, IBufferMessage, IMessage

Inherited Members

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

Constructors

GetServerInfoResponse()

public GetServerInfoResponse()

GetServerInfoResponse(GetServerInfoResponse)

public GetServerInfoResponse(GetServerInfoResponse other)

Parameters

Name
Description

Fields

ActivationLicensesFieldNumber

Field number for the "activation_licenses" field.

public const int ActivationLicensesFieldNumber = 19

Field Value

int

ActivationTokensFieldNumber

Field number for the "activation_tokens" field.

public const int ActivationTokensFieldNumber = 13

Field Value

int

ActiveTokensFieldNumber

Field number for the "active_tokens" field.

public const int ActiveTokensFieldNumber = 11

Field Value

int

ClientAddressFieldNumber

Field number for the "client_address" field.

public const int ClientAddressFieldNumber = 10

Field Value

int

CodeFieldNumber

Field number for the "code" field.

public const int CodeFieldNumber = 2

Field Value

int

EditionFieldNumber

Field number for the "edition" field.

public const int EditionFieldNumber = 5

Field Value

int

ExpiredTokensFieldNumber

Field number for the "expired_tokens" field.

public const int ExpiredTokensFieldNumber = 15

Field Value

int

FileLicensesFieldNumber

Field number for the "file_licenses" field.

public const int FileLicensesFieldNumber = 21

Field Value

int

FloatingLicensesFieldNumber

Field number for the "floating_licenses" field.

public const int FloatingLicensesFieldNumber = 20

Field Value

int

FloatingTokensFieldNumber

Field number for the "floating_tokens" field.

public const int FloatingTokensFieldNumber = 14

Field Value

int

LicenseFieldNumber

Field number for the "license" field.

public const int LicenseFieldNumber = 7

Field Value

int

MaxTokensFieldNumber

Field number for the "max_tokens" field.

public const int MaxTokensFieldNumber = 12

Field Value

int

MessageFieldNumber

Field number for the "message" field.

public const int MessageFieldNumber = 3

Field Value

int

ProductFieldNumber

Field number for the "product" field.

public const int ProductFieldNumber = 4

Field Value

int

RevokedLicensesFieldNumber

Field number for the "revoked_licenses" field.

public const int RevokedLicensesFieldNumber = 17

Field Value

int

ServerHostFieldNumber

Field number for the "server_host" field.

public const int ServerHostFieldNumber = 8

Field Value

int

ServerTimeFieldNumber

Field number for the "server_time" field.

public const int ServerTimeFieldNumber = 9

Field Value

int

SuccessFieldNumber

Field number for the "success" field.

public const int SuccessFieldNumber = 1

Field Value

int

TotalLicensesFieldNumber

Field number for the "total_licenses" field.

public const int TotalLicensesFieldNumber = 16

Field Value

int

TracedLicensesFieldNumber

Field number for the "traced_licenses" field.

public const int TracedLicensesFieldNumber = 18

Field Value

int

VersionFieldNumber

Field number for the "version" field.

public const int VersionFieldNumber = 6

Field Value

int

Properties

ActivationLicenses

activation license count

public int? ActivationLicenses { get; set; }

Property Value

int?

ActivationTokens

total license count

public int? ActivationTokens { get; set; }

Property Value

int?

ActiveTokens

active tokens

public int? ActiveTokens { get; set; }

Property Value

int?

ClientAddress

the client address.

public string ClientAddress { get; set; }

Property Value

string

Code

code is the status code of the operation.

public int? Code { get; set; }

Property Value

int?

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Edition

the edition of the product.

public int? Edition { get; set; }

Property Value

int?

ExpiredTokens

expired tokens

public int? ExpiredTokens { get; set; }

Property Value

int?

FileLicenses

file license count

public int? FileLicenses { get; set; }

Property Value

int?

FloatingLicenses

floating ation license count

public int? FloatingLicenses { get; set; }

Property Value

int?

FloatingTokens

floating license tokens

public int? FloatingTokens { get; set; }

Property Value

int?

License

the license information.

public string License { get; set; }

Property Value

string

MaxTokens

max tokens

public int? MaxTokens { get; set; }

Property Value

int?

Message

message is a human-readable message indicating the result of the operation.

public string Message { get; set; }

Property Value

string

Parser

public static MessageParser<GetServerInfoResponse> Parser { get; }

Property Value

MessageParser<GetServerInfoResponse>

Product

product is the product name.

public string Product { get; set; }

Property Value

string

RevokedLicenses

revoked license count

public int? RevokedLicenses { get; set; }

Property Value

int?

ServerHost

the server host.

public string ServerHost { get; set; }

Property Value

string

ServerTime

the server time.

public Timestamp ServerTime { get; set; }

Property Value

Timestamp

Success

success indicates whether the operation was successful.

public bool Success { get; set; }

Property Value

bool

TotalLicenses

total license count

public int? TotalLicenses { get; set; }

Property Value

int?

TracedLicenses

traced license count

public int? TracedLicenses { get; set; }

Property Value

int?

Version

the version of the product.

public string Version { get; set; }

Property Value

string

Methods

CalculateSize()

public int CalculateSize()

Returns

Name
Description

Clone()

public GetServerInfoResponse Clone()

Returns

Name
Description

Equals(object)

public override bool Equals(object other)

Parameters

Name
Description

other object

Returns

Name
Description

Equals(GetServerInfoResponse)

public bool Equals(GetServerInfoResponse other)

Parameters

Name
Description

Returns

Name
Description

GetHashCode()

public override int GetHashCode()

Returns

Name
Description

MergeFrom(GetServerInfoResponse)

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