Class SSLClientKeypair (0.37.0)

public final class SSLClientKeypair extends GeneratedMessage implements SSLClientKeypairOrBuilder

An SSL client certificate keypair.

Protobuf type google.cloud.chronicle.v1.SSLClientKeypair

Static Fields

ENCODED_PRIVATE_KEY_FIELD_NUMBER

public static final int ENCODED_PRIVATE_KEY_FIELD_NUMBER
Field Value
Type Description
int

SSL_CERTIFICATE_FIELD_NUMBER

public static final int SSL_CERTIFICATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SSLClientKeypair getDefaultInstance()
Returns
Type Description
SSLClientKeypair

getDescriptor()

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

newBuilder()

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

newBuilder(SSLClientKeypair prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SSLClientKeypair getDefaultInstanceForType()
Returns
Type Description
SSLClientKeypair

getEncodedPrivateKey()

public String getEncodedPrivateKey()

The encoded private key. The string should be a private key in PEM format, and should include the begin header and end footer lines. It may also include newlines.

Example: -----BEGIN RSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: DES-EDE3-CBC,F23074E02CF47304

<REDACTED> -----END RSA PRIVATE KEY-----

string encoded_private_key = 1;

Returns
Type Description
String

The encodedPrivateKey.

getEncodedPrivateKeyBytes()

public ByteString getEncodedPrivateKeyBytes()

The encoded private key. The string should be a private key in PEM format, and should include the begin header and end footer lines. It may also include newlines.

Example: -----BEGIN RSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: DES-EDE3-CBC,F23074E02CF47304

<REDACTED> -----END RSA PRIVATE KEY-----

string encoded_private_key = 1;

Returns
Type Description
ByteString

The bytes for encodedPrivateKey.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSslCertificate()

public String getSslCertificate()

The encoded SSL certificate. The string should be an SSL certificate in PEM format, and should include the begin header and end footer lines. It may also include newlines.

Example: -----BEGIN CERTIFICATE----- <REDACTED> -----END CERTIFICATE-----

string ssl_certificate = 2;

Returns
Type Description
String

The sslCertificate.

getSslCertificateBytes()

public ByteString getSslCertificateBytes()

The encoded SSL certificate. The string should be an SSL certificate in PEM format, and should include the begin header and end footer lines. It may also include newlines.

Example: -----BEGIN CERTIFICATE----- <REDACTED> -----END CERTIFICATE-----

string ssl_certificate = 2;

Returns
Type Description
ByteString

The bytes for sslCertificate.

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 SSLClientKeypair.Builder newBuilderForType()
Returns
Type Description
SSLClientKeypair.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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