Class TLSProperties
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.data.accesslog.v3.TLSProperties
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TLSPropertiesOrBuilder,Serializable
public final class TLSProperties extends com.google.protobuf.GeneratedMessageV3 implements TLSPropertiesOrBuilder
Properties of a negotiated TLS connection. [#next-free-field: 7]
Protobuf typeenvoy.data.accesslog.v3.TLSProperties- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTLSProperties.BuilderProperties of a negotiated TLS connection.static classTLSProperties.CertificatePropertiesProtobuf typeenvoy.data.accesslog.v3.TLSProperties.CertificatePropertiesstatic interfaceTLSProperties.CertificatePropertiesOrBuilderstatic classTLSProperties.TLSVersionProtobuf enumenvoy.data.accesslog.v3.TLSProperties.TLSVersion-
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 intLOCAL_CERTIFICATE_PROPERTIES_FIELD_NUMBERstatic intPEER_CERTIFICATE_PROPERTIES_FIELD_NUMBERstatic intTLS_CIPHER_SUITE_FIELD_NUMBERstatic intTLS_SESSION_ID_FIELD_NUMBERstatic intTLS_SNI_HOSTNAME_FIELD_NUMBERstatic intTLS_VERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static TLSPropertiesgetDefaultInstance()TLSPropertiesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()TLSProperties.CertificatePropertiesgetLocalCertificateProperties()Properties of the local certificate used to negotiate TLS.TLSProperties.CertificatePropertiesOrBuildergetLocalCertificatePropertiesOrBuilder()Properties of the local certificate used to negotiate TLS.com.google.protobuf.Parser<TLSProperties>getParserForType()TLSProperties.CertificatePropertiesgetPeerCertificateProperties()Properties of the peer certificate used to negotiate TLS.TLSProperties.CertificatePropertiesOrBuildergetPeerCertificatePropertiesOrBuilder()Properties of the peer certificate used to negotiate TLS.intgetSerializedSize()com.google.protobuf.UInt32ValuegetTlsCipherSuite()TLS cipher suite negotiated during handshake.com.google.protobuf.UInt32ValueOrBuildergetTlsCipherSuiteOrBuilder()TLS cipher suite negotiated during handshake.StringgetTlsSessionId()The TLS session ID.com.google.protobuf.ByteStringgetTlsSessionIdBytes()The TLS session ID.StringgetTlsSniHostname()SNI hostname from handshake.com.google.protobuf.ByteStringgetTlsSniHostnameBytes()SNI hostname from handshake.TLSProperties.TLSVersiongetTlsVersion()Version of TLS that was negotiated.intgetTlsVersionValue()Version of TLS that was negotiated.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasLocalCertificateProperties()Properties of the local certificate used to negotiate TLS.booleanhasPeerCertificateProperties()Properties of the peer certificate used to negotiate TLS.booleanhasTlsCipherSuite()TLS cipher suite negotiated during handshake.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static TLSProperties.BuildernewBuilder()static TLSProperties.BuildernewBuilder(TLSProperties prototype)TLSProperties.BuildernewBuilderForType()protected TLSProperties.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static TLSPropertiesparseDelimitedFrom(InputStream input)static TLSPropertiesparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TLSPropertiesparseFrom(byte[] data)static TLSPropertiesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TLSPropertiesparseFrom(com.google.protobuf.ByteString data)static TLSPropertiesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TLSPropertiesparseFrom(com.google.protobuf.CodedInputStream input)static TLSPropertiesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TLSPropertiesparseFrom(InputStream input)static TLSPropertiesparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TLSPropertiesparseFrom(ByteBuffer data)static TLSPropertiesparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TLSProperties>parser()TLSProperties.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
-
TLS_VERSION_FIELD_NUMBER
public static final int TLS_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TLS_CIPHER_SUITE_FIELD_NUMBER
public static final int TLS_CIPHER_SUITE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TLS_SNI_HOSTNAME_FIELD_NUMBER
public static final int TLS_SNI_HOSTNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCAL_CERTIFICATE_PROPERTIES_FIELD_NUMBER
public static final int LOCAL_CERTIFICATE_PROPERTIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PEER_CERTIFICATE_PROPERTIES_FIELD_NUMBER
public static final int PEER_CERTIFICATE_PROPERTIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TLS_SESSION_ID_FIELD_NUMBER
public static final int TLS_SESSION_ID_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
-
getTlsVersionValue
public int getTlsVersionValue()
Version of TLS that was negotiated.
.envoy.data.accesslog.v3.TLSProperties.TLSVersion tls_version = 1;- Specified by:
getTlsVersionValuein interfaceTLSPropertiesOrBuilder- Returns:
- The enum numeric value on the wire for tlsVersion.
-
getTlsVersion
public TLSProperties.TLSVersion getTlsVersion()
Version of TLS that was negotiated.
.envoy.data.accesslog.v3.TLSProperties.TLSVersion tls_version = 1;- Specified by:
getTlsVersionin interfaceTLSPropertiesOrBuilder- Returns:
- The tlsVersion.
-
hasTlsCipherSuite
public boolean hasTlsCipherSuite()
TLS cipher suite negotiated during handshake. The value is a four-digit hex code defined by the IANA TLS Cipher Suite Registry (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``). Here it is expressed as an integer.
.google.protobuf.UInt32Value tls_cipher_suite = 2;- Specified by:
hasTlsCipherSuitein interfaceTLSPropertiesOrBuilder- Returns:
- Whether the tlsCipherSuite field is set.
-
getTlsCipherSuite
public com.google.protobuf.UInt32Value getTlsCipherSuite()
TLS cipher suite negotiated during handshake. The value is a four-digit hex code defined by the IANA TLS Cipher Suite Registry (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``). Here it is expressed as an integer.
.google.protobuf.UInt32Value tls_cipher_suite = 2;- Specified by:
getTlsCipherSuitein interfaceTLSPropertiesOrBuilder- Returns:
- The tlsCipherSuite.
-
getTlsCipherSuiteOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getTlsCipherSuiteOrBuilder()
TLS cipher suite negotiated during handshake. The value is a four-digit hex code defined by the IANA TLS Cipher Suite Registry (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``). Here it is expressed as an integer.
.google.protobuf.UInt32Value tls_cipher_suite = 2;- Specified by:
getTlsCipherSuiteOrBuilderin interfaceTLSPropertiesOrBuilder
-
getTlsSniHostname
public String getTlsSniHostname()
SNI hostname from handshake.
string tls_sni_hostname = 3;- Specified by:
getTlsSniHostnamein interfaceTLSPropertiesOrBuilder- Returns:
- The tlsSniHostname.
-
getTlsSniHostnameBytes
public com.google.protobuf.ByteString getTlsSniHostnameBytes()
SNI hostname from handshake.
string tls_sni_hostname = 3;- Specified by:
getTlsSniHostnameBytesin interfaceTLSPropertiesOrBuilder- Returns:
- The bytes for tlsSniHostname.
-
hasLocalCertificateProperties
public boolean hasLocalCertificateProperties()
Properties of the local certificate used to negotiate TLS.
.envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4;- Specified by:
hasLocalCertificatePropertiesin interfaceTLSPropertiesOrBuilder- Returns:
- Whether the localCertificateProperties field is set.
-
getLocalCertificateProperties
public TLSProperties.CertificateProperties getLocalCertificateProperties()
Properties of the local certificate used to negotiate TLS.
.envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4;- Specified by:
getLocalCertificatePropertiesin interfaceTLSPropertiesOrBuilder- Returns:
- The localCertificateProperties.
-
getLocalCertificatePropertiesOrBuilder
public TLSProperties.CertificatePropertiesOrBuilder getLocalCertificatePropertiesOrBuilder()
Properties of the local certificate used to negotiate TLS.
.envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4;- Specified by:
getLocalCertificatePropertiesOrBuilderin interfaceTLSPropertiesOrBuilder
-
hasPeerCertificateProperties
public boolean hasPeerCertificateProperties()
Properties of the peer certificate used to negotiate TLS.
.envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5;- Specified by:
hasPeerCertificatePropertiesin interfaceTLSPropertiesOrBuilder- Returns:
- Whether the peerCertificateProperties field is set.
-
getPeerCertificateProperties
public TLSProperties.CertificateProperties getPeerCertificateProperties()
Properties of the peer certificate used to negotiate TLS.
.envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5;- Specified by:
getPeerCertificatePropertiesin interfaceTLSPropertiesOrBuilder- Returns:
- The peerCertificateProperties.
-
getPeerCertificatePropertiesOrBuilder
public TLSProperties.CertificatePropertiesOrBuilder getPeerCertificatePropertiesOrBuilder()
Properties of the peer certificate used to negotiate TLS.
.envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5;- Specified by:
getPeerCertificatePropertiesOrBuilderin interfaceTLSPropertiesOrBuilder
-
getTlsSessionId
public String getTlsSessionId()
The TLS session ID.
string tls_session_id = 6;- Specified by:
getTlsSessionIdin interfaceTLSPropertiesOrBuilder- Returns:
- The tlsSessionId.
-
getTlsSessionIdBytes
public com.google.protobuf.ByteString getTlsSessionIdBytes()
The TLS session ID.
string tls_session_id = 6;- Specified by:
getTlsSessionIdBytesin interfaceTLSPropertiesOrBuilder- Returns:
- The bytes for tlsSessionId.
-
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 TLSProperties parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TLSProperties parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TLSProperties parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TLSProperties parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TLSProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TLSProperties parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TLSProperties parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TLSProperties parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TLSProperties parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TLSProperties parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TLSProperties parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TLSProperties parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TLSProperties.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TLSProperties.Builder newBuilder()
-
newBuilder
public static TLSProperties.Builder newBuilder(TLSProperties prototype)
-
toBuilder
public TLSProperties.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TLSProperties.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TLSProperties getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TLSProperties> parser()
-
getParserForType
public com.google.protobuf.Parser<TLSProperties> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TLSProperties getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-