public static final class Tls.Builder extends GeneratedMessage.Builder<Tls.Builder> implements TlsOrBuilderTransport Layer Security (TLS) information.
Protobuf type google.backstory.Tls
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Tls.BuilderImplements
TlsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Tls build()| Returns | |
|---|---|
| Type | Description |
Tls |
|
buildPartial()
public Tls buildPartial()| Returns | |
|---|---|
| Type | Description |
Tls |
|
clear()
public Tls.Builder clear()| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
|
clearCipher()
public Tls.Builder clearCipher()Cipher used during the connection.
string cipher = 3;
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |
clearClient()
public Tls.Builder clearClient()Certificate information for the client certificate.
.google.backstory.Tls.Client client = 1;
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
|
clearCurve()
public Tls.Builder clearCurve()Elliptical curve used for a given cipher.
string curve = 4;
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |
clearEstablished()
public Tls.Builder clearEstablished()Indicates whether the TLS negotiation was successful.
bool established = 7;
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |
clearNextProtocol()
public Tls.Builder clearNextProtocol()Protocol to be used for tunnel.
string next_protocol = 8;
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |
clearResumed()
public Tls.Builder clearResumed()Indicates whether the TLS connection was resumed from a previous TLS negotiation.
bool resumed = 9;
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |
clearServer()
public Tls.Builder clearServer()Certificate information for the server certificate.
.google.backstory.Tls.Server server = 2;
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
|
clearVersion()
public Tls.Builder clearVersion()TLS version.
string version = 5;
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |
clearVersionProtocol()
public Tls.Builder clearVersionProtocol()Protocol.
string version_protocol = 6;
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |
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. |
getClientBuilder()
public Tls.Client.Builder getClientBuilder()Certificate information for the client certificate.
.google.backstory.Tls.Client client = 1;
| Returns | |
|---|---|
| Type | Description |
Tls.Client.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
getServer()
public Tls.Server getServer()Certificate information for the server certificate.
.google.backstory.Tls.Server server = 2;
| Returns | |
|---|---|
| Type | Description |
Tls.Server |
The server. |
getServerBuilder()
public Tls.Server.Builder getServerBuilder()Certificate information for the server certificate.
.google.backstory.Tls.Server server = 2;
| Returns | |
|---|---|
| Type | Description |
Tls.Server.Builder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeClient(Tls.Client value)
public Tls.Builder mergeClient(Tls.Client value)Certificate information for the client certificate.
.google.backstory.Tls.Client client = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Tls.Client |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
|
mergeFrom(Tls other)
public Tls.Builder mergeFrom(Tls other)| Parameter | |
|---|---|
| Name | Description |
other |
Tls |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Tls.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Tls.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
|
mergeServer(Tls.Server value)
public Tls.Builder mergeServer(Tls.Server value)Certificate information for the server certificate.
.google.backstory.Tls.Server server = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Tls.Server |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
|
setCipher(String value)
public Tls.Builder setCipher(String value)Cipher used during the connection.
string cipher = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe cipher to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |
setCipherBytes(ByteString value)
public Tls.Builder setCipherBytes(ByteString value)Cipher used during the connection.
string cipher = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for cipher to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |
setClient(Tls.Client value)
public Tls.Builder setClient(Tls.Client value)Certificate information for the client certificate.
.google.backstory.Tls.Client client = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Tls.Client |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
|
setClient(Tls.Client.Builder builderForValue)
public Tls.Builder setClient(Tls.Client.Builder builderForValue)Certificate information for the client certificate.
.google.backstory.Tls.Client client = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Tls.Client.Builder |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
|
setCurve(String value)
public Tls.Builder setCurve(String value)Elliptical curve used for a given cipher.
string curve = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe curve to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |
setCurveBytes(ByteString value)
public Tls.Builder setCurveBytes(ByteString value)Elliptical curve used for a given cipher.
string curve = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for curve to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |
setEstablished(boolean value)
public Tls.Builder setEstablished(boolean value)Indicates whether the TLS negotiation was successful.
bool established = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe established to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |
setNextProtocol(String value)
public Tls.Builder setNextProtocol(String value)Protocol to be used for tunnel.
string next_protocol = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextProtocol to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |
setNextProtocolBytes(ByteString value)
public Tls.Builder setNextProtocolBytes(ByteString value)Protocol to be used for tunnel.
string next_protocol = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextProtocol to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |
setResumed(boolean value)
public Tls.Builder setResumed(boolean value)Indicates whether the TLS connection was resumed from a previous TLS negotiation.
bool resumed = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe resumed to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |
setServer(Tls.Server value)
public Tls.Builder setServer(Tls.Server value)Certificate information for the server certificate.
.google.backstory.Tls.Server server = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Tls.Server |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
|
setServer(Tls.Server.Builder builderForValue)
public Tls.Builder setServer(Tls.Server.Builder builderForValue)Certificate information for the server certificate.
.google.backstory.Tls.Server server = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Tls.Server.Builder |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
|
setVersion(String value)
public Tls.Builder setVersion(String value)TLS version.
string version = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe version to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public Tls.Builder setVersionBytes(ByteString value)TLS version.
string version = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for version to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |
setVersionProtocol(String value)
public Tls.Builder setVersionProtocol(String value)Protocol.
string version_protocol = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe versionProtocol to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |
setVersionProtocolBytes(ByteString value)
public Tls.Builder setVersionProtocolBytes(ByteString value)Protocol.
string version_protocol = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for versionProtocol to set. |
| Returns | |
|---|---|
| Type | Description |
Tls.Builder |
This builder for chaining. |