Class SslCert (0.1.0)

public final class SslCert extends GeneratedMessage implements SslCertOrBuilder

SslCerts Resource

Protobuf type google.cloud.sql.v1beta4.SslCert

Implements

SslCertOrBuilder

Static Fields

CERT_FIELD_NUMBER

public static final int CERT_FIELD_NUMBER
Field Value
Type Description
int

CERT_SERIAL_NUMBER_FIELD_NUMBER

public static final int CERT_SERIAL_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

COMMON_NAME_FIELD_NUMBER

public static final int COMMON_NAME_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

EXPIRATION_TIME_FIELD_NUMBER

public static final int EXPIRATION_TIME_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_FIELD_NUMBER

public static final int INSTANCE_FIELD_NUMBER
Field Value
Type Description
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
Type Description
int
public static final int SELF_LINK_FIELD_NUMBER
Field Value
Type Description
int

SHA1_FINGERPRINT_FIELD_NUMBER

public static final int SHA1_FINGERPRINT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SslCert getDefaultInstance()
Returns
Type Description
SslCert

getDescriptor()

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

newBuilder()

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

newBuilder(SslCert prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCert()

public String getCert()

PEM representation.

string cert = 3;

Returns
Type Description
String

The cert.

getCertBytes()

public ByteString getCertBytes()

PEM representation.

string cert = 3;

Returns
Type Description
ByteString

The bytes for cert.

getCertSerialNumber()

public String getCertSerialNumber()

Serial number, as extracted from the certificate.

string cert_serial_number = 2;

Returns
Type Description
String

The certSerialNumber.

getCertSerialNumberBytes()

public ByteString getCertSerialNumberBytes()

Serial number, as extracted from the certificate.

string cert_serial_number = 2;

Returns
Type Description
ByteString

The bytes for certSerialNumber.

getCommonName()

public String getCommonName()

User supplied name. Constrained to [a-zA-Z.-_ ]+.

string common_name = 5;

Returns
Type Description
String

The commonName.

getCommonNameBytes()

public ByteString getCommonNameBytes()

User supplied name. Constrained to [a-zA-Z.-_ ]+.

string common_name = 5;

Returns
Type Description
ByteString

The bytes for commonName.

getCreateTime()

public Timestamp getCreateTime()

The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public SslCert getDefaultInstanceForType()
Returns
Type Description
SslCert

getExpirationTime()

public Timestamp getExpirationTime()

The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp expiration_time = 6;

Returns
Type Description
Timestamp

The expirationTime.

getExpirationTimeOrBuilder()

public TimestampOrBuilder getExpirationTimeOrBuilder()

The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp expiration_time = 6;

Returns
Type Description
TimestampOrBuilder

getInstance()

public String getInstance()

Name of the database instance.

string instance = 8;

Returns
Type Description
String

The instance.

getInstanceBytes()

public ByteString getInstanceBytes()

Name of the database instance.

string instance = 8;

Returns
Type Description
ByteString

The bytes for instance.

getKind()

public String getKind()

This is always sql#sslCert.

string kind = 1;

Returns
Type Description
String

The kind.

getKindBytes()

public ByteString getKindBytes()

This is always sql#sslCert.

string kind = 1;

Returns
Type Description
ByteString

The bytes for kind.

getParserForType()

public Parser<SslCert> getParserForType()
Returns
Type Description
Parser<SslCert>
Overrides
public String getSelfLink()

The URI of this resource.

string self_link = 9;

Returns
Type Description
String

The selfLink.

getSelfLinkBytes()

public ByteString getSelfLinkBytes()

The URI of this resource.

string self_link = 9;

Returns
Type Description
ByteString

The bytes for selfLink.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSha1Fingerprint()

public String getSha1Fingerprint()

Sha1 Fingerprint.

string sha1_fingerprint = 7;

Returns
Type Description
String

The sha1Fingerprint.

getSha1FingerprintBytes()

public ByteString getSha1FingerprintBytes()

Sha1 Fingerprint.

string sha1_fingerprint = 7;

Returns
Type Description
ByteString

The bytes for sha1Fingerprint.

hasCreateTime()

public boolean hasCreateTime()

The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
boolean

Whether the createTime field is set.

hasExpirationTime()

public boolean hasExpirationTime()

The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp expiration_time = 6;

Returns
Type Description
boolean

Whether the expirationTime 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 SslCert.Builder newBuilderForType()
Returns
Type Description
SslCert.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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