Interface PrincipalOrBuilder (0.60.0)

public interface PrincipalOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExternalEntityId()

public abstract String getExternalEntityId()

For 3P application identities which are not present in the customer identity provider.

string external_entity_id = 3;

Returns
Type Description
String

The externalEntityId.

getExternalEntityIdBytes()

public abstract ByteString getExternalEntityIdBytes()

For 3P application identities which are not present in the customer identity provider.

string external_entity_id = 3;

Returns
Type Description
ByteString

The bytes for externalEntityId.

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
Type Description
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
Type Description
ByteString

The bytes for groupId.

getPrincipalCase()

public abstract Principal.PrincipalCase getPrincipalCase()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for userId.

hasExternalEntityId()

public abstract boolean hasExternalEntityId()

For 3P application identities which are not present in the customer identity provider.

string external_entity_id = 3;

Returns
Type Description
boolean

Whether the externalEntityId field is set.

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

Whether the userId field is set.