Class Tls.Server.Builder (0.3.0)

public static final class Tls.Server.Builder extends GeneratedMessage.Builder<Tls.Server.Builder> implements Tls.ServerOrBuilder

Transport Layer Security (TLS) information associated with the server (for example, Certificate or JA3 hash).

Protobuf type google.backstory.Tls.Server

Implements

Tls.ServerOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Tls.Server build()
Returns
Type Description
Tls.Server

buildPartial()

public Tls.Server buildPartial()
Returns
Type Description
Tls.Server

clear()

public Tls.Server.Builder clear()
Returns
Type Description
Tls.Server.Builder
Overrides

clearCertificate()

public Tls.Server.Builder clearCertificate()

Server certificate.

.google.backstory.Certificate certificate = 1;

Returns
Type Description
Tls.Server.Builder

clearJa3S()

public Tls.Server.Builder clearJa3S()

JA3 hash from the TLS ServerHello, as a hex-encoded string.

string ja3s = 2;

Returns
Type Description
Tls.Server.Builder

This builder for chaining.

clearJa4S()

public Tls.Server.Builder clearJa4S()

JA4 hash from the TLS ServerHello, as a hex-encoded string.

string ja4s = 3;

Returns
Type Description
Tls.Server.Builder

This builder for chaining.

getCertificate()

public Certificate getCertificate()

Server certificate.

.google.backstory.Certificate certificate = 1;

Returns
Type Description
Certificate

The certificate.

getCertificateBuilder()

public Certificate.Builder getCertificateBuilder()

Server certificate.

.google.backstory.Certificate certificate = 1;

Returns
Type Description
Certificate.Builder

getCertificateOrBuilder()

public CertificateOrBuilder getCertificateOrBuilder()

Server certificate.

.google.backstory.Certificate certificate = 1;

Returns
Type Description
CertificateOrBuilder

getDefaultInstanceForType()

public Tls.Server getDefaultInstanceForType()
Returns
Type Description
Tls.Server

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getJa3S()

public String getJa3S()

JA3 hash from the TLS ServerHello, as a hex-encoded string.

string ja3s = 2;

Returns
Type Description
String

The ja3s.

getJa3SBytes()

public ByteString getJa3SBytes()

JA3 hash from the TLS ServerHello, as a hex-encoded string.

string ja3s = 2;

Returns
Type Description
ByteString

The bytes for ja3s.

getJa4S()

public String getJa4S()

JA4 hash from the TLS ServerHello, as a hex-encoded string.

string ja4s = 3;

Returns
Type Description
String

The ja4s.

getJa4SBytes()

public ByteString getJa4SBytes()

JA4 hash from the TLS ServerHello, as a hex-encoded string.

string ja4s = 3;

Returns
Type Description
ByteString

The bytes for ja4s.

hasCertificate()

public boolean hasCertificate()

Server 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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCertificate(Certificate value)

public Tls.Server.Builder mergeCertificate(Certificate value)

Server certificate.

.google.backstory.Certificate certificate = 1;

Parameter
Name Description
value Certificate
Returns
Type Description
Tls.Server.Builder

mergeFrom(Tls.Server other)

public Tls.Server.Builder mergeFrom(Tls.Server other)
Parameter
Name Description
other Tls.Server
Returns
Type Description
Tls.Server.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Tls.Server.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tls.Server.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Tls.Server.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Tls.Server.Builder
Overrides

setCertificate(Certificate value)

public Tls.Server.Builder setCertificate(Certificate value)

Server certificate.

.google.backstory.Certificate certificate = 1;

Parameter
Name Description
value Certificate
Returns
Type Description
Tls.Server.Builder

setCertificate(Certificate.Builder builderForValue)

public Tls.Server.Builder setCertificate(Certificate.Builder builderForValue)

Server certificate.

.google.backstory.Certificate certificate = 1;

Parameter
Name Description
builderForValue Certificate.Builder
Returns
Type Description
Tls.Server.Builder

setJa3S(String value)

public Tls.Server.Builder setJa3S(String value)

JA3 hash from the TLS ServerHello, as a hex-encoded string.

string ja3s = 2;

Parameter
Name Description
value String

The ja3s to set.

Returns
Type Description
Tls.Server.Builder

This builder for chaining.

setJa3SBytes(ByteString value)

public Tls.Server.Builder setJa3SBytes(ByteString value)

JA3 hash from the TLS ServerHello, as a hex-encoded string.

string ja3s = 2;

Parameter
Name Description
value ByteString

The bytes for ja3s to set.

Returns
Type Description
Tls.Server.Builder

This builder for chaining.

setJa4S(String value)

public Tls.Server.Builder setJa4S(String value)

JA4 hash from the TLS ServerHello, as a hex-encoded string.

string ja4s = 3;

Parameter
Name Description
value String

The ja4s to set.

Returns
Type Description
Tls.Server.Builder

This builder for chaining.

setJa4SBytes(ByteString value)

public Tls.Server.Builder setJa4SBytes(ByteString value)

JA4 hash from the TLS ServerHello, as a hex-encoded string.

string ja4s = 3;

Parameter
Name Description
value ByteString

The bytes for ja4s to set.

Returns
Type Description
Tls.Server.Builder

This builder for chaining.