Class AuthRoleGrantPermissionRequest
Inheritance
System.Object
AuthRoleGrantPermissionRequest
Assembly: cs.temp.dll.dll
Syntax
public sealed class AuthRoleGrantPermissionRequest : Google.Protobuf.IMessage<AuthRoleGrantPermissionRequest>
Constructors
AuthRoleGrantPermissionRequest()
Declaration
public AuthRoleGrantPermissionRequest()
AuthRoleGrantPermissionRequest(AuthRoleGrantPermissionRequest)
Declaration
public AuthRoleGrantPermissionRequest(AuthRoleGrantPermissionRequest other)
Parameters
Fields
NameFieldNumber
Field number for the "name" field.
Declaration
public const int NameFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
PermFieldNumber
Field number for the "perm" field.
Declaration
public const int PermFieldNumber = 2
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 |
|
Name
name is the name of the role which will be granted the permission.
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<AuthRoleGrantPermissionRequest> Parser { get; }
Property Value
Perm
perm is the permission to grant to the role.
Declaration
public Permission Perm { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Clone()
Declaration
public AuthRoleGrantPermissionRequest Clone()
Returns
Equals(AuthRoleGrantPermissionRequest)
Declaration
public bool Equals(AuthRoleGrantPermissionRequest 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(AuthRoleGrantPermissionRequest)
Declaration
public void MergeFrom(AuthRoleGrantPermissionRequest 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 |
|