Package com.google.cloud.redis.v1
Interface TlsCertificateOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TlsCertificate
,TlsCertificate.Builder
public interface TlsCertificateOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCert()
PEM representation.com.google.protobuf.ByteString
getCertBytes()
PEM representation.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.com.google.protobuf.Timestamp
getExpireTime()
Output only.com.google.protobuf.TimestampOrBuilder
getExpireTimeOrBuilder()
Output only.String
getSerialNumber()
Serial number, as extracted from the certificate.com.google.protobuf.ByteString
getSerialNumberBytes()
Serial number, as extracted from the certificate.String
getSha1Fingerprint()
Sha1 Fingerprint of the certificate.com.google.protobuf.ByteString
getSha1FingerprintBytes()
Sha1 Fingerprint of the certificate.boolean
hasCreateTime()
Output only.boolean
hasExpireTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSerialNumber
String getSerialNumber()
Serial number, as extracted from the certificate.
string serial_number = 1;
- Returns:
- The serialNumber.
-
getSerialNumberBytes
com.google.protobuf.ByteString getSerialNumberBytes()
Serial number, as extracted from the certificate.
string serial_number = 1;
- Returns:
- The bytes for serialNumber.
-
getCert
String getCert()
PEM representation.
string cert = 2;
- Returns:
- The cert.
-
getCertBytes
com.google.protobuf.ByteString getCertBytes()
PEM representation.
string cert = 2;
- Returns:
- The bytes for cert.
-
hasCreateTime
boolean hasCreateTime()
Output only. The time when the certificate was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2020-05-18T00:00:00.094Z`.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the certificate was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2020-05-18T00:00:00.094Z`.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the certificate was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2020-05-18T00:00:00.094Z`.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasExpireTime
boolean hasExpireTime()
Output only. The time when the certificate expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2020-05-18T00:00:00.094Z`.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the expireTime field is set.
-
getExpireTime
com.google.protobuf.Timestamp getExpireTime()
Output only. The time when the certificate expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2020-05-18T00:00:00.094Z`.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The expireTime.
-
getExpireTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Output only. The time when the certificate expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2020-05-18T00:00:00.094Z`.
.google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getSha1Fingerprint
String getSha1Fingerprint()
Sha1 Fingerprint of the certificate.
string sha1_fingerprint = 5;
- Returns:
- The sha1Fingerprint.
-
getSha1FingerprintBytes
com.google.protobuf.ByteString getSha1FingerprintBytes()
Sha1 Fingerprint of the certificate.
string sha1_fingerprint = 5;
- Returns:
- The bytes for sha1Fingerprint.
-
-