Interface CertificateDescription.SubjectDescriptionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CertificateDescription.SubjectDescription,CertificateDescription.SubjectDescription.Builder
- Enclosing class:
- CertificateDescription
public static interface CertificateDescription.SubjectDescriptionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCommonName()The "common name" of the distinguished name.com.google.protobuf.ByteStringgetCommonNameBytes()The "common name" of the distinguished name.StringgetHexSerialNumber()The serial number encoded in lowercase hexadecimal.com.google.protobuf.ByteStringgetHexSerialNumberBytes()The serial number encoded in lowercase hexadecimal.com.google.protobuf.DurationgetLifetime()For convenience, the actual lifetime of an issued certificate.com.google.protobuf.DurationOrBuildergetLifetimeOrBuilder()For convenience, the actual lifetime of an issued certificate.com.google.protobuf.TimestampgetNotAfterTime()The time at which the certificate expires.com.google.protobuf.TimestampOrBuildergetNotAfterTimeOrBuilder()The time at which the certificate expires.com.google.protobuf.TimestampgetNotBeforeTime()The time at which the certificate becomes valid.com.google.protobuf.TimestampOrBuildergetNotBeforeTimeOrBuilder()The time at which the certificate becomes valid.SubjectgetSubject()Contains distinguished name fields such as the location and organization.SubjectAltNamesgetSubjectAltName()The subject alternative name fields.SubjectAltNamesOrBuildergetSubjectAltNameOrBuilder()The subject alternative name fields.SubjectOrBuildergetSubjectOrBuilder()Contains distinguished name fields such as the location and organization.booleanhasLifetime()For convenience, the actual lifetime of an issued certificate.booleanhasNotAfterTime()The time at which the certificate expires.booleanhasNotBeforeTime()The time at which the certificate becomes valid.booleanhasSubject()Contains distinguished name fields such as the location and organization.booleanhasSubjectAltName()The subject alternative name fields.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSubject
boolean hasSubject()
Contains distinguished name fields such as the location and organization.
.google.cloud.security.privateca.v1beta1.Subject subject = 1;- Returns:
- Whether the subject field is set.
-
getSubject
Subject getSubject()
Contains distinguished name fields such as the location and organization.
.google.cloud.security.privateca.v1beta1.Subject subject = 1;- Returns:
- The subject.
-
getSubjectOrBuilder
SubjectOrBuilder getSubjectOrBuilder()
Contains distinguished name fields such as the location and organization.
.google.cloud.security.privateca.v1beta1.Subject subject = 1;
-
getCommonName
String getCommonName()
The "common name" of the distinguished name.
string common_name = 2;- Returns:
- The commonName.
-
getCommonNameBytes
com.google.protobuf.ByteString getCommonNameBytes()
The "common name" of the distinguished name.
string common_name = 2;- Returns:
- The bytes for commonName.
-
hasSubjectAltName
boolean hasSubjectAltName()
The subject alternative name fields.
.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3;- Returns:
- Whether the subjectAltName field is set.
-
getSubjectAltName
SubjectAltNames getSubjectAltName()
The subject alternative name fields.
.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3;- Returns:
- The subjectAltName.
-
getSubjectAltNameOrBuilder
SubjectAltNamesOrBuilder getSubjectAltNameOrBuilder()
The subject alternative name fields.
.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3;
-
getHexSerialNumber
String getHexSerialNumber()
The serial number encoded in lowercase hexadecimal.
string hex_serial_number = 4;- Returns:
- The hexSerialNumber.
-
getHexSerialNumberBytes
com.google.protobuf.ByteString getHexSerialNumberBytes()
The serial number encoded in lowercase hexadecimal.
string hex_serial_number = 4;- Returns:
- The bytes for hexSerialNumber.
-
hasLifetime
boolean hasLifetime()
For convenience, the actual lifetime of an issued certificate. Corresponds to 'not_after_time' - 'not_before_time'.
.google.protobuf.Duration lifetime = 5;- Returns:
- Whether the lifetime field is set.
-
getLifetime
com.google.protobuf.Duration getLifetime()
For convenience, the actual lifetime of an issued certificate. Corresponds to 'not_after_time' - 'not_before_time'.
.google.protobuf.Duration lifetime = 5;- Returns:
- The lifetime.
-
getLifetimeOrBuilder
com.google.protobuf.DurationOrBuilder getLifetimeOrBuilder()
For convenience, the actual lifetime of an issued certificate. Corresponds to 'not_after_time' - 'not_before_time'.
.google.protobuf.Duration lifetime = 5;
-
hasNotBeforeTime
boolean hasNotBeforeTime()
The time at which the certificate becomes valid.
.google.protobuf.Timestamp not_before_time = 6;- Returns:
- Whether the notBeforeTime field is set.
-
getNotBeforeTime
com.google.protobuf.Timestamp getNotBeforeTime()
The time at which the certificate becomes valid.
.google.protobuf.Timestamp not_before_time = 6;- Returns:
- The notBeforeTime.
-
getNotBeforeTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getNotBeforeTimeOrBuilder()
The time at which the certificate becomes valid.
.google.protobuf.Timestamp not_before_time = 6;
-
hasNotAfterTime
boolean hasNotAfterTime()
The time at which the certificate expires.
.google.protobuf.Timestamp not_after_time = 7;- Returns:
- Whether the notAfterTime field is set.
-
getNotAfterTime
com.google.protobuf.Timestamp getNotAfterTime()
The time at which the certificate expires.
.google.protobuf.Timestamp not_after_time = 7;- Returns:
- The notAfterTime.
-
getNotAfterTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getNotAfterTimeOrBuilder()
The time at which the certificate expires.
.google.protobuf.Timestamp not_after_time = 7;
-
-