Class Tls (0.3.0)

public final class Tls extends GeneratedMessage implements TlsOrBuilder

Transport Layer Security (TLS) information.

Protobuf type google.backstory.Tls

Implements

TlsOrBuilder

Static Fields

CIPHER_FIELD_NUMBER

public static final int CIPHER_FIELD_NUMBER
Field Value
Type Description
int

CLIENT_FIELD_NUMBER

public static final int CLIENT_FIELD_NUMBER
Field Value
Type Description
int

CURVE_FIELD_NUMBER

public static final int CURVE_FIELD_NUMBER
Field Value
Type Description
int

ESTABLISHED_FIELD_NUMBER

public static final int ESTABLISHED_FIELD_NUMBER
Field Value
Type Description
int

NEXT_PROTOCOL_FIELD_NUMBER

public static final int NEXT_PROTOCOL_FIELD_NUMBER
Field Value
Type Description
int

RESUMED_FIELD_NUMBER

public static final int RESUMED_FIELD_NUMBER
Field Value
Type Description
int

SERVER_FIELD_NUMBER

public static final int SERVER_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

VERSION_PROTOCOL_FIELD_NUMBER

public static final int VERSION_PROTOCOL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Tls getDefaultInstance()
Returns
Type Description
Tls

getDescriptor()

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

newBuilder()

public static Tls.Builder newBuilder()
Returns
Type Description
Tls.Builder

newBuilder(Tls prototype)

public static Tls.Builder newBuilder(Tls prototype)
Parameter
Name Description
prototype Tls
Returns
Type Description
Tls.Builder

parseDelimitedFrom(InputStream input)

public static Tls parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Tls
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Tls parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tls
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Tls parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Tls
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Tls parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tls
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Tls parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Tls
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Tls parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tls
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Tls parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Tls
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Tls parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tls
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Tls parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Tls
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Tls parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tls
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Tls parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Tls
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Tls parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tls
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Tls> parser()
Returns
Type Description
Parser<Tls>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCipher()

public String getCipher()

Cipher used during the connection.

string cipher = 3;

Returns
Type Description
String

The cipher.

getCipherBytes()

public ByteString getCipherBytes()

Cipher used during the connection.

string cipher = 3;

Returns
Type Description
ByteString

The bytes for cipher.

getClient()

public Tls.Client getClient()

Certificate information for the client certificate.

.google.backstory.Tls.Client client = 1;

Returns
Type Description
Tls.Client

The client.

getClientOrBuilder()

public Tls.ClientOrBuilder getClientOrBuilder()

Certificate information for the client certificate.

.google.backstory.Tls.Client client = 1;

Returns
Type Description
Tls.ClientOrBuilder

getCurve()

public String getCurve()

Elliptical curve used for a given cipher.

string curve = 4;

Returns
Type Description
String

The curve.

getCurveBytes()

public ByteString getCurveBytes()

Elliptical curve used for a given cipher.

string curve = 4;

Returns
Type Description
ByteString

The bytes for curve.

getDefaultInstanceForType()

public Tls getDefaultInstanceForType()
Returns
Type Description
Tls

getEstablished()

public boolean getEstablished()

Indicates whether the TLS negotiation was successful.

bool established = 7;

Returns
Type Description
boolean

The established.

getNextProtocol()

public String getNextProtocol()

Protocol to be used for tunnel.

string next_protocol = 8;

Returns
Type Description
String

The nextProtocol.

getNextProtocolBytes()

public ByteString getNextProtocolBytes()

Protocol to be used for tunnel.

string next_protocol = 8;

Returns
Type Description
ByteString

The bytes for nextProtocol.

getParserForType()

public Parser<Tls> getParserForType()
Returns
Type Description
Parser<Tls>
Overrides

getResumed()

public boolean getResumed()

Indicates whether the TLS connection was resumed from a previous TLS negotiation.

bool resumed = 9;

Returns
Type Description
boolean

The resumed.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServer()

public Tls.Server getServer()

Certificate information for the server certificate.

.google.backstory.Tls.Server server = 2;

Returns
Type Description
Tls.Server

The server.

getServerOrBuilder()

public Tls.ServerOrBuilder getServerOrBuilder()

Certificate information for the server certificate.

.google.backstory.Tls.Server server = 2;

Returns
Type Description
Tls.ServerOrBuilder

getVersion()

public String getVersion()

TLS version.

string version = 5;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

TLS version.

string version = 5;

Returns
Type Description
ByteString

The bytes for version.

getVersionProtocol()

public String getVersionProtocol()

Protocol.

string version_protocol = 6;

Returns
Type Description
String

The versionProtocol.

getVersionProtocolBytes()

public ByteString getVersionProtocolBytes()

Protocol.

string version_protocol = 6;

Returns
Type Description
ByteString

The bytes for versionProtocol.

hasClient()

public boolean hasClient()

Certificate information for the client certificate.

.google.backstory.Tls.Client client = 1;

Returns
Type Description
boolean

Whether the client field is set.

hasServer()

public boolean hasServer()

Certificate information for the server certificate.

.google.backstory.Tls.Server server = 2;

Returns
Type Description
boolean

Whether the server field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Tls.Builder newBuilderForType()
Returns
Type Description
Tls.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Tls.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Tls.Builder
Overrides

toBuilder()

public Tls.Builder toBuilder()
Returns
Type Description
Tls.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException