类 GatewayOuterClass.ServerTLSSettings.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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,java.lang.Cloneable
public static final class GatewayOuterClass.ServerTLSSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ServerTLSSettings.Builder> implements GatewayOuterClass.ServerTLSSettingsOrBuilder
Protobuf typeistio.networking.v1alpha3.ServerTLSSettings
-
-
字段概要
字段 修饰符和类型 字段 说明 private intbitField0_private java.lang.ObjectcaCertificates_private com.google.protobuf.LazyStringListcipherSuites_private java.lang.ObjectcredentialName_private booleanhttpsRedirect_private intmaxProtocolVersion_private intminProtocolVersion_private intmode_private java.lang.ObjectprivateKey_private java.lang.ObjectserverCertificate_private com.google.protobuf.LazyStringListsubjectAltNames_private com.google.protobuf.LazyStringListverifyCertificateHash_private com.google.protobuf.LazyStringListverifyCertificateSpki_
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 GatewayOuterClass.ServerTLSSettings.BuilderaddAllCipherSuites(java.lang.Iterable<java.lang.String> values)Optional: If specified, only support the specified cipher list.GatewayOuterClass.ServerTLSSettings.BuilderaddAllSubjectAltNames(java.lang.Iterable<java.lang.String> values)A list of alternate names to verify the subject identity in the certificate presented by the client.GatewayOuterClass.ServerTLSSettings.BuilderaddAllVerifyCertificateHash(java.lang.Iterable<java.lang.String> values)An optional list of hex-encoded SHA-256 hashes of the authorized client certificates.GatewayOuterClass.ServerTLSSettings.BuilderaddAllVerifyCertificateSpki(java.lang.Iterable<java.lang.String> values)An optional list of base64-encoded SHA-256 hashes of the SKPIs of authorized client certificates.GatewayOuterClass.ServerTLSSettings.BuilderaddCipherSuites(java.lang.String value)Optional: If specified, only support the specified cipher list.GatewayOuterClass.ServerTLSSettings.BuilderaddCipherSuitesBytes(com.google.protobuf.ByteString value)Optional: If specified, only support the specified cipher list.GatewayOuterClass.ServerTLSSettings.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)GatewayOuterClass.ServerTLSSettings.BuilderaddSubjectAltNames(java.lang.String value)A list of alternate names to verify the subject identity in the certificate presented by the client.GatewayOuterClass.ServerTLSSettings.BuilderaddSubjectAltNamesBytes(com.google.protobuf.ByteString value)A list of alternate names to verify the subject identity in the certificate presented by the client.GatewayOuterClass.ServerTLSSettings.BuilderaddVerifyCertificateHash(java.lang.String value)An optional list of hex-encoded SHA-256 hashes of the authorized client certificates.GatewayOuterClass.ServerTLSSettings.BuilderaddVerifyCertificateHashBytes(com.google.protobuf.ByteString value)An optional list of hex-encoded SHA-256 hashes of the authorized client certificates.GatewayOuterClass.ServerTLSSettings.BuilderaddVerifyCertificateSpki(java.lang.String value)An optional list of base64-encoded SHA-256 hashes of the SKPIs of authorized client certificates.GatewayOuterClass.ServerTLSSettings.BuilderaddVerifyCertificateSpkiBytes(com.google.protobuf.ByteString value)An optional list of base64-encoded SHA-256 hashes of the SKPIs of authorized client certificates.GatewayOuterClass.ServerTLSSettingsbuild()GatewayOuterClass.ServerTLSSettingsbuildPartial()GatewayOuterClass.ServerTLSSettings.Builderclear()GatewayOuterClass.ServerTLSSettings.BuilderclearCaCertificates()REQUIRED if mode is `MUTUAL`.GatewayOuterClass.ServerTLSSettings.BuilderclearCipherSuites()Optional: If specified, only support the specified cipher list.GatewayOuterClass.ServerTLSSettings.BuilderclearCredentialName()For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates.GatewayOuterClass.ServerTLSSettings.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)GatewayOuterClass.ServerTLSSettings.BuilderclearHttpsRedirect()If set to true, the load balancer will send a 301 redirect for all http connections, asking the clients to use HTTPS.GatewayOuterClass.ServerTLSSettings.BuilderclearMaxProtocolVersion()Optional: Maximum TLS protocol version.GatewayOuterClass.ServerTLSSettings.BuilderclearMinProtocolVersion()Optional: Minimum TLS protocol version.GatewayOuterClass.ServerTLSSettings.BuilderclearMode()Optional: Indicates whether connections to this port should be secured using TLS.GatewayOuterClass.ServerTLSSettings.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)GatewayOuterClass.ServerTLSSettings.BuilderclearPrivateKey()REQUIRED if mode is `SIMPLE` or `MUTUAL`.GatewayOuterClass.ServerTLSSettings.BuilderclearServerCertificate()REQUIRED if mode is `SIMPLE` or `MUTUAL`.GatewayOuterClass.ServerTLSSettings.BuilderclearSubjectAltNames()A list of alternate names to verify the subject identity in the certificate presented by the client.GatewayOuterClass.ServerTLSSettings.BuilderclearVerifyCertificateHash()An optional list of hex-encoded SHA-256 hashes of the authorized client certificates.GatewayOuterClass.ServerTLSSettings.BuilderclearVerifyCertificateSpki()An optional list of base64-encoded SHA-256 hashes of the SKPIs of authorized client certificates.GatewayOuterClass.ServerTLSSettings.Builderclone()private voidensureCipherSuitesIsMutable()private voidensureSubjectAltNamesIsMutable()private voidensureVerifyCertificateHashIsMutable()private voidensureVerifyCertificateSpkiIsMutable()java.lang.StringgetCaCertificates()REQUIRED if mode is `MUTUAL`.com.google.protobuf.ByteStringgetCaCertificatesBytes()REQUIRED if mode is `MUTUAL`.java.lang.StringgetCipherSuites(int index)Optional: If specified, only support the specified cipher list.com.google.protobuf.ByteStringgetCipherSuitesBytes(int index)Optional: If specified, only support the specified cipher list.intgetCipherSuitesCount()Optional: If specified, only support the specified cipher list.com.google.protobuf.ProtocolStringListgetCipherSuitesList()Optional: If specified, only support the specified cipher list.java.lang.StringgetCredentialName()For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates.com.google.protobuf.ByteStringgetCredentialNameBytes()For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates.GatewayOuterClass.ServerTLSSettingsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetHttpsRedirect()If set to true, the load balancer will send a 301 redirect for all http connections, asking the clients to use HTTPS.GatewayOuterClass.ServerTLSSettings.TLSProtocolgetMaxProtocolVersion()Optional: Maximum TLS protocol version.intgetMaxProtocolVersionValue()Optional: Maximum TLS protocol version.GatewayOuterClass.ServerTLSSettings.TLSProtocolgetMinProtocolVersion()Optional: Minimum TLS protocol version.intgetMinProtocolVersionValue()Optional: Minimum TLS protocol version.GatewayOuterClass.ServerTLSSettings.TLSmodegetMode()Optional: Indicates whether connections to this port should be secured using TLS.intgetModeValue()Optional: Indicates whether connections to this port should be secured using TLS.java.lang.StringgetPrivateKey()REQUIRED if mode is `SIMPLE` or `MUTUAL`.com.google.protobuf.ByteStringgetPrivateKeyBytes()REQUIRED if mode is `SIMPLE` or `MUTUAL`.java.lang.StringgetServerCertificate()REQUIRED if mode is `SIMPLE` or `MUTUAL`.com.google.protobuf.ByteStringgetServerCertificateBytes()REQUIRED if mode is `SIMPLE` or `MUTUAL`.java.lang.StringgetSubjectAltNames(int index)A list of alternate names to verify the subject identity in the certificate presented by the client.com.google.protobuf.ByteStringgetSubjectAltNamesBytes(int index)A list of alternate names to verify the subject identity in the certificate presented by the client.intgetSubjectAltNamesCount()A list of alternate names to verify the subject identity in the certificate presented by the client.com.google.protobuf.ProtocolStringListgetSubjectAltNamesList()A list of alternate names to verify the subject identity in the certificate presented by the client.java.lang.StringgetVerifyCertificateHash(int index)An optional list of hex-encoded SHA-256 hashes of the authorized client certificates.com.google.protobuf.ByteStringgetVerifyCertificateHashBytes(int index)An optional list of hex-encoded SHA-256 hashes of the authorized client certificates.intgetVerifyCertificateHashCount()An optional list of hex-encoded SHA-256 hashes of the authorized client certificates.com.google.protobuf.ProtocolStringListgetVerifyCertificateHashList()An optional list of hex-encoded SHA-256 hashes of the authorized client certificates.java.lang.StringgetVerifyCertificateSpki(int index)An optional list of base64-encoded SHA-256 hashes of the SKPIs of authorized client certificates.com.google.protobuf.ByteStringgetVerifyCertificateSpkiBytes(int index)An optional list of base64-encoded SHA-256 hashes of the SKPIs of authorized client certificates.intgetVerifyCertificateSpkiCount()An optional list of base64-encoded SHA-256 hashes of the SKPIs of authorized client certificates.com.google.protobuf.ProtocolStringListgetVerifyCertificateSpkiList()An optional list of base64-encoded SHA-256 hashes of the SKPIs of authorized client certificates.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()private voidmaybeForceBuilderInitialization()GatewayOuterClass.ServerTLSSettings.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GatewayOuterClass.ServerTLSSettings.BuildermergeFrom(com.google.protobuf.Message other)GatewayOuterClass.ServerTLSSettings.BuildermergeFrom(GatewayOuterClass.ServerTLSSettings other)GatewayOuterClass.ServerTLSSettings.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GatewayOuterClass.ServerTLSSettings.BuildersetCaCertificates(java.lang.String value)REQUIRED if mode is `MUTUAL`.GatewayOuterClass.ServerTLSSettings.BuildersetCaCertificatesBytes(com.google.protobuf.ByteString value)REQUIRED if mode is `MUTUAL`.GatewayOuterClass.ServerTLSSettings.BuildersetCipherSuites(int index, java.lang.String value)Optional: If specified, only support the specified cipher list.GatewayOuterClass.ServerTLSSettings.BuildersetCredentialName(java.lang.String value)For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates.GatewayOuterClass.ServerTLSSettings.BuildersetCredentialNameBytes(com.google.protobuf.ByteString value)For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates.GatewayOuterClass.ServerTLSSettings.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)GatewayOuterClass.ServerTLSSettings.BuildersetHttpsRedirect(boolean value)If set to true, the load balancer will send a 301 redirect for all http connections, asking the clients to use HTTPS.GatewayOuterClass.ServerTLSSettings.BuildersetMaxProtocolVersion(GatewayOuterClass.ServerTLSSettings.TLSProtocol value)Optional: Maximum TLS protocol version.GatewayOuterClass.ServerTLSSettings.BuildersetMaxProtocolVersionValue(int value)Optional: Maximum TLS protocol version.GatewayOuterClass.ServerTLSSettings.BuildersetMinProtocolVersion(GatewayOuterClass.ServerTLSSettings.TLSProtocol value)Optional: Minimum TLS protocol version.GatewayOuterClass.ServerTLSSettings.BuildersetMinProtocolVersionValue(int value)Optional: Minimum TLS protocol version.GatewayOuterClass.ServerTLSSettings.BuildersetMode(GatewayOuterClass.ServerTLSSettings.TLSmode value)Optional: Indicates whether connections to this port should be secured using TLS.GatewayOuterClass.ServerTLSSettings.BuildersetModeValue(int value)Optional: Indicates whether connections to this port should be secured using TLS.GatewayOuterClass.ServerTLSSettings.BuildersetPrivateKey(java.lang.String value)REQUIRED if mode is `SIMPLE` or `MUTUAL`.GatewayOuterClass.ServerTLSSettings.BuildersetPrivateKeyBytes(com.google.protobuf.ByteString value)REQUIRED if mode is `SIMPLE` or `MUTUAL`.GatewayOuterClass.ServerTLSSettings.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)GatewayOuterClass.ServerTLSSettings.BuildersetServerCertificate(java.lang.String value)REQUIRED if mode is `SIMPLE` or `MUTUAL`.GatewayOuterClass.ServerTLSSettings.BuildersetServerCertificateBytes(com.google.protobuf.ByteString value)REQUIRED if mode is `SIMPLE` or `MUTUAL`.GatewayOuterClass.ServerTLSSettings.BuildersetSubjectAltNames(int index, java.lang.String value)A list of alternate names to verify the subject identity in the certificate presented by the client.GatewayOuterClass.ServerTLSSettings.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GatewayOuterClass.ServerTLSSettings.BuildersetVerifyCertificateHash(int index, java.lang.String value)An optional list of hex-encoded SHA-256 hashes of the authorized client certificates.GatewayOuterClass.ServerTLSSettings.BuildersetVerifyCertificateSpki(int index, java.lang.String value)An optional list of base64-encoded SHA-256 hashes of the SKPIs of authorized client certificates.-
从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
-
-
-
字段详细资料
-
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_
-
-
方法详细资料
-
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>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public 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
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
-
clone
public GatewayOuterClass.ServerTLSSettings.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, java.lang.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, java.lang.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, java.lang.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
public GatewayOuterClass.ServerTLSSettings.Builder mergeFrom(GatewayOuterClass.ServerTLSSettings other)
-
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;
-
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;
-
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;
-
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;
-
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;
-
getMode
public GatewayOuterClass.ServerTLSSettings.TLSmode 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;
-
setMode
public GatewayOuterClass.ServerTLSSettings.Builder setMode(GatewayOuterClass.ServerTLSSettings.TLSmode 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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
getMinProtocolVersionValue
public int getMinProtocolVersionValue()
Optional: Minimum TLS protocol version.
.istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol min_protocol_version = 7;
-
setMinProtocolVersionValue
public GatewayOuterClass.ServerTLSSettings.Builder setMinProtocolVersionValue(int value)
Optional: Minimum TLS protocol version.
.istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol min_protocol_version = 7;
-
getMinProtocolVersion
public GatewayOuterClass.ServerTLSSettings.TLSProtocol getMinProtocolVersion()
Optional: Minimum TLS protocol version.
.istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol min_protocol_version = 7;
-
setMinProtocolVersion
public GatewayOuterClass.ServerTLSSettings.Builder setMinProtocolVersion(GatewayOuterClass.ServerTLSSettings.TLSProtocol value)
Optional: Minimum TLS protocol version.
.istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol min_protocol_version = 7;
-
clearMinProtocolVersion
public GatewayOuterClass.ServerTLSSettings.Builder clearMinProtocolVersion()
Optional: Minimum TLS protocol version.
.istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol min_protocol_version = 7;
-
getMaxProtocolVersionValue
public int getMaxProtocolVersionValue()
Optional: Maximum TLS protocol version.
.istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol max_protocol_version = 8;
-
setMaxProtocolVersionValue
public GatewayOuterClass.ServerTLSSettings.Builder setMaxProtocolVersionValue(int value)
Optional: Maximum TLS protocol version.
.istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol max_protocol_version = 8;
-
getMaxProtocolVersion
public GatewayOuterClass.ServerTLSSettings.TLSProtocol getMaxProtocolVersion()
Optional: Maximum TLS protocol version.
.istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol max_protocol_version = 8;
-
setMaxProtocolVersion
public GatewayOuterClass.ServerTLSSettings.Builder setMaxProtocolVersion(GatewayOuterClass.ServerTLSSettings.TLSProtocol value)
Optional: Maximum TLS protocol version.
.istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol max_protocol_version = 8;
-
clearMaxProtocolVersion
public GatewayOuterClass.ServerTLSSettings.Builder clearMaxProtocolVersion()
Optional: Maximum TLS protocol version.
.istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol max_protocol_version = 8;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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;
-
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>
-
-