Interface PrincipalOrBuilder (0.37.0)

public interface PrincipalOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGroupId()

public abstract String getGroupId()

Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider user account, group_id is the mapped group identifier configured during the workforcepool config.

string group_id = 2;

Returns
TypeDescription
String

The groupId.

getGroupIdBytes()

public abstract ByteString getGroupIdBytes()

Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider user account, group_id is the mapped group identifier configured during the workforcepool config.

string group_id = 2;

Returns
TypeDescription
ByteString

The bytes for groupId.

getPrincipalCase()

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

getUserId()

public abstract String getUserId()

User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider user account, user_id is the mapped user identifier configured during the workforcepool config.

string user_id = 1;

Returns
TypeDescription
String

The userId.

getUserIdBytes()

public abstract ByteString getUserIdBytes()

User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider user account, user_id is the mapped user identifier configured during the workforcepool config.

string user_id = 1;

Returns
TypeDescription
ByteString

The bytes for userId.

hasGroupId()

public abstract boolean hasGroupId()

Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider user account, group_id is the mapped group identifier configured during the workforcepool config.

string group_id = 2;

Returns
TypeDescription
boolean

Whether the groupId field is set.

hasUserId()

public abstract boolean hasUserId()

User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider user account, user_id is the mapped user identifier configured during the workforcepool config.

string user_id = 1;

Returns
TypeDescription
boolean

Whether the userId field is set.