Class Permission
Permission is a single entity
Inheritance
System.Object
Permission
Assembly: cs.temp.dll.dll
Syntax
public sealed class Permission : Google.Protobuf.IMessage<Permission>
Constructors
Permission()
Declaration
Permission(Permission)
Declaration
public Permission(Permission other)
Parameters
Fields
KeyFieldNumber
Field number for the "key" field.
Declaration
public const int KeyFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
PermTypeFieldNumber
Field number for the "permType" field.
Declaration
public const int PermTypeFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
RangeEndFieldNumber
Field number for the "range_end" field.
Declaration
public const int RangeEndFieldNumber = 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 |
|
Key
Declaration
public Google.Protobuf.ByteString Key { get; set; }
Property Value
Type |
Description |
Google.Protobuf.ByteString |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<Permission> Parser { get; }
Property Value
Type |
Description |
Google.Protobuf.MessageParser<Permission> |
|
PermType
Declaration
public Permission.Types.Type PermType { get; set; }
Property Value
RangeEnd
Declaration
public Google.Protobuf.ByteString RangeEnd { get; set; }
Property Value
Type |
Description |
Google.Protobuf.ByteString |
|
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Clone()
Declaration
public Permission Clone()
Returns
Equals(Permission)
Declaration
public bool Equals(Permission 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(Permission)
Declaration
public void MergeFrom(Permission 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 |
|