Class LeaseKeepAliveResponse
Inheritance
System.Object
LeaseKeepAliveResponse
Assembly: cs.temp.dll.dll
Syntax
public sealed class LeaseKeepAliveResponse : Google.Protobuf.IMessage<LeaseKeepAliveResponse>
Constructors
LeaseKeepAliveResponse()
Declaration
public LeaseKeepAliveResponse()
LeaseKeepAliveResponse(LeaseKeepAliveResponse)
Declaration
public LeaseKeepAliveResponse(LeaseKeepAliveResponse other)
Parameters
Fields
Field number for the "header" field.
Declaration
public const int HeaderFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
IDFieldNumber
Field number for the "ID" field.
Declaration
public const int IDFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
TTLFieldNumber
Field number for the "TTL" field.
Declaration
public const int TTLFieldNumber = 3
Field Value
Type |
Description |
System.Int32 |
|
Properties
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
Declaration
public ResponseHeader Header { get; set; }
Property Value
ID
ID is the lease ID from the keep alive request.
Declaration
public long ID { get; set; }
Property Value
Type |
Description |
System.Int64 |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<LeaseKeepAliveResponse> Parser { get; }
Property Value
TTL
TTL is the new time-to-live for the lease.
Declaration
public long TTL { get; set; }
Property Value
Type |
Description |
System.Int64 |
|
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Clone()
Declaration
public LeaseKeepAliveResponse Clone()
Returns
Equals(LeaseKeepAliveResponse)
Declaration
public bool Equals(LeaseKeepAliveResponse other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
MergeFrom(LeaseKeepAliveResponse)
Declaration
public void MergeFrom(LeaseKeepAliveResponse other)
Parameters
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
WriteTo(Google.Protobuf.CodedOutputStream)
Declaration
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedOutputStream |
output |
|