public static final class SslCert.Builder extends GeneratedMessage.Builder<SslCert.Builder> implements SslCertOrBuilderSslCerts Resource
Protobuf type google.cloud.sql.v1beta4.SslCert
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SslCert.BuilderImplements
SslCertOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SslCert build()| Returns | |
|---|---|
| Type | Description |
SslCert |
|
buildPartial()
public SslCert buildPartial()| Returns | |
|---|---|
| Type | Description |
SslCert |
|
clear()
public SslCert.Builder clear()| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
|
clearCert()
public SslCert.Builder clearCert()PEM representation.
string cert = 3;
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
clearCertSerialNumber()
public SslCert.Builder clearCertSerialNumber()Serial number, as extracted from the certificate.
string cert_serial_number = 2;
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
clearCommonName()
public SslCert.Builder clearCommonName()User supplied name. Constrained to [a-zA-Z.-_ ]+.
string common_name = 5;
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
clearCreateTime()
public SslCert.Builder clearCreateTime() 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 |
SslCert.Builder |
|
clearExpirationTime()
public SslCert.Builder clearExpirationTime() 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 |
SslCert.Builder |
|
clearInstance()
public SslCert.Builder clearInstance()Name of the database instance.
string instance = 8;
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
clearKind()
public SslCert.Builder clearKind() This is always sql#sslCert.
string kind = 1;
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
clearSelfLink()
public SslCert.Builder clearSelfLink()The URI of this resource.
string self_link = 9;
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
clearSha1Fingerprint()
public SslCert.Builder clearSha1Fingerprint()Sha1 Fingerprint.
string sha1_fingerprint = 7;
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder() 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 |
Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getExpirationTimeBuilder()
public Timestamp.Builder getExpirationTimeBuilder() 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 |
Builder |
|
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. |
getSelfLink()
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public SslCert.Builder mergeCreateTime(Timestamp value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
|
mergeExpirationTime(Timestamp value)
public SslCert.Builder mergeExpirationTime(Timestamp value) The time when the certificate expires in
RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
.google.protobuf.Timestamp expiration_time = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
|
mergeFrom(SslCert other)
public SslCert.Builder mergeFrom(SslCert other)| Parameter | |
|---|---|
| Name | Description |
other |
SslCert |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SslCert.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SslCert.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
|
setCert(String value)
public SslCert.Builder setCert(String value)PEM representation.
string cert = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe cert to set. |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
setCertBytes(ByteString value)
public SslCert.Builder setCertBytes(ByteString value)PEM representation.
string cert = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for cert to set. |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
setCertSerialNumber(String value)
public SslCert.Builder setCertSerialNumber(String value)Serial number, as extracted from the certificate.
string cert_serial_number = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe certSerialNumber to set. |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
setCertSerialNumberBytes(ByteString value)
public SslCert.Builder setCertSerialNumberBytes(ByteString value)Serial number, as extracted from the certificate.
string cert_serial_number = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for certSerialNumber to set. |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
setCommonName(String value)
public SslCert.Builder setCommonName(String value)User supplied name. Constrained to [a-zA-Z.-_ ]+.
string common_name = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe commonName to set. |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
setCommonNameBytes(ByteString value)
public SslCert.Builder setCommonNameBytes(ByteString value)User supplied name. Constrained to [a-zA-Z.-_ ]+.
string common_name = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for commonName to set. |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public SslCert.Builder setCreateTime(Timestamp value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public SslCert.Builder setCreateTime(Timestamp.Builder builderForValue) 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
|
setExpirationTime(Timestamp value)
public SslCert.Builder setExpirationTime(Timestamp value) The time when the certificate expires in
RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
.google.protobuf.Timestamp expiration_time = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
|
setExpirationTime(Timestamp.Builder builderForValue)
public SslCert.Builder setExpirationTime(Timestamp.Builder builderForValue) The time when the certificate expires in
RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
.google.protobuf.Timestamp expiration_time = 6;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
|
setInstance(String value)
public SslCert.Builder setInstance(String value)Name of the database instance.
string instance = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe instance to set. |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
setInstanceBytes(ByteString value)
public SslCert.Builder setInstanceBytes(ByteString value)Name of the database instance.
string instance = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for instance to set. |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
setKind(String value)
public SslCert.Builder setKind(String value) This is always sql#sslCert.
string kind = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kind to set. |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
setKindBytes(ByteString value)
public SslCert.Builder setKindBytes(ByteString value) This is always sql#sslCert.
string kind = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kind to set. |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
setSelfLink(String value)
public SslCert.Builder setSelfLink(String value)The URI of this resource.
string self_link = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe selfLink to set. |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
setSelfLinkBytes(ByteString value)
public SslCert.Builder setSelfLinkBytes(ByteString value)The URI of this resource.
string self_link = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for selfLink to set. |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
setSha1Fingerprint(String value)
public SslCert.Builder setSha1Fingerprint(String value)Sha1 Fingerprint.
string sha1_fingerprint = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sha1Fingerprint to set. |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |
setSha1FingerprintBytes(ByteString value)
public SslCert.Builder setSha1FingerprintBytes(ByteString value)Sha1 Fingerprint.
string sha1_fingerprint = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sha1Fingerprint to set. |
| Returns | |
|---|---|
| Type | Description |
SslCert.Builder |
This builder for chaining. |