Class TlsResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<TlsResult.Builder>
com.google.protobuf.GeneratedMessage.Builder<TlsResult.Builder>
io.confluent.cloud.protobuf.traffic.networkcontext.v1.TlsResult.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TlsResultOrBuilder, Cloneable
- Enclosing class:
TlsResult
public static final class TlsResult.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TlsResult.Builder>
implements TlsResultOrBuilder
Encapsulates all state related to Tls handshake from client to envoyProtobuf type
traffic.networkcontext.v1.TlsResult-
Method Summary
Modifier and TypeMethodDescriptionaddAllClientcertChain(Iterable<? extends CertMetadata> values) metadata for each cert in the chain (including leaf)addClientcertChain(int index, CertMetadata value) metadata for each cert in the chain (including leaf)addClientcertChain(int index, CertMetadata.Builder builderForValue) metadata for each cert in the chain (including leaf)addClientcertChain(CertMetadata value) metadata for each cert in the chain (including leaf)addClientcertChain(CertMetadata.Builder builderForValue) metadata for each cert in the chain (including leaf)metadata for each cert in the chain (including leaf)addClientcertChainBuilder(int index) metadata for each cert in the chain (including leaf)build()clear()string cipher_suite = 2;metadata for each cert in the chain (including leaf)bool clientcert_is_validated = 3;full leaf cert.Human readable field of clientcert_is_validatedstring tls_version = 1;Resource ID of the organization as recognized by the Trusted CA provider.Identifier for the Trusted CA provider that validated the client certificate.string cipher_suite = 2;com.google.protobuf.ByteStringstring cipher_suite = 2;getClientcertChain(int index) metadata for each cert in the chain (including leaf)getClientcertChainBuilder(int index) metadata for each cert in the chain (including leaf)metadata for each cert in the chain (including leaf)intmetadata for each cert in the chain (including leaf)metadata for each cert in the chain (including leaf)getClientcertChainOrBuilder(int index) metadata for each cert in the chain (including leaf)List<? extends CertMetadataOrBuilder> metadata for each cert in the chain (including leaf)booleanbool clientcert_is_validated = 3;com.google.protobuf.ByteStringfull leaf cert.Human readable field of clientcert_is_validatedcom.google.protobuf.ByteStringHuman readable field of clientcert_is_validatedstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorstring tls_version = 1;com.google.protobuf.ByteStringstring tls_version = 1;Resource ID of the organization as recognized by the Trusted CA provider.com.google.protobuf.ByteStringResource ID of the organization as recognized by the Trusted CA provider.Identifier for the Trusted CA provider that validated the client certificate.com.google.protobuf.ByteStringIdentifier for the Trusted CA provider that validated the client certificate.final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeClientcertChain(int index) metadata for each cert in the chain (including leaf)setCipherSuite(String value) string cipher_suite = 2;setCipherSuiteBytes(com.google.protobuf.ByteString value) string cipher_suite = 2;setClientcertChain(int index, CertMetadata value) metadata for each cert in the chain (including leaf)setClientcertChain(int index, CertMetadata.Builder builderForValue) metadata for each cert in the chain (including leaf)setClientcertIsValidated(boolean value) bool clientcert_is_validated = 3;setClientcertLeaf(com.google.protobuf.ByteString value) full leaf cert.Human readable field of clientcert_is_validatedsetClientcertValidationResultBytes(com.google.protobuf.ByteString value) Human readable field of clientcert_is_validatedsetTlsVersion(String value) string tls_version = 1;setTlsVersionBytes(com.google.protobuf.ByteString value) string tls_version = 1;setTrustedcaOrgResourceId(String value) Resource ID of the organization as recognized by the Trusted CA provider.setTrustedcaOrgResourceIdBytes(com.google.protobuf.ByteString value) Resource ID of the organization as recognized by the Trusted CA provider.setTrustedcaProviderId(String value) Identifier for the Trusted CA provider that validated the client certificate.setTrustedcaProviderIdBytes(com.google.protobuf.ByteString value) Identifier for the Trusted CA provider that validated the client certificate.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, mergeUnknownFields, newBuilderForField, setField, setRepeatedField, setUnknownFieldsMethods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom, mergeDelimitedFrom, mergeFromMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TlsResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TlsResult.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TlsResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TlsResult.Builder>
-
mergeFrom
public TlsResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TlsResult.Builder>- Throws:
IOException
-
getTlsVersion
string tls_version = 1;- Specified by:
getTlsVersionin interfaceTlsResultOrBuilder- Returns:
- The tlsVersion.
-
getTlsVersionBytes
public com.google.protobuf.ByteString getTlsVersionBytes()string tls_version = 1;- Specified by:
getTlsVersionBytesin interfaceTlsResultOrBuilder- Returns:
- The bytes for tlsVersion.
-
setTlsVersion
string tls_version = 1;- Parameters:
value- The tlsVersion to set.- Returns:
- This builder for chaining.
-
clearTlsVersion
string tls_version = 1;- Returns:
- This builder for chaining.
-
setTlsVersionBytes
string tls_version = 1;- Parameters:
value- The bytes for tlsVersion to set.- Returns:
- This builder for chaining.
-
getCipherSuite
string cipher_suite = 2;- Specified by:
getCipherSuitein interfaceTlsResultOrBuilder- Returns:
- The cipherSuite.
-
getCipherSuiteBytes
public com.google.protobuf.ByteString getCipherSuiteBytes()string cipher_suite = 2;- Specified by:
getCipherSuiteBytesin interfaceTlsResultOrBuilder- Returns:
- The bytes for cipherSuite.
-
setCipherSuite
string cipher_suite = 2;- Parameters:
value- The cipherSuite to set.- Returns:
- This builder for chaining.
-
clearCipherSuite
string cipher_suite = 2;- Returns:
- This builder for chaining.
-
setCipherSuiteBytes
string cipher_suite = 2;- Parameters:
value- The bytes for cipherSuite to set.- Returns:
- This builder for chaining.
-
getClientcertIsValidated
public boolean getClientcertIsValidated()bool clientcert_is_validated = 3;- Specified by:
getClientcertIsValidatedin interfaceTlsResultOrBuilder- Returns:
- The clientcertIsValidated.
-
setClientcertIsValidated
bool clientcert_is_validated = 3;- Parameters:
value- The clientcertIsValidated to set.- Returns:
- This builder for chaining.
-
clearClientcertIsValidated
bool clientcert_is_validated = 3;- Returns:
- This builder for chaining.
-
getClientcertValidationResult
Human readable field of clientcert_is_validated
string clientcert_validation_result = 4;- Specified by:
getClientcertValidationResultin interfaceTlsResultOrBuilder- Returns:
- The clientcertValidationResult.
-
getClientcertValidationResultBytes
public com.google.protobuf.ByteString getClientcertValidationResultBytes()Human readable field of clientcert_is_validated
string clientcert_validation_result = 4;- Specified by:
getClientcertValidationResultBytesin interfaceTlsResultOrBuilder- Returns:
- The bytes for clientcertValidationResult.
-
setClientcertValidationResult
Human readable field of clientcert_is_validated
string clientcert_validation_result = 4;- Parameters:
value- The clientcertValidationResult to set.- Returns:
- This builder for chaining.
-
clearClientcertValidationResult
Human readable field of clientcert_is_validated
string clientcert_validation_result = 4;- Returns:
- This builder for chaining.
-
setClientcertValidationResultBytes
Human readable field of clientcert_is_validated
string clientcert_validation_result = 4;- Parameters:
value- The bytes for clientcertValidationResult to set.- Returns:
- This builder for chaining.
-
getClientcertLeaf
public com.google.protobuf.ByteString getClientcertLeaf()full leaf cert. Raw bytes are encoded in PEM.
bytes clientcert_leaf = 5;- Specified by:
getClientcertLeafin interfaceTlsResultOrBuilder- Returns:
- The clientcertLeaf.
-
setClientcertLeaf
full leaf cert. Raw bytes are encoded in PEM.
bytes clientcert_leaf = 5;- Parameters:
value- The clientcertLeaf to set.- Returns:
- This builder for chaining.
-
clearClientcertLeaf
full leaf cert. Raw bytes are encoded in PEM.
bytes clientcert_leaf = 5;- Returns:
- This builder for chaining.
-
getClientcertChainList
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6;- Specified by:
getClientcertChainListin interfaceTlsResultOrBuilder
-
getClientcertChainCount
public int getClientcertChainCount()metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6;- Specified by:
getClientcertChainCountin interfaceTlsResultOrBuilder
-
getClientcertChain
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6;- Specified by:
getClientcertChainin interfaceTlsResultOrBuilder
-
setClientcertChain
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6; -
setClientcertChain
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6; -
addClientcertChain
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6; -
addClientcertChain
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6; -
addClientcertChain
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6; -
addClientcertChain
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6; -
addAllClientcertChain
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6; -
clearClientcertChain
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6; -
removeClientcertChain
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6; -
getClientcertChainBuilder
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6; -
getClientcertChainOrBuilder
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6;- Specified by:
getClientcertChainOrBuilderin interfaceTlsResultOrBuilder
-
getClientcertChainOrBuilderList
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6;- Specified by:
getClientcertChainOrBuilderListin interfaceTlsResultOrBuilder
-
addClientcertChainBuilder
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6; -
addClientcertChainBuilder
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6; -
getClientcertChainBuilderList
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6; -
getTrustedcaProviderId
Identifier for the Trusted CA provider that validated the client certificate. This is an opaque string, unique to each provider, used for auditing and cross-referencing.
string trustedca_provider_id = 7;- Specified by:
getTrustedcaProviderIdin interfaceTlsResultOrBuilder- Returns:
- The trustedcaProviderId.
-
getTrustedcaProviderIdBytes
public com.google.protobuf.ByteString getTrustedcaProviderIdBytes()Identifier for the Trusted CA provider that validated the client certificate. This is an opaque string, unique to each provider, used for auditing and cross-referencing.
string trustedca_provider_id = 7;- Specified by:
getTrustedcaProviderIdBytesin interfaceTlsResultOrBuilder- Returns:
- The bytes for trustedcaProviderId.
-
setTrustedcaProviderId
Identifier for the Trusted CA provider that validated the client certificate. This is an opaque string, unique to each provider, used for auditing and cross-referencing.
string trustedca_provider_id = 7;- Parameters:
value- The trustedcaProviderId to set.- Returns:
- This builder for chaining.
-
clearTrustedcaProviderId
Identifier for the Trusted CA provider that validated the client certificate. This is an opaque string, unique to each provider, used for auditing and cross-referencing.
string trustedca_provider_id = 7;- Returns:
- This builder for chaining.
-
setTrustedcaProviderIdBytes
Identifier for the Trusted CA provider that validated the client certificate. This is an opaque string, unique to each provider, used for auditing and cross-referencing.
string trustedca_provider_id = 7;- Parameters:
value- The bytes for trustedcaProviderId to set.- Returns:
- This builder for chaining.
-
getTrustedcaOrgResourceId
Resource ID of the organization as recognized by the Trusted CA provider. This is an opaque string, unique within the provider, used for mapping to organizational records.
string trustedca_org_resource_id = 8;- Specified by:
getTrustedcaOrgResourceIdin interfaceTlsResultOrBuilder- Returns:
- The trustedcaOrgResourceId.
-
getTrustedcaOrgResourceIdBytes
public com.google.protobuf.ByteString getTrustedcaOrgResourceIdBytes()Resource ID of the organization as recognized by the Trusted CA provider. This is an opaque string, unique within the provider, used for mapping to organizational records.
string trustedca_org_resource_id = 8;- Specified by:
getTrustedcaOrgResourceIdBytesin interfaceTlsResultOrBuilder- Returns:
- The bytes for trustedcaOrgResourceId.
-
setTrustedcaOrgResourceId
Resource ID of the organization as recognized by the Trusted CA provider. This is an opaque string, unique within the provider, used for mapping to organizational records.
string trustedca_org_resource_id = 8;- Parameters:
value- The trustedcaOrgResourceId to set.- Returns:
- This builder for chaining.
-
clearTrustedcaOrgResourceId
Resource ID of the organization as recognized by the Trusted CA provider. This is an opaque string, unique within the provider, used for mapping to organizational records.
string trustedca_org_resource_id = 8;- Returns:
- This builder for chaining.
-
setTrustedcaOrgResourceIdBytes
Resource ID of the organization as recognized by the Trusted CA provider. This is an opaque string, unique within the provider, used for mapping to organizational records.
string trustedca_org_resource_id = 8;- Parameters:
value- The bytes for trustedcaOrgResourceId to set.- Returns:
- This builder for chaining.
-