Class SslCertDetail.Builder (0.1.0)

public static final class SslCertDetail.Builder extends GeneratedMessage.Builder<SslCertDetail.Builder> implements SslCertDetailOrBuilder

SslCertDetail.

Protobuf type google.cloud.sql.v1.SslCertDetail

Static Methods

getDescriptor()

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

Methods

build()

public SslCertDetail build()
Returns
Type Description
SslCertDetail

buildPartial()

public SslCertDetail buildPartial()
Returns
Type Description
SslCertDetail

clear()

public SslCertDetail.Builder clear()
Returns
Type Description
SslCertDetail.Builder
Overrides

clearCertInfo()

public SslCertDetail.Builder clearCertInfo()

The public information about the cert.

.google.cloud.sql.v1.SslCert cert_info = 1;

Returns
Type Description
SslCertDetail.Builder

clearCertPrivateKey()

public SslCertDetail.Builder clearCertPrivateKey()

The private key for the client cert, in pem format. Keep private in order to protect your security.

string cert_private_key = 2;

Returns
Type Description
SslCertDetail.Builder

This builder for chaining.

getCertInfo()

public SslCert getCertInfo()

The public information about the cert.

.google.cloud.sql.v1.SslCert cert_info = 1;

Returns
Type Description
SslCert

The certInfo.

getCertInfoBuilder()

public SslCert.Builder getCertInfoBuilder()

The public information about the cert.

.google.cloud.sql.v1.SslCert cert_info = 1;

Returns
Type Description
SslCert.Builder

getCertInfoOrBuilder()

public SslCertOrBuilder getCertInfoOrBuilder()

The public information about the cert.

.google.cloud.sql.v1.SslCert cert_info = 1;

Returns
Type Description
SslCertOrBuilder

getCertPrivateKey()

public String getCertPrivateKey()

The private key for the client cert, in pem format. Keep private in order to protect your security.

string cert_private_key = 2;

Returns
Type Description
String

The certPrivateKey.

getCertPrivateKeyBytes()

public ByteString getCertPrivateKeyBytes()

The private key for the client cert, in pem format. Keep private in order to protect your security.

string cert_private_key = 2;

Returns
Type Description
ByteString

The bytes for certPrivateKey.

getDefaultInstanceForType()

public SslCertDetail getDefaultInstanceForType()
Returns
Type Description
SslCertDetail

getDescriptorForType()

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

hasCertInfo()

public boolean hasCertInfo()

The public information about the cert.

.google.cloud.sql.v1.SslCert cert_info = 1;

Returns
Type Description
boolean

Whether the certInfo field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCertInfo(SslCert value)

public SslCertDetail.Builder mergeCertInfo(SslCert value)

The public information about the cert.

.google.cloud.sql.v1.SslCert cert_info = 1;

Parameter
Name Description
value SslCert
Returns
Type Description
SslCertDetail.Builder

mergeFrom(SslCertDetail other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCertInfo(SslCert value)

public SslCertDetail.Builder setCertInfo(SslCert value)

The public information about the cert.

.google.cloud.sql.v1.SslCert cert_info = 1;

Parameter
Name Description
value SslCert
Returns
Type Description
SslCertDetail.Builder

setCertInfo(SslCert.Builder builderForValue)

public SslCertDetail.Builder setCertInfo(SslCert.Builder builderForValue)

The public information about the cert.

.google.cloud.sql.v1.SslCert cert_info = 1;

Parameter
Name Description
builderForValue SslCert.Builder
Returns
Type Description
SslCertDetail.Builder

setCertPrivateKey(String value)

public SslCertDetail.Builder setCertPrivateKey(String value)

The private key for the client cert, in pem format. Keep private in order to protect your security.

string cert_private_key = 2;

Parameter
Name Description
value String

The certPrivateKey to set.

Returns
Type Description
SslCertDetail.Builder

This builder for chaining.

setCertPrivateKeyBytes(ByteString value)

public SslCertDetail.Builder setCertPrivateKeyBytes(ByteString value)

The private key for the client cert, in pem format. Keep private in order to protect your security.

string cert_private_key = 2;

Parameter
Name Description
value ByteString

The bytes for certPrivateKey to set.

Returns
Type Description
SslCertDetail.Builder

This builder for chaining.