Interface PrincipalOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Principal, Principal.Builder

@Generated public interface PrincipalOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Group identifier.
    com.google.protobuf.ByteString
    Group identifier.
     
    User identifier.
    com.google.protobuf.ByteString
    User identifier.
    boolean
    Group identifier.
    boolean
    User identifier.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasUserId

      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:
      Whether the userId field is set.
    • getUserId

      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:
      The userId.
    • getUserIdBytes

      com.google.protobuf.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:
      The bytes for userId.
    • hasGroupId

      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:
      Whether the groupId field is set.
    • getGroupId

      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:
      The groupId.
    • getGroupIdBytes

      com.google.protobuf.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:
      The bytes for groupId.
    • getPrincipalCase

      Principal.PrincipalCase getPrincipalCase()