public static final class UpstreamTlsContext.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder> implements UpstreamTlsContextOrBuilder
envoy.api.v2.auth.UpstreamTlsContext| Modifier and Type | Method and Description |
|---|---|
UpstreamTlsContext.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UpstreamTlsContext |
build() |
UpstreamTlsContext |
buildPartial() |
UpstreamTlsContext.Builder |
clear() |
UpstreamTlsContext.Builder |
clearAllowRenegotiation()
If true, server-initiated TLS renegotiation will be allowed.
.. attention::
TLS renegotiation is considered insecure and shouldn't be used unless absolutely necessary.
|
UpstreamTlsContext.Builder |
clearCommonTlsContext()
Common TLS context settings.
.. attention::
Server certificate verification is not enabled by default.
|
UpstreamTlsContext.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UpstreamTlsContext.Builder |
clearMaxSessionKeys()
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets
for TLSv1.2 and older) to store for the purpose of session resumption.
|
UpstreamTlsContext.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UpstreamTlsContext.Builder |
clearSni()
SNI string to use when creating TLS backend connections.
|
UpstreamTlsContext.Builder |
clone() |
boolean |
getAllowRenegotiation()
If true, server-initiated TLS renegotiation will be allowed.
.. attention::
TLS renegotiation is considered insecure and shouldn't be used unless absolutely necessary.
|
CommonTlsContext |
getCommonTlsContext()
Common TLS context settings.
.. attention::
Server certificate verification is not enabled by default.
|
CommonTlsContext.Builder |
getCommonTlsContextBuilder()
Common TLS context settings.
.. attention::
Server certificate verification is not enabled by default.
|
CommonTlsContextOrBuilder |
getCommonTlsContextOrBuilder()
Common TLS context settings.
.. attention::
Server certificate verification is not enabled by default.
|
UpstreamTlsContext |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.UInt32Value |
getMaxSessionKeys()
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets
for TLSv1.2 and older) to store for the purpose of session resumption.
|
com.google.protobuf.UInt32Value.Builder |
getMaxSessionKeysBuilder()
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets
for TLSv1.2 and older) to store for the purpose of session resumption.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxSessionKeysOrBuilder()
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets
for TLSv1.2 and older) to store for the purpose of session resumption.
|
String |
getSni()
SNI string to use when creating TLS backend connections.
|
com.google.protobuf.ByteString |
getSniBytes()
SNI string to use when creating TLS backend connections.
|
boolean |
hasCommonTlsContext()
Common TLS context settings.
.. attention::
Server certificate verification is not enabled by default.
|
boolean |
hasMaxSessionKeys()
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets
for TLSv1.2 and older) to store for the purpose of session resumption.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UpstreamTlsContext.Builder |
mergeCommonTlsContext(CommonTlsContext value)
Common TLS context settings.
.. attention::
Server certificate verification is not enabled by default.
|
UpstreamTlsContext.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UpstreamTlsContext.Builder |
mergeFrom(com.google.protobuf.Message other) |
UpstreamTlsContext.Builder |
mergeFrom(UpstreamTlsContext other) |
UpstreamTlsContext.Builder |
mergeMaxSessionKeys(com.google.protobuf.UInt32Value value)
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets
for TLSv1.2 and older) to store for the purpose of session resumption.
|
UpstreamTlsContext.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UpstreamTlsContext.Builder |
setAllowRenegotiation(boolean value)
If true, server-initiated TLS renegotiation will be allowed.
.. attention::
TLS renegotiation is considered insecure and shouldn't be used unless absolutely necessary.
|
UpstreamTlsContext.Builder |
setCommonTlsContext(CommonTlsContext.Builder builderForValue)
Common TLS context settings.
.. attention::
Server certificate verification is not enabled by default.
|
UpstreamTlsContext.Builder |
setCommonTlsContext(CommonTlsContext value)
Common TLS context settings.
.. attention::
Server certificate verification is not enabled by default.
|
UpstreamTlsContext.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UpstreamTlsContext.Builder |
setMaxSessionKeys(com.google.protobuf.UInt32Value.Builder builderForValue)
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets
for TLSv1.2 and older) to store for the purpose of session resumption.
|
UpstreamTlsContext.Builder |
setMaxSessionKeys(com.google.protobuf.UInt32Value value)
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets
for TLSv1.2 and older) to store for the purpose of session resumption.
|
UpstreamTlsContext.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UpstreamTlsContext.Builder |
setSni(String value)
SNI string to use when creating TLS backend connections.
|
UpstreamTlsContext.Builder |
setSniBytes(com.google.protobuf.ByteString value)
SNI string to use when creating TLS backend connections.
|
UpstreamTlsContext.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>public UpstreamTlsContext.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>public UpstreamTlsContext getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UpstreamTlsContext build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UpstreamTlsContext buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UpstreamTlsContext.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>public UpstreamTlsContext.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>public UpstreamTlsContext.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>public UpstreamTlsContext.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>public UpstreamTlsContext.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>public UpstreamTlsContext.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>public UpstreamTlsContext.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpstreamTlsContext.Builder>public UpstreamTlsContext.Builder mergeFrom(UpstreamTlsContext other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>public UpstreamTlsContext.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpstreamTlsContext.Builder>IOExceptionpublic boolean hasCommonTlsContext()
Common TLS context settings. .. attention:: Server certificate verification is not enabled by default. Configure :ref:`trusted_ca<envoy_api_field_auth.CertificateValidationContext.trusted_ca>` to enable verification.
.envoy.api.v2.auth.CommonTlsContext common_tls_context = 1;hasCommonTlsContext in interface UpstreamTlsContextOrBuilderpublic CommonTlsContext getCommonTlsContext()
Common TLS context settings. .. attention:: Server certificate verification is not enabled by default. Configure :ref:`trusted_ca<envoy_api_field_auth.CertificateValidationContext.trusted_ca>` to enable verification.
.envoy.api.v2.auth.CommonTlsContext common_tls_context = 1;getCommonTlsContext in interface UpstreamTlsContextOrBuilderpublic UpstreamTlsContext.Builder setCommonTlsContext(CommonTlsContext value)
Common TLS context settings. .. attention:: Server certificate verification is not enabled by default. Configure :ref:`trusted_ca<envoy_api_field_auth.CertificateValidationContext.trusted_ca>` to enable verification.
.envoy.api.v2.auth.CommonTlsContext common_tls_context = 1;public UpstreamTlsContext.Builder setCommonTlsContext(CommonTlsContext.Builder builderForValue)
Common TLS context settings. .. attention:: Server certificate verification is not enabled by default. Configure :ref:`trusted_ca<envoy_api_field_auth.CertificateValidationContext.trusted_ca>` to enable verification.
.envoy.api.v2.auth.CommonTlsContext common_tls_context = 1;public UpstreamTlsContext.Builder mergeCommonTlsContext(CommonTlsContext value)
Common TLS context settings. .. attention:: Server certificate verification is not enabled by default. Configure :ref:`trusted_ca<envoy_api_field_auth.CertificateValidationContext.trusted_ca>` to enable verification.
.envoy.api.v2.auth.CommonTlsContext common_tls_context = 1;public UpstreamTlsContext.Builder clearCommonTlsContext()
Common TLS context settings. .. attention:: Server certificate verification is not enabled by default. Configure :ref:`trusted_ca<envoy_api_field_auth.CertificateValidationContext.trusted_ca>` to enable verification.
.envoy.api.v2.auth.CommonTlsContext common_tls_context = 1;public CommonTlsContext.Builder getCommonTlsContextBuilder()
Common TLS context settings. .. attention:: Server certificate verification is not enabled by default. Configure :ref:`trusted_ca<envoy_api_field_auth.CertificateValidationContext.trusted_ca>` to enable verification.
.envoy.api.v2.auth.CommonTlsContext common_tls_context = 1;public CommonTlsContextOrBuilder getCommonTlsContextOrBuilder()
Common TLS context settings. .. attention:: Server certificate verification is not enabled by default. Configure :ref:`trusted_ca<envoy_api_field_auth.CertificateValidationContext.trusted_ca>` to enable verification.
.envoy.api.v2.auth.CommonTlsContext common_tls_context = 1;getCommonTlsContextOrBuilder in interface UpstreamTlsContextOrBuilderpublic String getSni()
SNI string to use when creating TLS backend connections.
string sni = 2 [(.validate.rules) = { ... }getSni in interface UpstreamTlsContextOrBuilderpublic com.google.protobuf.ByteString getSniBytes()
SNI string to use when creating TLS backend connections.
string sni = 2 [(.validate.rules) = { ... }getSniBytes in interface UpstreamTlsContextOrBuilderpublic UpstreamTlsContext.Builder setSni(String value)
SNI string to use when creating TLS backend connections.
string sni = 2 [(.validate.rules) = { ... }public UpstreamTlsContext.Builder clearSni()
SNI string to use when creating TLS backend connections.
string sni = 2 [(.validate.rules) = { ... }public UpstreamTlsContext.Builder setSniBytes(com.google.protobuf.ByteString value)
SNI string to use when creating TLS backend connections.
string sni = 2 [(.validate.rules) = { ... }public boolean getAllowRenegotiation()
If true, server-initiated TLS renegotiation will be allowed. .. attention:: TLS renegotiation is considered insecure and shouldn't be used unless absolutely necessary.
bool allow_renegotiation = 3;getAllowRenegotiation in interface UpstreamTlsContextOrBuilderpublic UpstreamTlsContext.Builder setAllowRenegotiation(boolean value)
If true, server-initiated TLS renegotiation will be allowed. .. attention:: TLS renegotiation is considered insecure and shouldn't be used unless absolutely necessary.
bool allow_renegotiation = 3;public UpstreamTlsContext.Builder clearAllowRenegotiation()
If true, server-initiated TLS renegotiation will be allowed. .. attention:: TLS renegotiation is considered insecure and shouldn't be used unless absolutely necessary.
bool allow_renegotiation = 3;public boolean hasMaxSessionKeys()
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to store for the purpose of session resumption. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4;hasMaxSessionKeys in interface UpstreamTlsContextOrBuilderpublic com.google.protobuf.UInt32Value getMaxSessionKeys()
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to store for the purpose of session resumption. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4;getMaxSessionKeys in interface UpstreamTlsContextOrBuilderpublic UpstreamTlsContext.Builder setMaxSessionKeys(com.google.protobuf.UInt32Value value)
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to store for the purpose of session resumption. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4;public UpstreamTlsContext.Builder setMaxSessionKeys(com.google.protobuf.UInt32Value.Builder builderForValue)
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to store for the purpose of session resumption. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4;public UpstreamTlsContext.Builder mergeMaxSessionKeys(com.google.protobuf.UInt32Value value)
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to store for the purpose of session resumption. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4;public UpstreamTlsContext.Builder clearMaxSessionKeys()
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to store for the purpose of session resumption. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4;public com.google.protobuf.UInt32Value.Builder getMaxSessionKeysBuilder()
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to store for the purpose of session resumption. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4;public com.google.protobuf.UInt32ValueOrBuilder getMaxSessionKeysOrBuilder()
Maximum number of session keys (Pre-Shared Keys for TLSv1.3+, Session IDs and Session Tickets for TLSv1.2 and older) to store for the purpose of session resumption. Defaults to 1, setting this to 0 disables session resumption.
.google.protobuf.UInt32Value max_session_keys = 4;getMaxSessionKeysOrBuilder in interface UpstreamTlsContextOrBuilderpublic final UpstreamTlsContext.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>public final UpstreamTlsContext.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpstreamTlsContext.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.