Send feedback
  
   
 
  
    
      Class ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder (2.42.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version 2.42.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   extends   GeneratedMessageV3 . Builder<ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder >  implements   ServiceAccountDelegationInfo . FirstPartyPrincipalOrBuilder  
   First party identity principal.
 Protobuf type google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal   build ()  
  
  buildPartial() 
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal   buildPartial ()  
  
  clear() 
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   clear ()  
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearPrincipalEmail() 
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   clearPrincipalEmail ()  
   The email address of a Google account.
 string principal_email = 1;
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   clearServiceMetadata ()  
   Metadata about the service that uses the service account.
 .google.protobuf.Struct service_metadata = 2;
clone() 
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getPrincipalEmail() 
  
    
public   String   getPrincipalEmail ()  
   The email address of a Google account.
 string principal_email = 1;
    
      
        Returns  
      
        Type Description  
      
        String The principalEmail.
 
     
  
  getPrincipalEmailBytes() 
  
    
public   ByteString   getPrincipalEmailBytes ()  
   The email address of a Google account.
 string principal_email = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for principalEmail.
 
     
  
  
    
public   Struct   getServiceMetadata ()  
   Metadata about the service that uses the service account.
 .google.protobuf.Struct service_metadata = 2;
    
      
        Returns  
      
        Type Description  
      
        Struct The serviceMetadata.
 
     
  
  
    
public   Struct . Builder   getServiceMetadataBuilder ()  
   Metadata about the service that uses the service account.
 .google.protobuf.Struct service_metadata = 2;
    
public   StructOrBuilder   getServiceMetadataOrBuilder ()  
   Metadata about the service that uses the service account.
 .google.protobuf.Struct service_metadata = 2;
    
public   boolean   hasServiceMetadata ()  
   Metadata about the service that uses the service account.
 .google.protobuf.Struct service_metadata = 2;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the serviceMetadata field is set.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(ServiceAccountDelegationInfo.FirstPartyPrincipal other) 
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   mergeFrom ( ServiceAccountDelegationInfo . FirstPartyPrincipal   other )  
  
  
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   mergeServiceMetadata ( Struct   value )  
   Metadata about the service that uses the service account.
 .google.protobuf.Struct service_metadata = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueStruct  
     
  
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setPrincipalEmail(String value) 
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   setPrincipalEmail ( String   value )  
   The email address of a Google account.
 string principal_email = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueString The principalEmail to set.
 
     
  
  
  setPrincipalEmailBytes(ByteString value) 
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   setPrincipalEmailBytes ( ByteString   value )  
   The email address of a Google account.
 string principal_email = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for principalEmail to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   setServiceMetadata ( Struct   value )  
   Metadata about the service that uses the service account.
 .google.protobuf.Struct service_metadata = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueStruct  
     
  
  
  
    
public   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   setServiceMetadata ( Struct . Builder   builderForValue )  
   Metadata about the service that uses the service account.
 .google.protobuf.Struct service_metadata = 2;
    
      
        Parameter  
      
        Name Description  
      
        builderForValueBuilder  
     
  
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ServiceAccountDelegationInfo . FirstPartyPrincipal . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-28 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]