类 GatewayOuterClass.ServerTLSSettings.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.ServerTLSSettings.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ServerTLSSettings.Builder>
istio.networking.v1alpha3.GatewayOuterClass.ServerTLSSettings.Builder
所有已实现的接口:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GatewayOuterClass.ServerTLSSettingsOrBuilder, Cloneable
封闭类:
GatewayOuterClass.ServerTLSSettings

public static final class GatewayOuterClass.ServerTLSSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ServerTLSSettings.Builder> implements GatewayOuterClass.ServerTLSSettingsOrBuilder
Protobuf type istio.networking.v1alpha3.ServerTLSSettings
  • 方法详细资料

    • 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>
    • clear

      指定者:
      clear 在接口中 com.google.protobuf.Message.Builder
      指定者:
      clear 在接口中 com.google.protobuf.MessageLite.Builder
      覆盖:
      clear 在类中 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

      指定者:
      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
    • clone

      指定者:
      clone 在接口中 com.google.protobuf.Message.Builder
      指定者:
      clone 在接口中 com.google.protobuf.MessageLite.Builder
      覆盖:
      clone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ServerTLSSettings.Builder>
    • setField

      public GatewayOuterClass.ServerTLSSettings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      指定者:
      setField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      setField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ServerTLSSettings.Builder>
    • clearField

      public GatewayOuterClass.ServerTLSSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      指定者:
      clearField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      clearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ServerTLSSettings.Builder>
    • clearOneof

      public GatewayOuterClass.ServerTLSSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      指定者:
      clearOneof 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      clearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ServerTLSSettings.Builder>
    • setRepeatedField

      public GatewayOuterClass.ServerTLSSettings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      指定者:
      setRepeatedField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      setRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ServerTLSSettings.Builder>
    • addRepeatedField

      public GatewayOuterClass.ServerTLSSettings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      指定者:
      addRepeatedField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      addRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ServerTLSSettings.Builder>
    • mergeFrom

      public GatewayOuterClass.ServerTLSSettings.Builder mergeFrom(com.google.protobuf.Message other)
      指定者:
      mergeFrom 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      mergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.ServerTLSSettings.Builder>
    • mergeFrom

    • 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 IOException
      指定者:
      mergeFrom 在接口中 com.google.protobuf.Message.Builder
      指定者:
      mergeFrom 在接口中 com.google.protobuf.MessageLite.Builder
      覆盖:
      mergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.ServerTLSSettings.Builder>
      抛出:
      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.
    • getMode

       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;
      指定者:
      getMode 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
      返回:
      The mode.
    • setMode

       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 mode to set.
      返回:
      This builder for chaining.
    • 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 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(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 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

       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

       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 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(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 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(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.
    • 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 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, 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(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(Iterable<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.
    • 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 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, 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(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(Iterable<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.
    • 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 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, 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(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(Iterable<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.
    • getMinProtocolVersion

      public GatewayOuterClass.ServerTLSSettings.TLSProtocol getMinProtocolVersion()
       Optional: Minimum TLS protocol version.
       
      .istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol min_protocol_version = 7;
      指定者:
      getMinProtocolVersion 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
      返回:
      The minProtocolVersion.
    • setMinProtocolVersion

       Optional: Minimum TLS protocol version.
       
      .istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol min_protocol_version = 7;
      参数:
      value - The 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.
    • getMaxProtocolVersion

      public GatewayOuterClass.ServerTLSSettings.TLSProtocol getMaxProtocolVersion()
       Optional: Maximum TLS protocol version.
       
      .istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol max_protocol_version = 8;
      指定者:
      getMaxProtocolVersion 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
      返回:
      The maxProtocolVersion.
    • setMaxProtocolVersion

       Optional: Maximum TLS protocol version.
       
      .istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol max_protocol_version = 8;
      参数:
      value - The 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.
    • 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 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, 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(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(Iterable<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.
    • setUnknownFields

      public final GatewayOuterClass.ServerTLSSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      指定者:
      setUnknownFields 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      setUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ServerTLSSettings.Builder>
    • mergeUnknownFields

      public final GatewayOuterClass.ServerTLSSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      指定者:
      mergeUnknownFields 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      mergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ServerTLSSettings.Builder>