public static final class SSLClientKeypair.Builder extends GeneratedMessage.Builder<SSLClientKeypair.Builder> implements SSLClientKeypairOrBuilderAn SSL client certificate keypair.
Protobuf type google.cloud.chronicle.v1.SSLClientKeypair
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SSLClientKeypair.BuilderImplements
SSLClientKeypairOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SSLClientKeypair build()| Returns | |
|---|---|
| Type | Description |
SSLClientKeypair |
|
buildPartial()
public SSLClientKeypair buildPartial()| Returns | |
|---|---|
| Type | Description |
SSLClientKeypair |
|
clear()
public SSLClientKeypair.Builder clear()| Returns | |
|---|---|
| Type | Description |
SSLClientKeypair.Builder |
|
clearEncodedPrivateKey()
public SSLClientKeypair.Builder clearEncodedPrivateKey()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 |
SSLClientKeypair.Builder |
This builder for chaining. |
clearSslCertificate()
public SSLClientKeypair.Builder clearSslCertificate()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 |
SSLClientKeypair.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SSLClientKeypair getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SSLClientKeypair |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SSLClientKeypair other)
public SSLClientKeypair.Builder mergeFrom(SSLClientKeypair other)| Parameter | |
|---|---|
| Name | Description |
other |
SSLClientKeypair |
| Returns | |
|---|---|
| Type | Description |
SSLClientKeypair.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SSLClientKeypair.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SSLClientKeypair.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SSLClientKeypair.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SSLClientKeypair.Builder |
|
setEncodedPrivateKey(String value)
public SSLClientKeypair.Builder setEncodedPrivateKey(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe encodedPrivateKey to set. |
| Returns | |
|---|---|
| Type | Description |
SSLClientKeypair.Builder |
This builder for chaining. |
setEncodedPrivateKeyBytes(ByteString value)
public SSLClientKeypair.Builder setEncodedPrivateKeyBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for encodedPrivateKey to set. |
| Returns | |
|---|---|
| Type | Description |
SSLClientKeypair.Builder |
This builder for chaining. |
setSslCertificate(String value)
public SSLClientKeypair.Builder setSslCertificate(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sslCertificate to set. |
| Returns | |
|---|---|
| Type | Description |
SSLClientKeypair.Builder |
This builder for chaining. |
setSslCertificateBytes(ByteString value)
public SSLClientKeypair.Builder setSslCertificateBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sslCertificate to set. |
| Returns | |
|---|---|
| Type | Description |
SSLClientKeypair.Builder |
This builder for chaining. |