Class GenerateClientCertificateResponse.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<GenerateClientCertificateResponse.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<GenerateClientCertificateResponse.Builder>
      • getDefaultInstanceForType

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

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

        public GenerateClientCertificateResponse 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<GenerateClientCertificateResponse.Builder>
      • getPemCertificateBytes

        public com.google.protobuf.ByteString getPemCertificateBytes()
         Output only. The pem-encoded, signed X.509 certificate.
         
        string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPemCertificateBytes in interface GenerateClientCertificateResponseOrBuilder
        Returns:
        The bytes for pemCertificate.
      • setPemCertificate

        public GenerateClientCertificateResponse.Builder setPemCertificate​(String value)
         Output only. The pem-encoded, signed X.509 certificate.
         
        string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The pemCertificate to set.
        Returns:
        This builder for chaining.
      • clearPemCertificate

        public GenerateClientCertificateResponse.Builder clearPemCertificate()
         Output only. The pem-encoded, signed X.509 certificate.
         
        string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setPemCertificateBytes

        public GenerateClientCertificateResponse.Builder setPemCertificateBytes​(com.google.protobuf.ByteString value)
         Output only. The pem-encoded, signed X.509 certificate.
         
        string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for pemCertificate to set.
        Returns:
        This builder for chaining.
      • getPemCertificateChainList

        public com.google.protobuf.ProtocolStringList getPemCertificateChainList()
         Output only. The pem-encoded chain that may be used to verify the X.509
         certificate. Expected to be in issuer-to-root order according to RFC 5246.
         
        repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPemCertificateChainList in interface GenerateClientCertificateResponseOrBuilder
        Returns:
        A list containing the pemCertificateChain.
      • getPemCertificateChainCount

        public int getPemCertificateChainCount()
         Output only. The pem-encoded chain that may be used to verify the X.509
         certificate. Expected to be in issuer-to-root order according to RFC 5246.
         
        repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPemCertificateChainCount in interface GenerateClientCertificateResponseOrBuilder
        Returns:
        The count of pemCertificateChain.
      • getPemCertificateChain

        public String getPemCertificateChain​(int index)
         Output only. The pem-encoded chain that may be used to verify the X.509
         certificate. Expected to be in issuer-to-root order according to RFC 5246.
         
        repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPemCertificateChain in interface GenerateClientCertificateResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The pemCertificateChain at the given index.
      • getPemCertificateChainBytes

        public com.google.protobuf.ByteString getPemCertificateChainBytes​(int index)
         Output only. The pem-encoded chain that may be used to verify the X.509
         certificate. Expected to be in issuer-to-root order according to RFC 5246.
         
        repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPemCertificateChainBytes in interface GenerateClientCertificateResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the pemCertificateChain at the given index.
      • setPemCertificateChain

        public GenerateClientCertificateResponse.Builder setPemCertificateChain​(int index,
                                                                                String value)
         Output only. The pem-encoded chain that may be used to verify the X.509
         certificate. Expected to be in issuer-to-root order according to RFC 5246.
         
        repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        index - The index to set the value at.
        value - The pemCertificateChain to set.
        Returns:
        This builder for chaining.
      • addPemCertificateChain

        public GenerateClientCertificateResponse.Builder addPemCertificateChain​(String value)
         Output only. The pem-encoded chain that may be used to verify the X.509
         certificate. Expected to be in issuer-to-root order according to RFC 5246.
         
        repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The pemCertificateChain to add.
        Returns:
        This builder for chaining.
      • addAllPemCertificateChain

        public GenerateClientCertificateResponse.Builder addAllPemCertificateChain​(Iterable<String> values)
         Output only. The pem-encoded chain that may be used to verify the X.509
         certificate. Expected to be in issuer-to-root order according to RFC 5246.
         
        repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        values - The pemCertificateChain to add.
        Returns:
        This builder for chaining.
      • clearPemCertificateChain

        public GenerateClientCertificateResponse.Builder clearPemCertificateChain()
         Output only. The pem-encoded chain that may be used to verify the X.509
         certificate. Expected to be in issuer-to-root order according to RFC 5246.
         
        repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • addPemCertificateChainBytes

        public GenerateClientCertificateResponse.Builder addPemCertificateChainBytes​(com.google.protobuf.ByteString value)
         Output only. The pem-encoded chain that may be used to verify the X.509
         certificate. Expected to be in issuer-to-root order according to RFC 5246.
         
        repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes of the pemCertificateChain to add.
        Returns:
        This builder for chaining.
      • getCaCertBytes

        public com.google.protobuf.ByteString getCaCertBytes()
         Optional. The pem-encoded cluster ca X.509 certificate.
         
        string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getCaCertBytes in interface GenerateClientCertificateResponseOrBuilder
        Returns:
        The bytes for caCert.
      • setCaCert

        public GenerateClientCertificateResponse.Builder setCaCert​(String value)
         Optional. The pem-encoded cluster ca X.509 certificate.
         
        string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The caCert to set.
        Returns:
        This builder for chaining.
      • clearCaCert

        public GenerateClientCertificateResponse.Builder clearCaCert()
         Optional. The pem-encoded cluster ca X.509 certificate.
         
        string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setCaCertBytes

        public GenerateClientCertificateResponse.Builder setCaCertBytes​(com.google.protobuf.ByteString value)
         Optional. The pem-encoded cluster ca X.509 certificate.
         
        string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for caCert to set.
        Returns:
        This builder for chaining.