类 GatewayOuterClass.ServerTLSSettings

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

public static final class GatewayOuterClass.ServerTLSSettings extends com.google.protobuf.GeneratedMessageV3 implements GatewayOuterClass.ServerTLSSettingsOrBuilder
Protobuf type istio.networking.v1alpha3.ServerTLSSettings
另请参阅:
  • 字段详细资料

    • HTTPS_REDIRECT_FIELD_NUMBER

      public static final int HTTPS_REDIRECT_FIELD_NUMBER
      另请参阅:
    • MODE_FIELD_NUMBER

      public static final int MODE_FIELD_NUMBER
      另请参阅:
    • SERVER_CERTIFICATE_FIELD_NUMBER

      public static final int SERVER_CERTIFICATE_FIELD_NUMBER
      另请参阅:
    • PRIVATE_KEY_FIELD_NUMBER

      public static final int PRIVATE_KEY_FIELD_NUMBER
      另请参阅:
    • CA_CERTIFICATES_FIELD_NUMBER

      public static final int CA_CERTIFICATES_FIELD_NUMBER
      另请参阅:
    • CREDENTIAL_NAME_FIELD_NUMBER

      public static final int CREDENTIAL_NAME_FIELD_NUMBER
      另请参阅:
    • SUBJECT_ALT_NAMES_FIELD_NUMBER

      public static final int SUBJECT_ALT_NAMES_FIELD_NUMBER
      另请参阅:
    • VERIFY_CERTIFICATE_SPKI_FIELD_NUMBER

      public static final int VERIFY_CERTIFICATE_SPKI_FIELD_NUMBER
      另请参阅:
    • VERIFY_CERTIFICATE_HASH_FIELD_NUMBER

      public static final int VERIFY_CERTIFICATE_HASH_FIELD_NUMBER
      另请参阅:
    • MIN_PROTOCOL_VERSION_FIELD_NUMBER

      public static final int MIN_PROTOCOL_VERSION_FIELD_NUMBER
      另请参阅:
    • MAX_PROTOCOL_VERSION_FIELD_NUMBER

      public static final int MAX_PROTOCOL_VERSION_FIELD_NUMBER
      另请参阅:
    • CIPHER_SUITES_FIELD_NUMBER

      public static final int CIPHER_SUITES_FIELD_NUMBER
      另请参阅:
  • 方法详细资料

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      覆盖:
      newInstance 在类中 com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      指定者:
      internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      指定者:
      isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
      覆盖:
      isInitialized 在类中 com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      指定者:
      writeTo 在接口中 com.google.protobuf.MessageLite
      覆盖:
      writeTo 在类中 com.google.protobuf.GeneratedMessageV3
      抛出:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      指定者:
      getSerializedSize 在接口中 com.google.protobuf.MessageLite
      覆盖:
      getSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      指定者:
      equals 在接口中 com.google.protobuf.Message
      覆盖:
      equals 在类中 com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      指定者:
      hashCode 在接口中 com.google.protobuf.Message
      覆盖:
      hashCode 在类中 com.google.protobuf.AbstractMessage
    • parseFrom

      public static GatewayOuterClass.ServerTLSSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GatewayOuterClass.ServerTLSSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GatewayOuterClass.ServerTLSSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GatewayOuterClass.ServerTLSSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GatewayOuterClass.ServerTLSSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GatewayOuterClass.ServerTLSSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GatewayOuterClass.ServerTLSSettings parseFrom(InputStream input) throws IOException
      抛出:
      IOException
    • parseFrom

      public static GatewayOuterClass.ServerTLSSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • parseDelimitedFrom

      public static GatewayOuterClass.ServerTLSSettings parseDelimitedFrom(InputStream input) throws IOException
      抛出:
      IOException
    • parseDelimitedFrom

      public static GatewayOuterClass.ServerTLSSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • parseFrom

      public static GatewayOuterClass.ServerTLSSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      抛出:
      IOException
    • parseFrom

      public static GatewayOuterClass.ServerTLSSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • newBuilderForType

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

      public static GatewayOuterClass.ServerTLSSettings.Builder newBuilder()
    • newBuilder

    • toBuilder

      指定者:
      toBuilder 在接口中 com.google.protobuf.Message
      指定者:
      toBuilder 在接口中 com.google.protobuf.MessageLite
    • newBuilderForType

      protected GatewayOuterClass.ServerTLSSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      指定者:
      newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static GatewayOuterClass.ServerTLSSettings getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GatewayOuterClass.ServerTLSSettings> parser()
    • getParserForType

      public com.google.protobuf.Parser<GatewayOuterClass.ServerTLSSettings> getParserForType()
      指定者:
      getParserForType 在接口中 com.google.protobuf.Message
      指定者:
      getParserForType 在接口中 com.google.protobuf.MessageLite
      覆盖:
      getParserForType 在类中 com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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