Class TransferTypes.GoogleServiceAccount.Builder (1.78.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  TransferTypes . GoogleServiceAccount . Builder   extends   GeneratedMessageV3 . Builder<TransferTypes . GoogleServiceAccount . Builder >  implements   TransferTypes . GoogleServiceAccountOrBuilder  
   Google service account
 Protobuf type google.storagetransfer.v1.GoogleServiceAccount
    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   TransferTypes . GoogleServiceAccount . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   TransferTypes . GoogleServiceAccount   build ()  
  
  buildPartial() 
  
    
public   TransferTypes . GoogleServiceAccount   buildPartial ()  
  
  clear() 
  
    
public   TransferTypes . GoogleServiceAccount . Builder   clear ()  
  
  Overrides 
  
  clearAccountEmail() 
  
    
public   TransferTypes . GoogleServiceAccount . Builder   clearAccountEmail ()  
   Email address of the service account.
 string account_email = 1;
clearField(Descriptors.FieldDescriptor field) 
  
    
public   TransferTypes . GoogleServiceAccount . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   TransferTypes . GoogleServiceAccount . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearSubjectId() 
  
    
public   TransferTypes . GoogleServiceAccount . Builder   clearSubjectId ()  
   Unique identifier for the service account.
 string subject_id = 2;
clone() 
  
    
public   TransferTypes . GoogleServiceAccount . Builder   clone ()  
  
  Overrides 
  
  getAccountEmail() 
  
    
public   String   getAccountEmail ()  
   Email address of the service account.
 string account_email = 1;
    
      
        Returns  
      
        Type Description  
      
        String The accountEmail.
 
     
  
  getAccountEmailBytes() 
  
    
public   ByteString   getAccountEmailBytes ()  
   Email address of the service account.
 string account_email = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for accountEmail.
 
     
  
  getDefaultInstanceForType() 
  
    
public   TransferTypes . GoogleServiceAccount   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getSubjectId() 
  
    
public   String   getSubjectId ()  
   Unique identifier for the service account.
 string subject_id = 2;
    
      
        Returns  
      
        Type Description  
      
        String The subjectId.
 
     
  
  getSubjectIdBytes() 
  
    
public   ByteString   getSubjectIdBytes ()  
   Unique identifier for the service account.
 string subject_id = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for subjectId.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   TransferTypes . GoogleServiceAccount . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   TransferTypes . GoogleServiceAccount . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeFrom(TransferTypes.GoogleServiceAccount other) 
  
    
public   TransferTypes . GoogleServiceAccount . Builder   mergeFrom ( TransferTypes . GoogleServiceAccount   other )  
  
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   TransferTypes . GoogleServiceAccount . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setAccountEmail(String value) 
  
    
public   TransferTypes . GoogleServiceAccount . Builder   setAccountEmail ( String   value )  
   Email address of the service account.
 string account_email = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueString The accountEmail to set.
 
     
  
  
  setAccountEmailBytes(ByteString value) 
  
    
public   TransferTypes . GoogleServiceAccount . Builder   setAccountEmailBytes ( ByteString   value )  
   Email address of the service account.
 string account_email = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for accountEmail to set.
 
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   TransferTypes . GoogleServiceAccount . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   TransferTypes . GoogleServiceAccount . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setSubjectId(String value) 
  
    
public   TransferTypes . GoogleServiceAccount . Builder   setSubjectId ( String   value )  
   Unique identifier for the service account.
 string subject_id = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueString The subjectId to set.
 
     
  
  
  setSubjectIdBytes(ByteString value) 
  
    
public   TransferTypes . GoogleServiceAccount . Builder   setSubjectIdBytes ( ByteString   value )  
   Unique identifier for the service account.
 string subject_id = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for subjectId to set.
 
     
  
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   TransferTypes . GoogleServiceAccount . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]