public interface PrincipalOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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. |
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. |