类 GatewayOuterClass.ServerTLSSettings.Builder

    • 字段详细资料

      • bitField0_

        private int bitField0_
      • httpsRedirect_

        private boolean httpsRedirect_
      • mode_

        private int mode_
      • serverCertificate_

        private java.lang.Object serverCertificate_
      • privateKey_

        private java.lang.Object privateKey_
      • caCertificates_

        private java.lang.Object caCertificates_
      • credentialName_

        private java.lang.Object credentialName_
      • subjectAltNames_

        private com.google.protobuf.LazyStringList subjectAltNames_
      • verifyCertificateSpki_

        private com.google.protobuf.LazyStringList verifyCertificateSpki_
      • verifyCertificateHash_

        private com.google.protobuf.LazyStringList verifyCertificateHash_
      • minProtocolVersion_

        private int minProtocolVersion_
      • maxProtocolVersion_

        private int maxProtocolVersion_
      • cipherSuites_

        private com.google.protobuf.LazyStringList cipherSuites_
    • 构造器详细资料

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
    • 方法详细资料

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        指定者:
        internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ServerTLSSettings.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        指定者:
        getDescriptorForType 在接口中 com.google.protobuf.Message.Builder
        指定者:
        getDescriptorForType 在接口中 com.google.protobuf.MessageOrBuilder
        覆盖:
        getDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ServerTLSSettings.Builder>
      • getDefaultInstanceForType

        public GatewayOuterClass.ServerTLSSettings getDefaultInstanceForType()
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder
      • build

        public GatewayOuterClass.ServerTLSSettings build()
        指定者:
        build 在接口中 com.google.protobuf.Message.Builder
        指定者:
        build 在接口中 com.google.protobuf.MessageLite.Builder
      • buildPartial

        public GatewayOuterClass.ServerTLSSettings buildPartial()
        指定者:
        buildPartial 在接口中 com.google.protobuf.Message.Builder
        指定者:
        buildPartial 在接口中 com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        指定者:
        isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
        覆盖:
        isInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ServerTLSSettings.Builder>
      • mergeFrom

        public GatewayOuterClass.ServerTLSSettings.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                              throws java.io.IOException
        指定者:
        mergeFrom 在接口中 com.google.protobuf.Message.Builder
        指定者:
        mergeFrom 在接口中 com.google.protobuf.MessageLite.Builder
        覆盖:
        mergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.ServerTLSSettings.Builder>
        抛出:
        java.io.IOException
      • getHttpsRedirect

        public boolean getHttpsRedirect()
         If set to true, the load balancer will send a 301 redirect for
         all http connections, asking the clients to use HTTPS.
         
        bool https_redirect = 1;
        指定者:
        getHttpsRedirect 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The httpsRedirect.
      • setHttpsRedirect

        public GatewayOuterClass.ServerTLSSettings.Builder setHttpsRedirect​(boolean value)
         If set to true, the load balancer will send a 301 redirect for
         all http connections, asking the clients to use HTTPS.
         
        bool https_redirect = 1;
        参数:
        value - The httpsRedirect to set.
        返回:
        This builder for chaining.
      • clearHttpsRedirect

        public GatewayOuterClass.ServerTLSSettings.Builder clearHttpsRedirect()
         If set to true, the load balancer will send a 301 redirect for
         all http connections, asking the clients to use HTTPS.
         
        bool https_redirect = 1;
        返回:
        This builder for chaining.
      • getModeValue

        public int getModeValue()
         Optional: Indicates whether connections to this port should be
         secured using TLS. The value of this field determines how TLS is
         enforced.
         
        .istio.networking.v1alpha3.ServerTLSSettings.TLSmode mode = 2;
        指定者:
        getModeValue 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The enum numeric value on the wire for mode.
      • setModeValue

        public GatewayOuterClass.ServerTLSSettings.Builder setModeValue​(int value)
         Optional: Indicates whether connections to this port should be
         secured using TLS. The value of this field determines how TLS is
         enforced.
         
        .istio.networking.v1alpha3.ServerTLSSettings.TLSmode mode = 2;
        参数:
        value - The enum numeric value on the wire for mode to set.
        返回:
        This builder for chaining.
      • clearMode

        public GatewayOuterClass.ServerTLSSettings.Builder clearMode()
         Optional: Indicates whether connections to this port should be
         secured using TLS. The value of this field determines how TLS is
         enforced.
         
        .istio.networking.v1alpha3.ServerTLSSettings.TLSmode mode = 2;
        返回:
        This builder for chaining.
      • getServerCertificate

        public java.lang.String getServerCertificate()
         REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file
         holding the server-side TLS certificate to use.
         
        string server_certificate = 3;
        指定者:
        getServerCertificate 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The serverCertificate.
      • getServerCertificateBytes

        public com.google.protobuf.ByteString getServerCertificateBytes()
         REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file
         holding the server-side TLS certificate to use.
         
        string server_certificate = 3;
        指定者:
        getServerCertificateBytes 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The bytes for serverCertificate.
      • setServerCertificate

        public GatewayOuterClass.ServerTLSSettings.Builder setServerCertificate​(java.lang.String value)
         REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file
         holding the server-side TLS certificate to use.
         
        string server_certificate = 3;
        参数:
        value - The serverCertificate to set.
        返回:
        This builder for chaining.
      • clearServerCertificate

        public GatewayOuterClass.ServerTLSSettings.Builder clearServerCertificate()
         REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file
         holding the server-side TLS certificate to use.
         
        string server_certificate = 3;
        返回:
        This builder for chaining.
      • setServerCertificateBytes

        public GatewayOuterClass.ServerTLSSettings.Builder setServerCertificateBytes​(com.google.protobuf.ByteString value)
         REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file
         holding the server-side TLS certificate to use.
         
        string server_certificate = 3;
        参数:
        value - The bytes for serverCertificate to set.
        返回:
        This builder for chaining.
      • getPrivateKey

        public java.lang.String getPrivateKey()
         REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file
         holding the server's private key.
         
        string private_key = 4;
        指定者:
        getPrivateKey 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The privateKey.
      • getPrivateKeyBytes

        public com.google.protobuf.ByteString getPrivateKeyBytes()
         REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file
         holding the server's private key.
         
        string private_key = 4;
        指定者:
        getPrivateKeyBytes 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The bytes for privateKey.
      • setPrivateKey

        public GatewayOuterClass.ServerTLSSettings.Builder setPrivateKey​(java.lang.String value)
         REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file
         holding the server's private key.
         
        string private_key = 4;
        参数:
        value - The privateKey to set.
        返回:
        This builder for chaining.
      • clearPrivateKey

        public GatewayOuterClass.ServerTLSSettings.Builder clearPrivateKey()
         REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file
         holding the server's private key.
         
        string private_key = 4;
        返回:
        This builder for chaining.
      • setPrivateKeyBytes

        public GatewayOuterClass.ServerTLSSettings.Builder setPrivateKeyBytes​(com.google.protobuf.ByteString value)
         REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file
         holding the server's private key.
         
        string private_key = 4;
        参数:
        value - The bytes for privateKey to set.
        返回:
        This builder for chaining.
      • getCaCertificates

        public java.lang.String getCaCertificates()
         REQUIRED if mode is `MUTUAL`. The path to a file containing
         certificate authority certificates to use in verifying a presented
         client side certificate.
         
        string ca_certificates = 5;
        指定者:
        getCaCertificates 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The caCertificates.
      • getCaCertificatesBytes

        public com.google.protobuf.ByteString getCaCertificatesBytes()
         REQUIRED if mode is `MUTUAL`. The path to a file containing
         certificate authority certificates to use in verifying a presented
         client side certificate.
         
        string ca_certificates = 5;
        指定者:
        getCaCertificatesBytes 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The bytes for caCertificates.
      • setCaCertificates

        public GatewayOuterClass.ServerTLSSettings.Builder setCaCertificates​(java.lang.String value)
         REQUIRED if mode is `MUTUAL`. The path to a file containing
         certificate authority certificates to use in verifying a presented
         client side certificate.
         
        string ca_certificates = 5;
        参数:
        value - The caCertificates to set.
        返回:
        This builder for chaining.
      • clearCaCertificates

        public GatewayOuterClass.ServerTLSSettings.Builder clearCaCertificates()
         REQUIRED if mode is `MUTUAL`. The path to a file containing
         certificate authority certificates to use in verifying a presented
         client side certificate.
         
        string ca_certificates = 5;
        返回:
        This builder for chaining.
      • setCaCertificatesBytes

        public GatewayOuterClass.ServerTLSSettings.Builder setCaCertificatesBytes​(com.google.protobuf.ByteString value)
         REQUIRED if mode is `MUTUAL`. The path to a file containing
         certificate authority certificates to use in verifying a presented
         client side certificate.
         
        string ca_certificates = 5;
        参数:
        value - The bytes for caCertificates to set.
        返回:
        This builder for chaining.
      • getCredentialName

        public java.lang.String getCredentialName()
         For gateways running on Kubernetes, the name of the secret that
         holds the TLS certs including the CA certificates. Applicable
         only on Kubernetes. The secret (of type `generic`) should
         contain the following keys and values: `key:
         <privateKey>` and `cert: <serverCert>`. For mutual TLS, 
         `cacert: <CACertificate>` can be provided in the same secret or 
         a separate secret named `<secret>-cacert`.
         Secret of type tls for server certificates along with
         ca.crt key for CA certificates is also supported.
         Only one of server certificates and CA certificate
         or credentialName can be specified.
         
        string credential_name = 10;
        指定者:
        getCredentialName 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The credentialName.
      • getCredentialNameBytes

        public com.google.protobuf.ByteString getCredentialNameBytes()
         For gateways running on Kubernetes, the name of the secret that
         holds the TLS certs including the CA certificates. Applicable
         only on Kubernetes. The secret (of type `generic`) should
         contain the following keys and values: `key:
         <privateKey>` and `cert: <serverCert>`. For mutual TLS, 
         `cacert: <CACertificate>` can be provided in the same secret or 
         a separate secret named `<secret>-cacert`.
         Secret of type tls for server certificates along with
         ca.crt key for CA certificates is also supported.
         Only one of server certificates and CA certificate
         or credentialName can be specified.
         
        string credential_name = 10;
        指定者:
        getCredentialNameBytes 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The bytes for credentialName.
      • setCredentialName

        public GatewayOuterClass.ServerTLSSettings.Builder setCredentialName​(java.lang.String value)
         For gateways running on Kubernetes, the name of the secret that
         holds the TLS certs including the CA certificates. Applicable
         only on Kubernetes. The secret (of type `generic`) should
         contain the following keys and values: `key:
         <privateKey>` and `cert: <serverCert>`. For mutual TLS, 
         `cacert: <CACertificate>` can be provided in the same secret or 
         a separate secret named `<secret>-cacert`.
         Secret of type tls for server certificates along with
         ca.crt key for CA certificates is also supported.
         Only one of server certificates and CA certificate
         or credentialName can be specified.
         
        string credential_name = 10;
        参数:
        value - The credentialName to set.
        返回:
        This builder for chaining.
      • clearCredentialName

        public GatewayOuterClass.ServerTLSSettings.Builder clearCredentialName()
         For gateways running on Kubernetes, the name of the secret that
         holds the TLS certs including the CA certificates. Applicable
         only on Kubernetes. The secret (of type `generic`) should
         contain the following keys and values: `key:
         <privateKey>` and `cert: <serverCert>`. For mutual TLS, 
         `cacert: <CACertificate>` can be provided in the same secret or 
         a separate secret named `<secret>-cacert`.
         Secret of type tls for server certificates along with
         ca.crt key for CA certificates is also supported.
         Only one of server certificates and CA certificate
         or credentialName can be specified.
         
        string credential_name = 10;
        返回:
        This builder for chaining.
      • setCredentialNameBytes

        public GatewayOuterClass.ServerTLSSettings.Builder setCredentialNameBytes​(com.google.protobuf.ByteString value)
         For gateways running on Kubernetes, the name of the secret that
         holds the TLS certs including the CA certificates. Applicable
         only on Kubernetes. The secret (of type `generic`) should
         contain the following keys and values: `key:
         <privateKey>` and `cert: <serverCert>`. For mutual TLS, 
         `cacert: <CACertificate>` can be provided in the same secret or 
         a separate secret named `<secret>-cacert`.
         Secret of type tls for server certificates along with
         ca.crt key for CA certificates is also supported.
         Only one of server certificates and CA certificate
         or credentialName can be specified.
         
        string credential_name = 10;
        参数:
        value - The bytes for credentialName to set.
        返回:
        This builder for chaining.
      • ensureSubjectAltNamesIsMutable

        private void ensureSubjectAltNamesIsMutable()
      • getSubjectAltNamesList

        public com.google.protobuf.ProtocolStringList getSubjectAltNamesList()
         A list of alternate names to verify the subject identity in the
         certificate presented by the client.
         
        repeated string subject_alt_names = 6;
        指定者:
        getSubjectAltNamesList 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        A list containing the subjectAltNames.
      • getSubjectAltNamesCount

        public int getSubjectAltNamesCount()
         A list of alternate names to verify the subject identity in the
         certificate presented by the client.
         
        repeated string subject_alt_names = 6;
        指定者:
        getSubjectAltNamesCount 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The count of subjectAltNames.
      • getSubjectAltNames

        public java.lang.String getSubjectAltNames​(int index)
         A list of alternate names to verify the subject identity in the
         certificate presented by the client.
         
        repeated string subject_alt_names = 6;
        指定者:
        getSubjectAltNames 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        参数:
        index - The index of the element to return.
        返回:
        The subjectAltNames at the given index.
      • getSubjectAltNamesBytes

        public com.google.protobuf.ByteString getSubjectAltNamesBytes​(int index)
         A list of alternate names to verify the subject identity in the
         certificate presented by the client.
         
        repeated string subject_alt_names = 6;
        指定者:
        getSubjectAltNamesBytes 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        参数:
        index - The index of the value to return.
        返回:
        The bytes of the subjectAltNames at the given index.
      • setSubjectAltNames

        public GatewayOuterClass.ServerTLSSettings.Builder setSubjectAltNames​(int index,
                                                                              java.lang.String value)
         A list of alternate names to verify the subject identity in the
         certificate presented by the client.
         
        repeated string subject_alt_names = 6;
        参数:
        index - The index to set the value at.
        value - The subjectAltNames to set.
        返回:
        This builder for chaining.
      • addSubjectAltNames

        public GatewayOuterClass.ServerTLSSettings.Builder addSubjectAltNames​(java.lang.String value)
         A list of alternate names to verify the subject identity in the
         certificate presented by the client.
         
        repeated string subject_alt_names = 6;
        参数:
        value - The subjectAltNames to add.
        返回:
        This builder for chaining.
      • addAllSubjectAltNames

        public GatewayOuterClass.ServerTLSSettings.Builder addAllSubjectAltNames​(java.lang.Iterable<java.lang.String> values)
         A list of alternate names to verify the subject identity in the
         certificate presented by the client.
         
        repeated string subject_alt_names = 6;
        参数:
        values - The subjectAltNames to add.
        返回:
        This builder for chaining.
      • clearSubjectAltNames

        public GatewayOuterClass.ServerTLSSettings.Builder clearSubjectAltNames()
         A list of alternate names to verify the subject identity in the
         certificate presented by the client.
         
        repeated string subject_alt_names = 6;
        返回:
        This builder for chaining.
      • addSubjectAltNamesBytes

        public GatewayOuterClass.ServerTLSSettings.Builder addSubjectAltNamesBytes​(com.google.protobuf.ByteString value)
         A list of alternate names to verify the subject identity in the
         certificate presented by the client.
         
        repeated string subject_alt_names = 6;
        参数:
        value - The bytes of the subjectAltNames to add.
        返回:
        This builder for chaining.
      • ensureVerifyCertificateSpkiIsMutable

        private void ensureVerifyCertificateSpkiIsMutable()
      • getVerifyCertificateSpkiList

        public com.google.protobuf.ProtocolStringList getVerifyCertificateSpkiList()
         An optional list of base64-encoded SHA-256 hashes of the SKPIs of
         authorized client certificates.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_spki = 11;
        指定者:
        getVerifyCertificateSpkiList 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        A list containing the verifyCertificateSpki.
      • getVerifyCertificateSpkiCount

        public int getVerifyCertificateSpkiCount()
         An optional list of base64-encoded SHA-256 hashes of the SKPIs of
         authorized client certificates.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_spki = 11;
        指定者:
        getVerifyCertificateSpkiCount 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The count of verifyCertificateSpki.
      • getVerifyCertificateSpki

        public java.lang.String getVerifyCertificateSpki​(int index)
         An optional list of base64-encoded SHA-256 hashes of the SKPIs of
         authorized client certificates.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_spki = 11;
        指定者:
        getVerifyCertificateSpki 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        参数:
        index - The index of the element to return.
        返回:
        The verifyCertificateSpki at the given index.
      • getVerifyCertificateSpkiBytes

        public com.google.protobuf.ByteString getVerifyCertificateSpkiBytes​(int index)
         An optional list of base64-encoded SHA-256 hashes of the SKPIs of
         authorized client certificates.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_spki = 11;
        指定者:
        getVerifyCertificateSpkiBytes 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        参数:
        index - The index of the value to return.
        返回:
        The bytes of the verifyCertificateSpki at the given index.
      • setVerifyCertificateSpki

        public GatewayOuterClass.ServerTLSSettings.Builder setVerifyCertificateSpki​(int index,
                                                                                    java.lang.String value)
         An optional list of base64-encoded SHA-256 hashes of the SKPIs of
         authorized client certificates.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_spki = 11;
        参数:
        index - The index to set the value at.
        value - The verifyCertificateSpki to set.
        返回:
        This builder for chaining.
      • addVerifyCertificateSpki

        public GatewayOuterClass.ServerTLSSettings.Builder addVerifyCertificateSpki​(java.lang.String value)
         An optional list of base64-encoded SHA-256 hashes of the SKPIs of
         authorized client certificates.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_spki = 11;
        参数:
        value - The verifyCertificateSpki to add.
        返回:
        This builder for chaining.
      • addAllVerifyCertificateSpki

        public GatewayOuterClass.ServerTLSSettings.Builder addAllVerifyCertificateSpki​(java.lang.Iterable<java.lang.String> values)
         An optional list of base64-encoded SHA-256 hashes of the SKPIs of
         authorized client certificates.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_spki = 11;
        参数:
        values - The verifyCertificateSpki to add.
        返回:
        This builder for chaining.
      • clearVerifyCertificateSpki

        public GatewayOuterClass.ServerTLSSettings.Builder clearVerifyCertificateSpki()
         An optional list of base64-encoded SHA-256 hashes of the SKPIs of
         authorized client certificates.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_spki = 11;
        返回:
        This builder for chaining.
      • addVerifyCertificateSpkiBytes

        public GatewayOuterClass.ServerTLSSettings.Builder addVerifyCertificateSpkiBytes​(com.google.protobuf.ByteString value)
         An optional list of base64-encoded SHA-256 hashes of the SKPIs of
         authorized client certificates.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_spki = 11;
        参数:
        value - The bytes of the verifyCertificateSpki to add.
        返回:
        This builder for chaining.
      • ensureVerifyCertificateHashIsMutable

        private void ensureVerifyCertificateHashIsMutable()
      • getVerifyCertificateHashList

        public com.google.protobuf.ProtocolStringList getVerifyCertificateHashList()
         An optional list of hex-encoded SHA-256 hashes of the
         authorized client certificates. Both simple and colon separated
         formats are acceptable.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_hash = 12;
        指定者:
        getVerifyCertificateHashList 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        A list containing the verifyCertificateHash.
      • getVerifyCertificateHashCount

        public int getVerifyCertificateHashCount()
         An optional list of hex-encoded SHA-256 hashes of the
         authorized client certificates. Both simple and colon separated
         formats are acceptable.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_hash = 12;
        指定者:
        getVerifyCertificateHashCount 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The count of verifyCertificateHash.
      • getVerifyCertificateHash

        public java.lang.String getVerifyCertificateHash​(int index)
         An optional list of hex-encoded SHA-256 hashes of the
         authorized client certificates. Both simple and colon separated
         formats are acceptable.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_hash = 12;
        指定者:
        getVerifyCertificateHash 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        参数:
        index - The index of the element to return.
        返回:
        The verifyCertificateHash at the given index.
      • getVerifyCertificateHashBytes

        public com.google.protobuf.ByteString getVerifyCertificateHashBytes​(int index)
         An optional list of hex-encoded SHA-256 hashes of the
         authorized client certificates. Both simple and colon separated
         formats are acceptable.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_hash = 12;
        指定者:
        getVerifyCertificateHashBytes 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        参数:
        index - The index of the value to return.
        返回:
        The bytes of the verifyCertificateHash at the given index.
      • setVerifyCertificateHash

        public GatewayOuterClass.ServerTLSSettings.Builder setVerifyCertificateHash​(int index,
                                                                                    java.lang.String value)
         An optional list of hex-encoded SHA-256 hashes of the
         authorized client certificates. Both simple and colon separated
         formats are acceptable.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_hash = 12;
        参数:
        index - The index to set the value at.
        value - The verifyCertificateHash to set.
        返回:
        This builder for chaining.
      • addVerifyCertificateHash

        public GatewayOuterClass.ServerTLSSettings.Builder addVerifyCertificateHash​(java.lang.String value)
         An optional list of hex-encoded SHA-256 hashes of the
         authorized client certificates. Both simple and colon separated
         formats are acceptable.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_hash = 12;
        参数:
        value - The verifyCertificateHash to add.
        返回:
        This builder for chaining.
      • addAllVerifyCertificateHash

        public GatewayOuterClass.ServerTLSSettings.Builder addAllVerifyCertificateHash​(java.lang.Iterable<java.lang.String> values)
         An optional list of hex-encoded SHA-256 hashes of the
         authorized client certificates. Both simple and colon separated
         formats are acceptable.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_hash = 12;
        参数:
        values - The verifyCertificateHash to add.
        返回:
        This builder for chaining.
      • clearVerifyCertificateHash

        public GatewayOuterClass.ServerTLSSettings.Builder clearVerifyCertificateHash()
         An optional list of hex-encoded SHA-256 hashes of the
         authorized client certificates. Both simple and colon separated
         formats are acceptable.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_hash = 12;
        返回:
        This builder for chaining.
      • addVerifyCertificateHashBytes

        public GatewayOuterClass.ServerTLSSettings.Builder addVerifyCertificateHashBytes​(com.google.protobuf.ByteString value)
         An optional list of hex-encoded SHA-256 hashes of the
         authorized client certificates. Both simple and colon separated
         formats are acceptable.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_hash = 12;
        参数:
        value - The bytes of the verifyCertificateHash to add.
        返回:
        This builder for chaining.
      • getMinProtocolVersionValue

        public int getMinProtocolVersionValue()
         Optional: Minimum TLS protocol version.
         
        .istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol min_protocol_version = 7;
        指定者:
        getMinProtocolVersionValue 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The enum numeric value on the wire for minProtocolVersion.
      • setMinProtocolVersionValue

        public GatewayOuterClass.ServerTLSSettings.Builder setMinProtocolVersionValue​(int value)
         Optional: Minimum TLS protocol version.
         
        .istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol min_protocol_version = 7;
        参数:
        value - The enum numeric value on the wire for minProtocolVersion to set.
        返回:
        This builder for chaining.
      • clearMinProtocolVersion

        public GatewayOuterClass.ServerTLSSettings.Builder clearMinProtocolVersion()
         Optional: Minimum TLS protocol version.
         
        .istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol min_protocol_version = 7;
        返回:
        This builder for chaining.
      • getMaxProtocolVersionValue

        public int getMaxProtocolVersionValue()
         Optional: Maximum TLS protocol version.
         
        .istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol max_protocol_version = 8;
        指定者:
        getMaxProtocolVersionValue 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The enum numeric value on the wire for maxProtocolVersion.
      • setMaxProtocolVersionValue

        public GatewayOuterClass.ServerTLSSettings.Builder setMaxProtocolVersionValue​(int value)
         Optional: Maximum TLS protocol version.
         
        .istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol max_protocol_version = 8;
        参数:
        value - The enum numeric value on the wire for maxProtocolVersion to set.
        返回:
        This builder for chaining.
      • clearMaxProtocolVersion

        public GatewayOuterClass.ServerTLSSettings.Builder clearMaxProtocolVersion()
         Optional: Maximum TLS protocol version.
         
        .istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol max_protocol_version = 8;
        返回:
        This builder for chaining.
      • ensureCipherSuitesIsMutable

        private void ensureCipherSuitesIsMutable()
      • getCipherSuitesList

        public com.google.protobuf.ProtocolStringList getCipherSuitesList()
         Optional: If specified, only support the specified cipher list.
         Otherwise default to the default cipher list supported by Envoy.
         
        repeated string cipher_suites = 9;
        指定者:
        getCipherSuitesList 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        A list containing the cipherSuites.
      • getCipherSuitesCount

        public int getCipherSuitesCount()
         Optional: If specified, only support the specified cipher list.
         Otherwise default to the default cipher list supported by Envoy.
         
        repeated string cipher_suites = 9;
        指定者:
        getCipherSuitesCount 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The count of cipherSuites.
      • getCipherSuites

        public java.lang.String getCipherSuites​(int index)
         Optional: If specified, only support the specified cipher list.
         Otherwise default to the default cipher list supported by Envoy.
         
        repeated string cipher_suites = 9;
        指定者:
        getCipherSuites 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        参数:
        index - The index of the element to return.
        返回:
        The cipherSuites at the given index.
      • getCipherSuitesBytes

        public com.google.protobuf.ByteString getCipherSuitesBytes​(int index)
         Optional: If specified, only support the specified cipher list.
         Otherwise default to the default cipher list supported by Envoy.
         
        repeated string cipher_suites = 9;
        指定者:
        getCipherSuitesBytes 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        参数:
        index - The index of the value to return.
        返回:
        The bytes of the cipherSuites at the given index.
      • setCipherSuites

        public GatewayOuterClass.ServerTLSSettings.Builder setCipherSuites​(int index,
                                                                           java.lang.String value)
         Optional: If specified, only support the specified cipher list.
         Otherwise default to the default cipher list supported by Envoy.
         
        repeated string cipher_suites = 9;
        参数:
        index - The index to set the value at.
        value - The cipherSuites to set.
        返回:
        This builder for chaining.
      • addCipherSuites

        public GatewayOuterClass.ServerTLSSettings.Builder addCipherSuites​(java.lang.String value)
         Optional: If specified, only support the specified cipher list.
         Otherwise default to the default cipher list supported by Envoy.
         
        repeated string cipher_suites = 9;
        参数:
        value - The cipherSuites to add.
        返回:
        This builder for chaining.
      • addAllCipherSuites

        public GatewayOuterClass.ServerTLSSettings.Builder addAllCipherSuites​(java.lang.Iterable<java.lang.String> values)
         Optional: If specified, only support the specified cipher list.
         Otherwise default to the default cipher list supported by Envoy.
         
        repeated string cipher_suites = 9;
        参数:
        values - The cipherSuites to add.
        返回:
        This builder for chaining.
      • clearCipherSuites

        public GatewayOuterClass.ServerTLSSettings.Builder clearCipherSuites()
         Optional: If specified, only support the specified cipher list.
         Otherwise default to the default cipher list supported by Envoy.
         
        repeated string cipher_suites = 9;
        返回:
        This builder for chaining.
      • addCipherSuitesBytes

        public GatewayOuterClass.ServerTLSSettings.Builder addCipherSuitesBytes​(com.google.protobuf.ByteString value)
         Optional: If specified, only support the specified cipher list.
         Otherwise default to the default cipher list supported by Envoy.
         
        repeated string cipher_suites = 9;
        参数:
        value - The bytes of the cipherSuites to add.
        返回:
        This builder for chaining.