Class FetchCaCertsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FetchCaCertsResponse.Builder>
com.google.cloud.security.privateca.v1.FetchCaCertsResponse.Builder
All Implemented Interfaces:
FetchCaCertsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FetchCaCertsResponse

public static final class FetchCaCertsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<FetchCaCertsResponse.Builder> implements FetchCaCertsResponseOrBuilder
 Response message for
 [CertificateAuthorityService.FetchCaCerts][google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCaCerts].
 
Protobuf type google.cloud.security.privateca.v1.FetchCaCertsResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FetchCaCertsResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<FetchCaCertsResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FetchCaCertsResponse.Builder>
    • getDefaultInstanceForType

      public FetchCaCertsResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public FetchCaCertsResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FetchCaCertsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public FetchCaCertsResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FetchCaCertsResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FetchCaCertsResponse.Builder>
    • mergeFrom

      public FetchCaCertsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FetchCaCertsResponse.Builder>
      Throws:
      IOException
    • getCaCertsList

      public List<FetchCaCertsResponse.CertChain> getCaCertsList()
       The PEM encoded CA certificate chains of all certificate authorities in
       this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED,
       DISABLED, or STAGED states.
       
      repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;
      Specified by:
      getCaCertsList in interface FetchCaCertsResponseOrBuilder
    • getCaCertsCount

      public int getCaCertsCount()
       The PEM encoded CA certificate chains of all certificate authorities in
       this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED,
       DISABLED, or STAGED states.
       
      repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;
      Specified by:
      getCaCertsCount in interface FetchCaCertsResponseOrBuilder
    • getCaCerts

      public FetchCaCertsResponse.CertChain getCaCerts(int index)
       The PEM encoded CA certificate chains of all certificate authorities in
       this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED,
       DISABLED, or STAGED states.
       
      repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;
      Specified by:
      getCaCerts in interface FetchCaCertsResponseOrBuilder
    • setCaCerts

      public FetchCaCertsResponse.Builder setCaCerts(int index, FetchCaCertsResponse.CertChain value)
       The PEM encoded CA certificate chains of all certificate authorities in
       this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED,
       DISABLED, or STAGED states.
       
      repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;
    • setCaCerts

      public FetchCaCertsResponse.Builder setCaCerts(int index, FetchCaCertsResponse.CertChain.Builder builderForValue)
       The PEM encoded CA certificate chains of all certificate authorities in
       this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED,
       DISABLED, or STAGED states.
       
      repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;
    • addCaCerts

       The PEM encoded CA certificate chains of all certificate authorities in
       this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED,
       DISABLED, or STAGED states.
       
      repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;
    • addCaCerts

      public FetchCaCertsResponse.Builder addCaCerts(int index, FetchCaCertsResponse.CertChain value)
       The PEM encoded CA certificate chains of all certificate authorities in
       this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED,
       DISABLED, or STAGED states.
       
      repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;
    • addCaCerts

       The PEM encoded CA certificate chains of all certificate authorities in
       this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED,
       DISABLED, or STAGED states.
       
      repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;
    • addCaCerts

      public FetchCaCertsResponse.Builder addCaCerts(int index, FetchCaCertsResponse.CertChain.Builder builderForValue)
       The PEM encoded CA certificate chains of all certificate authorities in
       this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED,
       DISABLED, or STAGED states.
       
      repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;
    • addAllCaCerts

      public FetchCaCertsResponse.Builder addAllCaCerts(Iterable<? extends FetchCaCertsResponse.CertChain> values)
       The PEM encoded CA certificate chains of all certificate authorities in
       this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED,
       DISABLED, or STAGED states.
       
      repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;
    • clearCaCerts

      public FetchCaCertsResponse.Builder clearCaCerts()
       The PEM encoded CA certificate chains of all certificate authorities in
       this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED,
       DISABLED, or STAGED states.
       
      repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;
    • removeCaCerts

      public FetchCaCertsResponse.Builder removeCaCerts(int index)
       The PEM encoded CA certificate chains of all certificate authorities in
       this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED,
       DISABLED, or STAGED states.
       
      repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;
    • getCaCertsBuilder

      public FetchCaCertsResponse.CertChain.Builder getCaCertsBuilder(int index)
       The PEM encoded CA certificate chains of all certificate authorities in
       this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED,
       DISABLED, or STAGED states.
       
      repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;
    • getCaCertsOrBuilder

      public FetchCaCertsResponse.CertChainOrBuilder getCaCertsOrBuilder(int index)
       The PEM encoded CA certificate chains of all certificate authorities in
       this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED,
       DISABLED, or STAGED states.
       
      repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;
      Specified by:
      getCaCertsOrBuilder in interface FetchCaCertsResponseOrBuilder
    • getCaCertsOrBuilderList

      public List<? extends FetchCaCertsResponse.CertChainOrBuilder> getCaCertsOrBuilderList()
       The PEM encoded CA certificate chains of all certificate authorities in
       this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED,
       DISABLED, or STAGED states.
       
      repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;
      Specified by:
      getCaCertsOrBuilderList in interface FetchCaCertsResponseOrBuilder
    • addCaCertsBuilder

      public FetchCaCertsResponse.CertChain.Builder addCaCertsBuilder()
       The PEM encoded CA certificate chains of all certificate authorities in
       this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED,
       DISABLED, or STAGED states.
       
      repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;
    • addCaCertsBuilder

      public FetchCaCertsResponse.CertChain.Builder addCaCertsBuilder(int index)
       The PEM encoded CA certificate chains of all certificate authorities in
       this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED,
       DISABLED, or STAGED states.
       
      repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;
    • getCaCertsBuilderList

      public List<FetchCaCertsResponse.CertChain.Builder> getCaCertsBuilderList()
       The PEM encoded CA certificate chains of all certificate authorities in
       this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED,
       DISABLED, or STAGED states.
       
      repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;