public static final class Tls.Client.Builder extends GeneratedMessage.Builder<Tls.Client.Builder> implements Tls.ClientOrBuilderTransport Layer Security (TLS) information associated with the client (for example, Certificate or JA3 hash).
Protobuf type google.backstory.Tls.Client
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Tls.Client.BuilderImplements
Tls.ClientOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSupportedCiphers(Iterable<String> values)
public Tls.Client.Builder addAllSupportedCiphers(Iterable<String> values)Ciphers supported by the client during client hello.
repeated string supported_ciphers = 4;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The supportedCiphers to add. |
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
This builder for chaining. |
addSupportedCiphers(String value)
public Tls.Client.Builder addSupportedCiphers(String value)Ciphers supported by the client during client hello.
repeated string supported_ciphers = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe supportedCiphers to add. |
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
This builder for chaining. |
addSupportedCiphersBytes(ByteString value)
public Tls.Client.Builder addSupportedCiphersBytes(ByteString value)Ciphers supported by the client during client hello.
repeated string supported_ciphers = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the supportedCiphers to add. |
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
This builder for chaining. |
build()
public Tls.Client build()| Returns | |
|---|---|
| Type | Description |
Tls.Client |
|
buildPartial()
public Tls.Client buildPartial()| Returns | |
|---|---|
| Type | Description |
Tls.Client |
|
clear()
public Tls.Client.Builder clear()| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
|
clearCertificate()
public Tls.Client.Builder clearCertificate()Client certificate.
.google.backstory.Certificate certificate = 1;
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
|
clearJa3()
public Tls.Client.Builder clearJa3()JA3 hash from the TLS ClientHello, as a hex-encoded string.
string ja3 = 2;
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
This builder for chaining. |
clearJa4()
public Tls.Client.Builder clearJa4()JA4 hash from the TLS ClientHello, as a hex-encoded string.
string ja4 = 5;
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
This builder for chaining. |
clearServerName()
public Tls.Client.Builder clearServerName()Host name of the server, that the client is connecting to.
string server_name = 3;
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
This builder for chaining. |
clearSupportedCiphers()
public Tls.Client.Builder clearSupportedCiphers()Ciphers supported by the client during client hello.
repeated string supported_ciphers = 4;
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
This builder for chaining. |
getCertificate()
public Certificate getCertificate()Client certificate.
.google.backstory.Certificate certificate = 1;
| Returns | |
|---|---|
| Type | Description |
Certificate |
The certificate. |
getCertificateBuilder()
public Certificate.Builder getCertificateBuilder()Client certificate.
.google.backstory.Certificate certificate = 1;
| Returns | |
|---|---|
| Type | Description |
Certificate.Builder |
|
getCertificateOrBuilder()
public CertificateOrBuilder getCertificateOrBuilder()Client certificate.
.google.backstory.Certificate certificate = 1;
| Returns | |
|---|---|
| Type | Description |
CertificateOrBuilder |
|
getDefaultInstanceForType()
public Tls.Client getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Tls.Client |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getJa3()
public String getJa3()JA3 hash from the TLS ClientHello, as a hex-encoded string.
string ja3 = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The ja3. |
getJa3Bytes()
public ByteString getJa3Bytes()JA3 hash from the TLS ClientHello, as a hex-encoded string.
string ja3 = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ja3. |
getJa4()
public String getJa4()JA4 hash from the TLS ClientHello, as a hex-encoded string.
string ja4 = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The ja4. |
getJa4Bytes()
public ByteString getJa4Bytes()JA4 hash from the TLS ClientHello, as a hex-encoded string.
string ja4 = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ja4. |
getServerName()
public String getServerName()Host name of the server, that the client is connecting to.
string server_name = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The serverName. |
getServerNameBytes()
public ByteString getServerNameBytes()Host name of the server, that the client is connecting to.
string server_name = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serverName. |
getSupportedCiphers(int index)
public String getSupportedCiphers(int index)Ciphers supported by the client during client hello.
repeated string supported_ciphers = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The supportedCiphers at the given index. |
getSupportedCiphersBytes(int index)
public ByteString getSupportedCiphersBytes(int index)Ciphers supported by the client during client hello.
repeated string supported_ciphers = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the supportedCiphers at the given index. |
getSupportedCiphersCount()
public int getSupportedCiphersCount()Ciphers supported by the client during client hello.
repeated string supported_ciphers = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The count of supportedCiphers. |
getSupportedCiphersList()
public ProtocolStringList getSupportedCiphersList()Ciphers supported by the client during client hello.
repeated string supported_ciphers = 4;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the supportedCiphers. |
hasCertificate()
public boolean hasCertificate()Client certificate.
.google.backstory.Certificate certificate = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the certificate field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCertificate(Certificate value)
public Tls.Client.Builder mergeCertificate(Certificate value)Client certificate.
.google.backstory.Certificate certificate = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Certificate |
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
|
mergeFrom(Tls.Client other)
public Tls.Client.Builder mergeFrom(Tls.Client other)| Parameter | |
|---|---|
| Name | Description |
other |
Tls.Client |
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Tls.Client.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Tls.Client.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
|
setCertificate(Certificate value)
public Tls.Client.Builder setCertificate(Certificate value)Client certificate.
.google.backstory.Certificate certificate = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Certificate |
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
|
setCertificate(Certificate.Builder builderForValue)
public Tls.Client.Builder setCertificate(Certificate.Builder builderForValue)Client certificate.
.google.backstory.Certificate certificate = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Certificate.Builder |
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
|
setJa3(String value)
public Tls.Client.Builder setJa3(String value)JA3 hash from the TLS ClientHello, as a hex-encoded string.
string ja3 = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ja3 to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
This builder for chaining. |
setJa3Bytes(ByteString value)
public Tls.Client.Builder setJa3Bytes(ByteString value)JA3 hash from the TLS ClientHello, as a hex-encoded string.
string ja3 = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for ja3 to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
This builder for chaining. |
setJa4(String value)
public Tls.Client.Builder setJa4(String value)JA4 hash from the TLS ClientHello, as a hex-encoded string.
string ja4 = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ja4 to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
This builder for chaining. |
setJa4Bytes(ByteString value)
public Tls.Client.Builder setJa4Bytes(ByteString value)JA4 hash from the TLS ClientHello, as a hex-encoded string.
string ja4 = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for ja4 to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
This builder for chaining. |
setServerName(String value)
public Tls.Client.Builder setServerName(String value)Host name of the server, that the client is connecting to.
string server_name = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serverName to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
This builder for chaining. |
setServerNameBytes(ByteString value)
public Tls.Client.Builder setServerNameBytes(ByteString value)Host name of the server, that the client is connecting to.
string server_name = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serverName to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
This builder for chaining. |
setSupportedCiphers(int index, String value)
public Tls.Client.Builder setSupportedCiphers(int index, String value)Ciphers supported by the client during client hello.
repeated string supported_ciphers = 4;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe supportedCiphers to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
This builder for chaining. |