Interface PrincipalOrBuilder (0.37.0)

public interface PrincipalOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPrincipalCase()

public abstract Principal.PrincipalCase getPrincipalCase()
Returns
Type Description
Principal.PrincipalCase

getServiceAccount()

public abstract String getServiceAccount()

The service account which needs to be granted the permission.

string service_account = 2;

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

public abstract ByteString getServiceAccountBytes()

The service account which needs to be granted the permission.

string service_account = 2;

Returns
Type Description
ByteString

The bytes for serviceAccount.

getUser()

public abstract String getUser()

The user who needs to be granted permission.

string user = 1;

Returns
Type Description
String

The user.

getUserBytes()

public abstract ByteString getUserBytes()

The user who needs to be granted permission.

string user = 1;

Returns
Type Description
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
Type Description
boolean

Whether the serviceAccount field is set.

hasUser()

public abstract boolean hasUser()

The user who needs to be granted permission.

string user = 1;

Returns
Type Description
boolean

Whether the user field is set.