GetContactsResponse

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

GetContactsResponse is the response message for the GetContactsRequest.

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

Inheritance

objectGetContactsResponse

Implements

IMessage<GetContactsResponse>, IEquatable<GetContactsResponse>, IDeepCloneable<GetContactsResponse>, IBufferMessage, IMessage

Inherited Members

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

Constructors

GetContactsResponse()

public GetContactsResponse()

GetContactsResponse(GetContactsResponse)

public GetContactsResponse(GetContactsResponse other)

Parameters

Name
Description

Fields

CodeFieldNumber

Field number for the "code" field.

public const int CodeFieldNumber = 2

Field Value

int

ContactsFieldNumber

Field number for the "contacts" field.

public const int ContactsFieldNumber = 4

Field Value

int

MessageFieldNumber

Field number for the "message" field.

public const int MessageFieldNumber = 3

Field Value

int

SuccessFieldNumber

Field number for the "success" field.

public const int SuccessFieldNumber = 1

Field Value

int

TotalContactsCountFieldNumber

Field number for the "totalContactsCount" field.

public const int TotalContactsCountFieldNumber = 5

Field Value

int

Properties

Code

code is the status code of the operation.

public int? Code { get; set; }

Property Value

int?

Contacts

assemblies is the list of contacts.

public RepeatedField<Contact> Contacts { get; }

Property Value

RepeatedField<Contact>

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

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<GetContactsResponse> Parser { get; }

Property Value

MessageParser<GetContactsResponse>

Success

success indicates whether the operation was successful.

public bool Success { get; set; }

Property Value

bool

TotalContactsCount

totalContactsCount is the total number of contacts.

public int TotalContactsCount { get; set; }

Property Value

int

Methods

CalculateSize()

public int CalculateSize()

Returns

Name
Description

Clone()

public GetContactsResponse Clone()

Returns

Name
Description

Equals(object)

public override bool Equals(object other)

Parameters

Name
Description

other object

Returns

Name
Description

Equals(GetContactsResponse)

public bool Equals(GetContactsResponse other)

Parameters

Name
Description

Returns

Name
Description

GetHashCode()

public override int GetHashCode()

Returns

Name
Description

MergeFrom(GetContactsResponse)

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