Class FetchCaCertsResponse.CertChain.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FetchCaCertsResponse.CertChain.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.GeneratedMessageV3.Builder<FetchCaCertsResponse.CertChain.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public com.google.protobuf.ProtocolStringList getCertificatesList()
         The certificates that form the CA chain, from leaf to root order.
         
        repeated string certificates = 1;
        Specified by:
        getCertificatesList in interface FetchCaCertsResponse.CertChainOrBuilder
        Returns:
        A list containing the certificates.
      • getCertificates

        public String getCertificates​(int index)
         The certificates that form the CA chain, from leaf to root order.
         
        repeated string certificates = 1;
        Specified by:
        getCertificates in interface FetchCaCertsResponse.CertChainOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The certificates at the given index.
      • getCertificatesBytes

        public com.google.protobuf.ByteString getCertificatesBytes​(int index)
         The certificates that form the CA chain, from leaf to root order.
         
        repeated string certificates = 1;
        Specified by:
        getCertificatesBytes in interface FetchCaCertsResponse.CertChainOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the certificates at the given index.
      • setCertificates

        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:
        index - The index to set the value at.
        value - The certificates to set.
        Returns:
        This builder for chaining.
      • addCertificates

        public FetchCaCertsResponse.CertChain.Builder addCertificates​(String value)
         The certificates that form the CA chain, from leaf to root order.
         
        repeated string certificates = 1;
        Parameters:
        value - The certificates to add.
        Returns:
        This builder for chaining.
      • addAllCertificates

        public FetchCaCertsResponse.CertChain.Builder addAllCertificates​(Iterable<String> values)
         The certificates that form the CA chain, from leaf to root order.
         
        repeated string certificates = 1;
        Parameters:
        values - The certificates to add.
        Returns:
        This builder for chaining.
      • clearCertificates

        public FetchCaCertsResponse.CertChain.Builder clearCertificates()
         The certificates that form the CA chain, from leaf to root order.
         
        repeated string certificates = 1;
        Returns:
        This builder for chaining.
      • addCertificatesBytes

        public FetchCaCertsResponse.CertChain.Builder addCertificatesBytes​(com.google.protobuf.ByteString value)
         The certificates that form the CA chain, from leaf to root order.
         
        repeated string certificates = 1;
        Parameters:
        value - The bytes of the certificates to add.
        Returns:
        This builder for chaining.