Class FetchCaCertsResponse.CertChain.Builder (2.13.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.13.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   static   final   class  FetchCaCertsResponse . CertChain . Builder   extends   GeneratedMessageV3 . Builder<FetchCaCertsResponse . CertChain . Builder >  implements   FetchCaCertsResponse . CertChainOrBuilder  
  Protobuf type google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
    
    
    
    
    
      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 ()  
  Returns 
  
  Methods
   
  addAllCertificates(Iterable<String> values) 
  
    
public   FetchCaCertsResponse . CertChain . Builder   addAllCertificates ( Iterable<String>   values )  
   The certificates that form the CA chain, from leaf to root order.
 repeated string certificates = 1;
Parameter 
  
  Returns 
  
  addCertificates(String value) 
  
    
public   FetchCaCertsResponse . CertChain . Builder   addCertificates ( String   value )  
   The certificates that form the CA chain, from leaf to root order.
 repeated string certificates = 1;
Parameter 
  
    
      
        Name Description  
      
        valueString The certificates to add.
 
     
  
  Returns 
  
  addCertificatesBytes(ByteString value) 
  
    
public   FetchCaCertsResponse . CertChain . Builder   addCertificatesBytes ( ByteString   value )  
   The certificates that form the CA chain, from leaf to root order.
 repeated string certificates = 1;
Parameter 
  
    
      
        Name Description  
      
        valueByteString The bytes of the certificates to add.
 
     
  
  Returns 
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   FetchCaCertsResponse . CertChain . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  build() 
  
    
public   FetchCaCertsResponse . CertChain   build ()  
  Returns 
  
  buildPartial() 
  
    
public   FetchCaCertsResponse . CertChain   buildPartial ()  
  Returns 
  
  clear() 
  
    
public   FetchCaCertsResponse . CertChain . Builder   clear ()  
  Returns 
  
  Overrides 
  
  clearCertificates() 
  
    
public   FetchCaCertsResponse . CertChain . Builder   clearCertificates ()  
   The certificates that form the CA chain, from leaf to root order.
 repeated string certificates = 1;
Returns 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   FetchCaCertsResponse . CertChain . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   FetchCaCertsResponse . CertChain . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  clone() 
  
    
public   FetchCaCertsResponse . CertChain . Builder   clone ()  
  Returns 
  
  Overrides 
  
  getCertificates(int index) 
  
    
public   String   getCertificates ( int   index )  
   The certificates that form the CA chain, from leaf to root order.
 repeated string certificates = 1;
Parameter 
  
    
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  Returns 
  
    
      
        Type Description  
      
        String The certificates at the given index.
 
     
  
  getCertificatesBytes(int index) 
  
    
public   ByteString   getCertificatesBytes ( int   index )  
   The certificates that form the CA chain, from leaf to root order.
 repeated string certificates = 1;
Parameter 
  
    
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  Returns 
  
    
      
        Type Description  
      
        ByteString The bytes of the certificates at the given index.
 
     
  
  getCertificatesCount() 
  
    
public   int   getCertificatesCount ()  
   The certificates that form the CA chain, from leaf to root order.
 repeated string certificates = 1;
Returns 
  
    
      
        Type Description  
      
        int The count of certificates.
 
     
  
  getCertificatesList() 
  
    
public   ProtocolStringList   getCertificatesList ()  
   The certificates that form the CA chain, from leaf to root order.
 repeated string certificates = 1;
Returns 
  
  getDefaultInstanceForType() 
  
    
public   FetchCaCertsResponse . CertChain   getDefaultInstanceForType ()  
  Returns 
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  Returns 
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  mergeFrom(FetchCaCertsResponse.CertChain other) 
  
    
public   FetchCaCertsResponse . CertChain . Builder   mergeFrom ( FetchCaCertsResponse . CertChain   other )  
  Parameter 
  
  Returns 
  
  
    
public   FetchCaCertsResponse . CertChain . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  Exceptions 
  
  mergeFrom(Message other) 
  
    
public   FetchCaCertsResponse . CertChain . Builder   mergeFrom ( Message   other )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   FetchCaCertsResponse . CertChain . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  setCertificates(int index, String value) 
  
    
public   FetchCaCertsResponse . CertChain . Builder   setCertificates ( int   index ,   String   value )  
   The certificates that form the CA chain, from leaf to root order.
 repeated string certificates = 1;
Parameters 
  
    
      
        Name Description  
      
        indexint The index to set the value at.
 
      
        valueString The certificates to set.
 
     
  
  Returns 
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   FetchCaCertsResponse . CertChain . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   FetchCaCertsResponse . CertChain . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   FetchCaCertsResponse . CertChain . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  Parameter 
  
  Returns 
  
  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."],[],[]]