Package io.envoyproxy.envoy.api.v2.auth
Class UpstreamTlsContext
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.api.v2.auth.UpstreamTlsContext
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpstreamTlsContextOrBuilder,Serializable
public final class UpstreamTlsContext extends com.google.protobuf.GeneratedMessageV3 implements UpstreamTlsContextOrBuilder
Protobuf typeenvoy.api.v2.auth.UpstreamTlsContext- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpstreamTlsContext.BuilderProtobuf typeenvoy.api.v2.auth.UpstreamTlsContext-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intALLOW_RENEGOTIATION_FIELD_NUMBERstatic intCOMMON_TLS_CONTEXT_FIELD_NUMBERstatic intMAX_SESSION_KEYS_FIELD_NUMBERstatic intSNI_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetAllowRenegotiation()If true, server-initiated TLS renegotiation will be allowed. .. attention:: TLS renegotiation is considered insecure and shouldn't be used unless absolutely necessary.CommonTlsContextgetCommonTlsContext()Common TLS context settings. .. attention:: Server certificate verification is not enabled by default.CommonTlsContextOrBuildergetCommonTlsContextOrBuilder()Common TLS context settings. .. attention:: Server certificate verification is not enabled by default.static UpstreamTlsContextgetDefaultInstance()UpstreamTlsContextgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.UInt32ValuegetMaxSessionKeys()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.UInt32ValueOrBuildergetMaxSessionKeysOrBuilder()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.Parser<UpstreamTlsContext>getParserForType()intgetSerializedSize()StringgetSni()SNI string to use when creating TLS backend connections.com.google.protobuf.ByteStringgetSniBytes()SNI string to use when creating TLS backend connections.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasCommonTlsContext()Common TLS context settings. .. attention:: Server certificate verification is not enabled by default.inthashCode()booleanhasMaxSessionKeys()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.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static UpstreamTlsContext.BuildernewBuilder()static UpstreamTlsContext.BuildernewBuilder(UpstreamTlsContext prototype)UpstreamTlsContext.BuildernewBuilderForType()protected UpstreamTlsContext.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static UpstreamTlsContextparseDelimitedFrom(InputStream input)static UpstreamTlsContextparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpstreamTlsContextparseFrom(byte[] data)static UpstreamTlsContextparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpstreamTlsContextparseFrom(com.google.protobuf.ByteString data)static UpstreamTlsContextparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpstreamTlsContextparseFrom(com.google.protobuf.CodedInputStream input)static UpstreamTlsContextparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpstreamTlsContextparseFrom(InputStream input)static UpstreamTlsContextparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpstreamTlsContextparseFrom(ByteBuffer data)static UpstreamTlsContextparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<UpstreamTlsContext>parser()UpstreamTlsContext.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
COMMON_TLS_CONTEXT_FIELD_NUMBER
public static final int COMMON_TLS_CONTEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SNI_FIELD_NUMBER
public static final int SNI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOW_RENEGOTIATION_FIELD_NUMBER
public static final int ALLOW_RENEGOTIATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_SESSION_KEYS_FIELD_NUMBER
public static final int MAX_SESSION_KEYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasCommonTlsContext
public 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;- Specified by:
hasCommonTlsContextin interfaceUpstreamTlsContextOrBuilder- Returns:
- Whether the commonTlsContext field is set.
-
getCommonTlsContext
public 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;- Specified by:
getCommonTlsContextin interfaceUpstreamTlsContextOrBuilder- Returns:
- The commonTlsContext.
-
getCommonTlsContextOrBuilder
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;- Specified by:
getCommonTlsContextOrBuilderin interfaceUpstreamTlsContextOrBuilder
-
getSni
public String getSni()
SNI string to use when creating TLS backend connections.
string sni = 2 [(.validate.rules) = { ... }- Specified by:
getSniin interfaceUpstreamTlsContextOrBuilder- Returns:
- The sni.
-
getSniBytes
public com.google.protobuf.ByteString getSniBytes()
SNI string to use when creating TLS backend connections.
string sni = 2 [(.validate.rules) = { ... }- Specified by:
getSniBytesin interfaceUpstreamTlsContextOrBuilder- Returns:
- The bytes for sni.
-
getAllowRenegotiation
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;- Specified by:
getAllowRenegotiationin interfaceUpstreamTlsContextOrBuilder- Returns:
- The allowRenegotiation.
-
hasMaxSessionKeys
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;- Specified by:
hasMaxSessionKeysin interfaceUpstreamTlsContextOrBuilder- Returns:
- Whether the maxSessionKeys field is set.
-
getMaxSessionKeys
public 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;- Specified by:
getMaxSessionKeysin interfaceUpstreamTlsContextOrBuilder- Returns:
- The maxSessionKeys.
-
getMaxSessionKeysOrBuilder
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;- Specified by:
getMaxSessionKeysOrBuilderin interfaceUpstreamTlsContextOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UpstreamTlsContext parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpstreamTlsContext parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpstreamTlsContext parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpstreamTlsContext parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpstreamTlsContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpstreamTlsContext parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpstreamTlsContext parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static UpstreamTlsContext parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static UpstreamTlsContext parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static UpstreamTlsContext parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static UpstreamTlsContext parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static UpstreamTlsContext parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public UpstreamTlsContext.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static UpstreamTlsContext.Builder newBuilder()
-
newBuilder
public static UpstreamTlsContext.Builder newBuilder(UpstreamTlsContext prototype)
-
toBuilder
public UpstreamTlsContext.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UpstreamTlsContext.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static UpstreamTlsContext getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<UpstreamTlsContext> parser()
-
getParserForType
public com.google.protobuf.Parser<UpstreamTlsContext> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public UpstreamTlsContext getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-