Class LeaseGrantResponse
Inheritance
System.Object
LeaseGrantResponse
Assembly: cs.temp.dll.dll
Syntax
public sealed class LeaseGrantResponse : Google.Protobuf.IMessage<LeaseGrantResponse>
Constructors
LeaseGrantResponse()
Declaration
public LeaseGrantResponse()
LeaseGrantResponse(LeaseGrantResponse)
Declaration
public LeaseGrantResponse(LeaseGrantResponse other)
Parameters
Fields
ErrorFieldNumber
Field number for the "error" field.
Declaration
public const int ErrorFieldNumber = 4
Field Value
Type |
Description |
System.Int32 |
|
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 |
|
Error
Declaration
public string Error { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public ResponseHeader Header { get; set; }
Property Value
ID
ID is the lease ID for the granted lease.
Declaration
public long ID { get; set; }
Property Value
Type |
Description |
System.Int64 |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<LeaseGrantResponse> Parser { get; }
Property Value
TTL
TTL is the server chosen lease time-to-live in seconds.
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 LeaseGrantResponse Clone()
Returns
Equals(LeaseGrantResponse)
Declaration
public bool Equals(LeaseGrantResponse 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(LeaseGrantResponse)
Declaration
public void MergeFrom(LeaseGrantResponse 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 |
|