Interface PrincipalOrBuilder (0.34.0)

public interface PrincipalOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPrincipalCase()

public abstract Principal.PrincipalCase getPrincipalCase()
Returns
TypeDescription
Principal.PrincipalCase

getServiceAccount()

public abstract String getServiceAccount()

The service account which needs to be granted the permission.

string service_account = 2;

Returns
TypeDescription
String

The serviceAccount.

getServiceAccountBytes()

public abstract ByteString getServiceAccountBytes()

The service account which needs to be granted the permission.

string service_account = 2;

Returns
TypeDescription
ByteString

The bytes for serviceAccount.

getUser()

public abstract String getUser()

The user who needs to be granted permission.

string user = 1;

Returns
TypeDescription
String

The user.

getUserBytes()

public abstract ByteString getUserBytes()

The user who needs to be granted permission.

string user = 1;

Returns
TypeDescription
ByteString

The bytes for user.

hasServiceAccount()

public abstract boolean hasServiceAccount()

The service account which needs to be granted the permission.

string service_account = 2;

Returns
TypeDescription
boolean

Whether the serviceAccount field is set.

hasUser()

public abstract boolean hasUser()

The user who needs to be granted permission.

string user = 1;

Returns
TypeDescription
boolean

Whether the user field is set.