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