类 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()private voidbuildPartial0(GatewayOuterClass.ServerTLSSettings result)private voidbuildPartialRepeatedFields(GatewayOuterClass.ServerTLSSettings result)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()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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, 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>
-
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
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(GatewayOuterClass.ServerTLSSettings result)
-
buildPartial0
private void buildPartial0(GatewayOuterClass.ServerTLSSettings result)
-
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;- 指定者:
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
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;- 指定者:
getMode在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 返回:
- The mode.
-
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;- 参数:
value- The mode to set.- 返回:
- This builder for chaining.
-
clearMode
public GatewayOuterClass.ServerTLSSettings.Builder clearMode()
Optional: Indicates whether connections to this port should be secured using TLS. The value of this field determines how TLS is enforced.
.istio.networking.v1alpha3.ServerTLSSettings.TLSmode mode = 2;- 返回:
- This builder for chaining.
-
getServerCertificate
public java.lang.String getServerCertificate()
REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file holding the server-side TLS certificate to use.
string server_certificate = 3;- 指定者:
getServerCertificate在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 返回:
- The serverCertificate.
-
getServerCertificateBytes
public com.google.protobuf.ByteString getServerCertificateBytes()
REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file holding the server-side TLS certificate to use.
string server_certificate = 3;- 指定者:
getServerCertificateBytes在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 返回:
- The bytes for serverCertificate.
-
setServerCertificate
public GatewayOuterClass.ServerTLSSettings.Builder setServerCertificate(java.lang.String value)
REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file holding the server-side TLS certificate to use.
string server_certificate = 3;- 参数:
value- The serverCertificate to set.- 返回:
- This builder for chaining.
-
clearServerCertificate
public GatewayOuterClass.ServerTLSSettings.Builder clearServerCertificate()
REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file holding the server-side TLS certificate to use.
string server_certificate = 3;- 返回:
- This builder for chaining.
-
setServerCertificateBytes
public GatewayOuterClass.ServerTLSSettings.Builder setServerCertificateBytes(com.google.protobuf.ByteString value)
REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file holding the server-side TLS certificate to use.
string server_certificate = 3;- 参数:
value- The bytes for serverCertificate to set.- 返回:
- This builder for chaining.
-
getPrivateKey
public java.lang.String getPrivateKey()
REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file holding the server's private key.
string private_key = 4;- 指定者:
getPrivateKey在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 返回:
- The privateKey.
-
getPrivateKeyBytes
public com.google.protobuf.ByteString getPrivateKeyBytes()
REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file holding the server's private key.
string private_key = 4;- 指定者:
getPrivateKeyBytes在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 返回:
- The bytes for privateKey.
-
setPrivateKey
public GatewayOuterClass.ServerTLSSettings.Builder setPrivateKey(java.lang.String value)
REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file holding the server's private key.
string private_key = 4;- 参数:
value- The privateKey to set.- 返回:
- This builder for chaining.
-
clearPrivateKey
public GatewayOuterClass.ServerTLSSettings.Builder clearPrivateKey()
REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file holding the server's private key.
string private_key = 4;- 返回:
- This builder for chaining.
-
setPrivateKeyBytes
public GatewayOuterClass.ServerTLSSettings.Builder setPrivateKeyBytes(com.google.protobuf.ByteString value)
REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file holding the server's private key.
string private_key = 4;- 参数:
value- The bytes for privateKey to set.- 返回:
- This builder for chaining.
-
getCaCertificates
public java.lang.String getCaCertificates()
REQUIRED if mode is `MUTUAL`. The path to a file containing certificate authority certificates to use in verifying a presented client side certificate.
string ca_certificates = 5;- 指定者:
getCaCertificates在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 返回:
- The caCertificates.
-
getCaCertificatesBytes
public com.google.protobuf.ByteString getCaCertificatesBytes()
REQUIRED if mode is `MUTUAL`. The path to a file containing certificate authority certificates to use in verifying a presented client side certificate.
string ca_certificates = 5;- 指定者:
getCaCertificatesBytes在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 返回:
- The bytes for caCertificates.
-
setCaCertificates
public GatewayOuterClass.ServerTLSSettings.Builder setCaCertificates(java.lang.String value)
REQUIRED if mode is `MUTUAL`. The path to a file containing certificate authority certificates to use in verifying a presented client side certificate.
string ca_certificates = 5;- 参数:
value- The caCertificates to set.- 返回:
- This builder for chaining.
-
clearCaCertificates
public GatewayOuterClass.ServerTLSSettings.Builder clearCaCertificates()
REQUIRED if mode is `MUTUAL`. The path to a file containing certificate authority certificates to use in verifying a presented client side certificate.
string ca_certificates = 5;- 返回:
- This builder for chaining.
-
setCaCertificatesBytes
public GatewayOuterClass.ServerTLSSettings.Builder setCaCertificatesBytes(com.google.protobuf.ByteString value)
REQUIRED if mode is `MUTUAL`. The path to a file containing certificate authority certificates to use in verifying a presented client side certificate.
string ca_certificates = 5;- 参数:
value- The bytes for caCertificates to set.- 返回:
- This builder for chaining.
-
getCredentialName
public java.lang.String getCredentialName()
For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates. Applicable only on Kubernetes. The secret (of type `generic`) should contain the following keys and values: `key: <privateKey>` and `cert: <serverCert>`. For mutual TLS, `cacert: <CACertificate>` can be provided in the same secret or a separate secret named `<secret>-cacert`. Secret of type tls for server certificates along with ca.crt key for CA certificates is also supported. Only one of server certificates and CA certificate or credentialName can be specified.
string credential_name = 10;- 指定者:
getCredentialName在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 返回:
- The credentialName.
-
getCredentialNameBytes
public com.google.protobuf.ByteString getCredentialNameBytes()
For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates. Applicable only on Kubernetes. The secret (of type `generic`) should contain the following keys and values: `key: <privateKey>` and `cert: <serverCert>`. For mutual TLS, `cacert: <CACertificate>` can be provided in the same secret or a separate secret named `<secret>-cacert`. Secret of type tls for server certificates along with ca.crt key for CA certificates is also supported. Only one of server certificates and CA certificate or credentialName can be specified.
string credential_name = 10;- 指定者:
getCredentialNameBytes在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 返回:
- The bytes for credentialName.
-
setCredentialName
public GatewayOuterClass.ServerTLSSettings.Builder setCredentialName(java.lang.String value)
For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates. Applicable only on Kubernetes. The secret (of type `generic`) should contain the following keys and values: `key: <privateKey>` and `cert: <serverCert>`. For mutual TLS, `cacert: <CACertificate>` can be provided in the same secret or a separate secret named `<secret>-cacert`. Secret of type tls for server certificates along with ca.crt key for CA certificates is also supported. Only one of server certificates and CA certificate or credentialName can be specified.
string credential_name = 10;- 参数:
value- The credentialName to set.- 返回:
- This builder for chaining.
-
clearCredentialName
public GatewayOuterClass.ServerTLSSettings.Builder clearCredentialName()
For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates. Applicable only on Kubernetes. The secret (of type `generic`) should contain the following keys and values: `key: <privateKey>` and `cert: <serverCert>`. For mutual TLS, `cacert: <CACertificate>` can be provided in the same secret or a separate secret named `<secret>-cacert`. Secret of type tls for server certificates along with ca.crt key for CA certificates is also supported. Only one of server certificates and CA certificate or credentialName can be specified.
string credential_name = 10;- 返回:
- This builder for chaining.
-
setCredentialNameBytes
public GatewayOuterClass.ServerTLSSettings.Builder setCredentialNameBytes(com.google.protobuf.ByteString value)
For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates. Applicable only on Kubernetes. The secret (of type `generic`) should contain the following keys and values: `key: <privateKey>` and `cert: <serverCert>`. For mutual TLS, `cacert: <CACertificate>` can be provided in the same secret or a separate secret named `<secret>-cacert`. Secret of type tls for server certificates along with ca.crt key for CA certificates is also supported. Only one of server certificates and CA certificate or credentialName can be specified.
string credential_name = 10;- 参数:
value- The bytes for credentialName to set.- 返回:
- This builder for chaining.
-
ensureSubjectAltNamesIsMutable
private void ensureSubjectAltNamesIsMutable()
-
getSubjectAltNamesList
public com.google.protobuf.ProtocolStringList getSubjectAltNamesList()
A list of alternate names to verify the subject identity in the certificate presented by the client.
repeated string subject_alt_names = 6;- 指定者:
getSubjectAltNamesList在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 返回:
- A list containing the subjectAltNames.
-
getSubjectAltNamesCount
public int getSubjectAltNamesCount()
A list of alternate names to verify the subject identity in the certificate presented by the client.
repeated string subject_alt_names = 6;- 指定者:
getSubjectAltNamesCount在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 返回:
- The count of subjectAltNames.
-
getSubjectAltNames
public java.lang.String getSubjectAltNames(int index)
A list of alternate names to verify the subject identity in the certificate presented by the client.
repeated string subject_alt_names = 6;- 指定者:
getSubjectAltNames在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The subjectAltNames at the given index.
-
getSubjectAltNamesBytes
public com.google.protobuf.ByteString getSubjectAltNamesBytes(int index)
A list of alternate names to verify the subject identity in the certificate presented by the client.
repeated string subject_alt_names = 6;- 指定者:
getSubjectAltNamesBytes在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the subjectAltNames at the given index.
-
setSubjectAltNames
public GatewayOuterClass.ServerTLSSettings.Builder setSubjectAltNames(int index, java.lang.String value)
A list of alternate names to verify the subject identity in the certificate presented by the client.
repeated string subject_alt_names = 6;- 参数:
index- The index to set the value at.value- The subjectAltNames to set.- 返回:
- This builder for chaining.
-
addSubjectAltNames
public GatewayOuterClass.ServerTLSSettings.Builder addSubjectAltNames(java.lang.String value)
A list of alternate names to verify the subject identity in the certificate presented by the client.
repeated string subject_alt_names = 6;- 参数:
value- The subjectAltNames to add.- 返回:
- This builder for chaining.
-
addAllSubjectAltNames
public GatewayOuterClass.ServerTLSSettings.Builder addAllSubjectAltNames(java.lang.Iterable<java.lang.String> values)
A list of alternate names to verify the subject identity in the certificate presented by the client.
repeated string subject_alt_names = 6;- 参数:
values- The subjectAltNames to add.- 返回:
- This builder for chaining.
-
clearSubjectAltNames
public GatewayOuterClass.ServerTLSSettings.Builder clearSubjectAltNames()
A list of alternate names to verify the subject identity in the certificate presented by the client.
repeated string subject_alt_names = 6;- 返回:
- This builder for chaining.
-
addSubjectAltNamesBytes
public GatewayOuterClass.ServerTLSSettings.Builder addSubjectAltNamesBytes(com.google.protobuf.ByteString value)
A list of alternate names to verify the subject identity in the certificate presented by the client.
repeated string subject_alt_names = 6;- 参数:
value- The bytes of the subjectAltNames to add.- 返回:
- This builder for chaining.
-
ensureVerifyCertificateSpkiIsMutable
private void ensureVerifyCertificateSpkiIsMutable()
-
getVerifyCertificateSpkiList
public com.google.protobuf.ProtocolStringList getVerifyCertificateSpkiList()
An optional list of base64-encoded SHA-256 hashes of the SKPIs of authorized client certificates. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.
repeated string verify_certificate_spki = 11;- 指定者:
getVerifyCertificateSpkiList在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 返回:
- A list containing the verifyCertificateSpki.
-
getVerifyCertificateSpkiCount
public int getVerifyCertificateSpkiCount()
An optional list of base64-encoded SHA-256 hashes of the SKPIs of authorized client certificates. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.
repeated string verify_certificate_spki = 11;- 指定者:
getVerifyCertificateSpkiCount在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 返回:
- The count of verifyCertificateSpki.
-
getVerifyCertificateSpki
public java.lang.String getVerifyCertificateSpki(int index)
An optional list of base64-encoded SHA-256 hashes of the SKPIs of authorized client certificates. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.
repeated string verify_certificate_spki = 11;- 指定者:
getVerifyCertificateSpki在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The verifyCertificateSpki at the given index.
-
getVerifyCertificateSpkiBytes
public com.google.protobuf.ByteString getVerifyCertificateSpkiBytes(int index)
An optional list of base64-encoded SHA-256 hashes of the SKPIs of authorized client certificates. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.
repeated string verify_certificate_spki = 11;- 指定者:
getVerifyCertificateSpkiBytes在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the verifyCertificateSpki at the given index.
-
setVerifyCertificateSpki
public GatewayOuterClass.ServerTLSSettings.Builder setVerifyCertificateSpki(int index, java.lang.String value)
An optional list of base64-encoded SHA-256 hashes of the SKPIs of authorized client certificates. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.
repeated string verify_certificate_spki = 11;- 参数:
index- The index to set the value at.value- The verifyCertificateSpki to set.- 返回:
- This builder for chaining.
-
addVerifyCertificateSpki
public GatewayOuterClass.ServerTLSSettings.Builder addVerifyCertificateSpki(java.lang.String value)
An optional list of base64-encoded SHA-256 hashes of the SKPIs of authorized client certificates. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.
repeated string verify_certificate_spki = 11;- 参数:
value- The verifyCertificateSpki to add.- 返回:
- This builder for chaining.
-
addAllVerifyCertificateSpki
public GatewayOuterClass.ServerTLSSettings.Builder addAllVerifyCertificateSpki(java.lang.Iterable<java.lang.String> values)
An optional list of base64-encoded SHA-256 hashes of the SKPIs of authorized client certificates. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.
repeated string verify_certificate_spki = 11;- 参数:
values- The verifyCertificateSpki to add.- 返回:
- This builder for chaining.
-
clearVerifyCertificateSpki
public GatewayOuterClass.ServerTLSSettings.Builder clearVerifyCertificateSpki()
An optional list of base64-encoded SHA-256 hashes of the SKPIs of authorized client certificates. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.
repeated string verify_certificate_spki = 11;- 返回:
- This builder for chaining.
-
addVerifyCertificateSpkiBytes
public GatewayOuterClass.ServerTLSSettings.Builder addVerifyCertificateSpkiBytes(com.google.protobuf.ByteString value)
An optional list of base64-encoded SHA-256 hashes of the SKPIs of authorized client certificates. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.
repeated string verify_certificate_spki = 11;- 参数:
value- The bytes of the verifyCertificateSpki to add.- 返回:
- This builder for chaining.
-
ensureVerifyCertificateHashIsMutable
private void ensureVerifyCertificateHashIsMutable()
-
getVerifyCertificateHashList
public com.google.protobuf.ProtocolStringList getVerifyCertificateHashList()
An optional list of hex-encoded SHA-256 hashes of the authorized client certificates. Both simple and colon separated formats are acceptable. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.
repeated string verify_certificate_hash = 12;- 指定者:
getVerifyCertificateHashList在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 返回:
- A list containing the verifyCertificateHash.
-
getVerifyCertificateHashCount
public int getVerifyCertificateHashCount()
An optional list of hex-encoded SHA-256 hashes of the authorized client certificates. Both simple and colon separated formats are acceptable. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.
repeated string verify_certificate_hash = 12;- 指定者:
getVerifyCertificateHashCount在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 返回:
- The count of verifyCertificateHash.
-
getVerifyCertificateHash
public java.lang.String getVerifyCertificateHash(int index)
An optional list of hex-encoded SHA-256 hashes of the authorized client certificates. Both simple and colon separated formats are acceptable. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.
repeated string verify_certificate_hash = 12;- 指定者:
getVerifyCertificateHash在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The verifyCertificateHash at the given index.
-
getVerifyCertificateHashBytes
public com.google.protobuf.ByteString getVerifyCertificateHashBytes(int index)
An optional list of hex-encoded SHA-256 hashes of the authorized client certificates. Both simple and colon separated formats are acceptable. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.
repeated string verify_certificate_hash = 12;- 指定者:
getVerifyCertificateHashBytes在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the verifyCertificateHash at the given index.
-
setVerifyCertificateHash
public GatewayOuterClass.ServerTLSSettings.Builder setVerifyCertificateHash(int index, java.lang.String value)
An optional list of hex-encoded SHA-256 hashes of the authorized client certificates. Both simple and colon separated formats are acceptable. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.
repeated string verify_certificate_hash = 12;- 参数:
index- The index to set the value at.value- The verifyCertificateHash to set.- 返回:
- This builder for chaining.
-
addVerifyCertificateHash
public GatewayOuterClass.ServerTLSSettings.Builder addVerifyCertificateHash(java.lang.String value)
An optional list of hex-encoded SHA-256 hashes of the authorized client certificates. Both simple and colon separated formats are acceptable. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.
repeated string verify_certificate_hash = 12;- 参数:
value- The verifyCertificateHash to add.- 返回:
- This builder for chaining.
-
addAllVerifyCertificateHash
public GatewayOuterClass.ServerTLSSettings.Builder addAllVerifyCertificateHash(java.lang.Iterable<java.lang.String> values)
An optional list of hex-encoded SHA-256 hashes of the authorized client certificates. Both simple and colon separated formats are acceptable. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.
repeated string verify_certificate_hash = 12;- 参数:
values- The verifyCertificateHash to add.- 返回:
- This builder for chaining.
-
clearVerifyCertificateHash
public GatewayOuterClass.ServerTLSSettings.Builder clearVerifyCertificateHash()
An optional list of hex-encoded SHA-256 hashes of the authorized client certificates. Both simple and colon separated formats are acceptable. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.
repeated string verify_certificate_hash = 12;- 返回:
- This builder for chaining.
-
addVerifyCertificateHashBytes
public GatewayOuterClass.ServerTLSSettings.Builder addVerifyCertificateHashBytes(com.google.protobuf.ByteString value)
An optional list of hex-encoded SHA-256 hashes of the authorized client certificates. Both simple and colon separated formats are acceptable. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.
repeated string verify_certificate_hash = 12;- 参数:
value- The bytes of the verifyCertificateHash to add.- 返回:
- This builder for chaining.
-
getMinProtocolVersionValue
public int getMinProtocolVersionValue()
Optional: Minimum TLS protocol version.
.istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol min_protocol_version = 7;- 指定者:
getMinProtocolVersionValue在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 返回:
- The enum numeric value on the wire for minProtocolVersion.
-
setMinProtocolVersionValue
public GatewayOuterClass.ServerTLSSettings.Builder setMinProtocolVersionValue(int value)
Optional: Minimum TLS protocol version.
.istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol min_protocol_version = 7;- 参数:
value- The enum numeric value on the wire for minProtocolVersion to set.- 返回:
- This builder for chaining.
-
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
public GatewayOuterClass.ServerTLSSettings.Builder setMinProtocolVersion(GatewayOuterClass.ServerTLSSettings.TLSProtocol value)
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
public GatewayOuterClass.ServerTLSSettings.Builder setMaxProtocolVersion(GatewayOuterClass.ServerTLSSettings.TLSProtocol value)
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.
-
ensureCipherSuitesIsMutable
private void ensureCipherSuitesIsMutable()
-
getCipherSuitesList
public com.google.protobuf.ProtocolStringList getCipherSuitesList()
Optional: If specified, only support the specified cipher list. Otherwise default to the default cipher list supported by Envoy.
repeated string cipher_suites = 9;- 指定者:
getCipherSuitesList在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 返回:
- A list containing the cipherSuites.
-
getCipherSuitesCount
public int getCipherSuitesCount()
Optional: If specified, only support the specified cipher list. Otherwise default to the default cipher list supported by Envoy.
repeated string cipher_suites = 9;- 指定者:
getCipherSuitesCount在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 返回:
- The count of cipherSuites.
-
getCipherSuites
public java.lang.String getCipherSuites(int index)
Optional: If specified, only support the specified cipher list. Otherwise default to the default cipher list supported by Envoy.
repeated string cipher_suites = 9;- 指定者:
getCipherSuites在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The cipherSuites at the given index.
-
getCipherSuitesBytes
public com.google.protobuf.ByteString getCipherSuitesBytes(int index)
Optional: If specified, only support the specified cipher list. Otherwise default to the default cipher list supported by Envoy.
repeated string cipher_suites = 9;- 指定者:
getCipherSuitesBytes在接口中GatewayOuterClass.ServerTLSSettingsOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the cipherSuites at the given index.
-
setCipherSuites
public GatewayOuterClass.ServerTLSSettings.Builder setCipherSuites(int index, java.lang.String value)
Optional: If specified, only support the specified cipher list. Otherwise default to the default cipher list supported by Envoy.
repeated string cipher_suites = 9;- 参数:
index- The index to set the value at.value- The cipherSuites to set.- 返回:
- This builder for chaining.
-
addCipherSuites
public GatewayOuterClass.ServerTLSSettings.Builder addCipherSuites(java.lang.String value)
Optional: If specified, only support the specified cipher list. Otherwise default to the default cipher list supported by Envoy.
repeated string cipher_suites = 9;- 参数:
value- The cipherSuites to add.- 返回:
- This builder for chaining.
-
addAllCipherSuites
public GatewayOuterClass.ServerTLSSettings.Builder addAllCipherSuites(java.lang.Iterable<java.lang.String> values)
Optional: If specified, only support the specified cipher list. Otherwise default to the default cipher list supported by Envoy.
repeated string cipher_suites = 9;- 参数:
values- The cipherSuites to add.- 返回:
- This builder for chaining.
-
clearCipherSuites
public GatewayOuterClass.ServerTLSSettings.Builder clearCipherSuites()
Optional: If specified, only support the specified cipher list. Otherwise default to the default cipher list supported by Envoy.
repeated string cipher_suites = 9;- 返回:
- This builder for chaining.
-
addCipherSuitesBytes
public GatewayOuterClass.ServerTLSSettings.Builder addCipherSuitesBytes(com.google.protobuf.ByteString value)
Optional: If specified, only support the specified cipher list. Otherwise default to the default cipher list supported by Envoy.
repeated string cipher_suites = 9;- 参数:
value- The bytes of the cipherSuites to add.- 返回:
- This builder for chaining.
-
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>
-
-