- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.0
- 2.3.0
- 2.2.5
public static final class CertificateDescription.SubjectDescription.Builder extends GeneratedMessageV3.Builder<CertificateDescription.SubjectDescription.Builder> implements CertificateDescription.SubjectDescriptionOrBuilder
These values describe fields in an issued X.509 certificate such as the distinguished name, subject alternative names, serial number, and lifetime.
Protobuf type
google.cloud.security.privateca.v1beta1.CertificateDescription.SubjectDescription
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CertificateDescription.SubjectDescription.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CertificateDescription.SubjectDescription.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
build()
public CertificateDescription.SubjectDescription build()
Type | Description |
CertificateDescription.SubjectDescription |
buildPartial()
public CertificateDescription.SubjectDescription buildPartial()
Type | Description |
CertificateDescription.SubjectDescription |
clear()
public CertificateDescription.SubjectDescription.Builder clear()
Type | Description |
CertificateDescription.SubjectDescription.Builder |
clearCommonName()
public CertificateDescription.SubjectDescription.Builder clearCommonName()
The "common name" of the distinguished name.
string common_name = 2;
Type | Description |
CertificateDescription.SubjectDescription.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CertificateDescription.SubjectDescription.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
clearHexSerialNumber()
public CertificateDescription.SubjectDescription.Builder clearHexSerialNumber()
The serial number encoded in lowercase hexadecimal.
string hex_serial_number = 4;
Type | Description |
CertificateDescription.SubjectDescription.Builder | This builder for chaining. |
clearLifetime()
public CertificateDescription.SubjectDescription.Builder clearLifetime()
For convenience, the actual lifetime of an issued certificate. Corresponds to 'not_after_time' - 'not_before_time'.
.google.protobuf.Duration lifetime = 5;
Type | Description |
CertificateDescription.SubjectDescription.Builder |
clearNotAfterTime()
public CertificateDescription.SubjectDescription.Builder clearNotAfterTime()
The time at which the certificate expires.
.google.protobuf.Timestamp not_after_time = 7;
Type | Description |
CertificateDescription.SubjectDescription.Builder |
clearNotBeforeTime()
public CertificateDescription.SubjectDescription.Builder clearNotBeforeTime()
The time at which the certificate becomes valid.
.google.protobuf.Timestamp not_before_time = 6;
Type | Description |
CertificateDescription.SubjectDescription.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CertificateDescription.SubjectDescription.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
clearSubject()
public CertificateDescription.SubjectDescription.Builder clearSubject()
Contains distinguished name fields such as the location and organization.
.google.cloud.security.privateca.v1beta1.Subject subject = 1;
Type | Description |
CertificateDescription.SubjectDescription.Builder |
clearSubjectAltName()
public CertificateDescription.SubjectDescription.Builder clearSubjectAltName()
The subject alternative name fields.
.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3;
Type | Description |
CertificateDescription.SubjectDescription.Builder |
clone()
public CertificateDescription.SubjectDescription.Builder clone()
Type | Description |
CertificateDescription.SubjectDescription.Builder |
getCommonName()
public String getCommonName()
The "common name" of the distinguished name.
string common_name = 2;
Type | Description |
String | The commonName. |
getCommonNameBytes()
public ByteString getCommonNameBytes()
The "common name" of the distinguished name.
string common_name = 2;
Type | Description |
ByteString | The bytes for commonName. |
getDefaultInstanceForType()
public CertificateDescription.SubjectDescription getDefaultInstanceForType()
Type | Description |
CertificateDescription.SubjectDescription |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getHexSerialNumber()
public String getHexSerialNumber()
The serial number encoded in lowercase hexadecimal.
string hex_serial_number = 4;
Type | Description |
String | The hexSerialNumber. |
getHexSerialNumberBytes()
public ByteString getHexSerialNumberBytes()
The serial number encoded in lowercase hexadecimal.
string hex_serial_number = 4;
Type | Description |
ByteString | The bytes for hexSerialNumber. |
getLifetime()
public Duration getLifetime()
For convenience, the actual lifetime of an issued certificate. Corresponds to 'not_after_time' - 'not_before_time'.
.google.protobuf.Duration lifetime = 5;
Type | Description |
Duration | The lifetime. |
getLifetimeBuilder()
public Duration.Builder getLifetimeBuilder()
For convenience, the actual lifetime of an issued certificate. Corresponds to 'not_after_time' - 'not_before_time'.
.google.protobuf.Duration lifetime = 5;
Type | Description |
Builder |
getLifetimeOrBuilder()
public DurationOrBuilder getLifetimeOrBuilder()
For convenience, the actual lifetime of an issued certificate. Corresponds to 'not_after_time' - 'not_before_time'.
.google.protobuf.Duration lifetime = 5;
Type | Description |
DurationOrBuilder |
getNotAfterTime()
public Timestamp getNotAfterTime()
The time at which the certificate expires.
.google.protobuf.Timestamp not_after_time = 7;
Type | Description |
Timestamp | The notAfterTime. |
getNotAfterTimeBuilder()
public Timestamp.Builder getNotAfterTimeBuilder()
The time at which the certificate expires.
.google.protobuf.Timestamp not_after_time = 7;
Type | Description |
Builder |
getNotAfterTimeOrBuilder()
public TimestampOrBuilder getNotAfterTimeOrBuilder()
The time at which the certificate expires.
.google.protobuf.Timestamp not_after_time = 7;
Type | Description |
TimestampOrBuilder |
getNotBeforeTime()
public Timestamp getNotBeforeTime()
The time at which the certificate becomes valid.
.google.protobuf.Timestamp not_before_time = 6;
Type | Description |
Timestamp | The notBeforeTime. |
getNotBeforeTimeBuilder()
public Timestamp.Builder getNotBeforeTimeBuilder()
The time at which the certificate becomes valid.
.google.protobuf.Timestamp not_before_time = 6;
Type | Description |
Builder |
getNotBeforeTimeOrBuilder()
public TimestampOrBuilder getNotBeforeTimeOrBuilder()
The time at which the certificate becomes valid.
.google.protobuf.Timestamp not_before_time = 6;
Type | Description |
TimestampOrBuilder |
getSubject()
public Subject getSubject()
Contains distinguished name fields such as the location and organization.
.google.cloud.security.privateca.v1beta1.Subject subject = 1;
Type | Description |
Subject | The subject. |
getSubjectAltName()
public SubjectAltNames getSubjectAltName()
The subject alternative name fields.
.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3;
Type | Description |
SubjectAltNames | The subjectAltName. |
getSubjectAltNameBuilder()
public SubjectAltNames.Builder getSubjectAltNameBuilder()
The subject alternative name fields.
.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3;
Type | Description |
SubjectAltNames.Builder |
getSubjectAltNameOrBuilder()
public SubjectAltNamesOrBuilder getSubjectAltNameOrBuilder()
The subject alternative name fields.
.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3;
Type | Description |
SubjectAltNamesOrBuilder |
getSubjectBuilder()
public Subject.Builder getSubjectBuilder()
Contains distinguished name fields such as the location and organization.
.google.cloud.security.privateca.v1beta1.Subject subject = 1;
Type | Description |
Subject.Builder |
getSubjectOrBuilder()
public SubjectOrBuilder getSubjectOrBuilder()
Contains distinguished name fields such as the location and organization.
.google.cloud.security.privateca.v1beta1.Subject subject = 1;
Type | Description |
SubjectOrBuilder |
hasLifetime()
public boolean hasLifetime()
For convenience, the actual lifetime of an issued certificate. Corresponds to 'not_after_time' - 'not_before_time'.
.google.protobuf.Duration lifetime = 5;
Type | Description |
boolean | Whether the lifetime field is set. |
hasNotAfterTime()
public boolean hasNotAfterTime()
The time at which the certificate expires.
.google.protobuf.Timestamp not_after_time = 7;
Type | Description |
boolean | Whether the notAfterTime field is set. |
hasNotBeforeTime()
public boolean hasNotBeforeTime()
The time at which the certificate becomes valid.
.google.protobuf.Timestamp not_before_time = 6;
Type | Description |
boolean | Whether the notBeforeTime field is set. |
hasSubject()
public boolean hasSubject()
Contains distinguished name fields such as the location and organization.
.google.cloud.security.privateca.v1beta1.Subject subject = 1;
Type | Description |
boolean | Whether the subject field is set. |
hasSubjectAltName()
public boolean hasSubjectAltName()
The subject alternative name fields.
.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3;
Type | Description |
boolean | Whether the subjectAltName field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CertificateDescription.SubjectDescription other)
public CertificateDescription.SubjectDescription.Builder mergeFrom(CertificateDescription.SubjectDescription other)
Name | Description |
other | CertificateDescription.SubjectDescription |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CertificateDescription.SubjectDescription.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CertificateDescription.SubjectDescription.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
mergeLifetime(Duration value)
public CertificateDescription.SubjectDescription.Builder mergeLifetime(Duration value)
For convenience, the actual lifetime of an issued certificate. Corresponds to 'not_after_time' - 'not_before_time'.
.google.protobuf.Duration lifetime = 5;
Name | Description |
value | Duration |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
mergeNotAfterTime(Timestamp value)
public CertificateDescription.SubjectDescription.Builder mergeNotAfterTime(Timestamp value)
The time at which the certificate expires.
.google.protobuf.Timestamp not_after_time = 7;
Name | Description |
value | Timestamp |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
mergeNotBeforeTime(Timestamp value)
public CertificateDescription.SubjectDescription.Builder mergeNotBeforeTime(Timestamp value)
The time at which the certificate becomes valid.
.google.protobuf.Timestamp not_before_time = 6;
Name | Description |
value | Timestamp |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
mergeSubject(Subject value)
public CertificateDescription.SubjectDescription.Builder mergeSubject(Subject value)
Contains distinguished name fields such as the location and organization.
.google.cloud.security.privateca.v1beta1.Subject subject = 1;
Name | Description |
value | Subject |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
mergeSubjectAltName(SubjectAltNames value)
public CertificateDescription.SubjectDescription.Builder mergeSubjectAltName(SubjectAltNames value)
The subject alternative name fields.
.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3;
Name | Description |
value | SubjectAltNames |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CertificateDescription.SubjectDescription.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
setCommonName(String value)
public CertificateDescription.SubjectDescription.Builder setCommonName(String value)
The "common name" of the distinguished name.
string common_name = 2;
Name | Description |
value | String The commonName to set. |
Type | Description |
CertificateDescription.SubjectDescription.Builder | This builder for chaining. |
setCommonNameBytes(ByteString value)
public CertificateDescription.SubjectDescription.Builder setCommonNameBytes(ByteString value)
The "common name" of the distinguished name.
string common_name = 2;
Name | Description |
value | ByteString The bytes for commonName to set. |
Type | Description |
CertificateDescription.SubjectDescription.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CertificateDescription.SubjectDescription.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
setHexSerialNumber(String value)
public CertificateDescription.SubjectDescription.Builder setHexSerialNumber(String value)
The serial number encoded in lowercase hexadecimal.
string hex_serial_number = 4;
Name | Description |
value | String The hexSerialNumber to set. |
Type | Description |
CertificateDescription.SubjectDescription.Builder | This builder for chaining. |
setHexSerialNumberBytes(ByteString value)
public CertificateDescription.SubjectDescription.Builder setHexSerialNumberBytes(ByteString value)
The serial number encoded in lowercase hexadecimal.
string hex_serial_number = 4;
Name | Description |
value | ByteString The bytes for hexSerialNumber to set. |
Type | Description |
CertificateDescription.SubjectDescription.Builder | This builder for chaining. |
setLifetime(Duration value)
public CertificateDescription.SubjectDescription.Builder setLifetime(Duration value)
For convenience, the actual lifetime of an issued certificate. Corresponds to 'not_after_time' - 'not_before_time'.
.google.protobuf.Duration lifetime = 5;
Name | Description |
value | Duration |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
setLifetime(Duration.Builder builderForValue)
public CertificateDescription.SubjectDescription.Builder setLifetime(Duration.Builder builderForValue)
For convenience, the actual lifetime of an issued certificate. Corresponds to 'not_after_time' - 'not_before_time'.
.google.protobuf.Duration lifetime = 5;
Name | Description |
builderForValue | Builder |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
setNotAfterTime(Timestamp value)
public CertificateDescription.SubjectDescription.Builder setNotAfterTime(Timestamp value)
The time at which the certificate expires.
.google.protobuf.Timestamp not_after_time = 7;
Name | Description |
value | Timestamp |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
setNotAfterTime(Timestamp.Builder builderForValue)
public CertificateDescription.SubjectDescription.Builder setNotAfterTime(Timestamp.Builder builderForValue)
The time at which the certificate expires.
.google.protobuf.Timestamp not_after_time = 7;
Name | Description |
builderForValue | Builder |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
setNotBeforeTime(Timestamp value)
public CertificateDescription.SubjectDescription.Builder setNotBeforeTime(Timestamp value)
The time at which the certificate becomes valid.
.google.protobuf.Timestamp not_before_time = 6;
Name | Description |
value | Timestamp |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
setNotBeforeTime(Timestamp.Builder builderForValue)
public CertificateDescription.SubjectDescription.Builder setNotBeforeTime(Timestamp.Builder builderForValue)
The time at which the certificate becomes valid.
.google.protobuf.Timestamp not_before_time = 6;
Name | Description |
builderForValue | Builder |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CertificateDescription.SubjectDescription.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
setSubject(Subject value)
public CertificateDescription.SubjectDescription.Builder setSubject(Subject value)
Contains distinguished name fields such as the location and organization.
.google.cloud.security.privateca.v1beta1.Subject subject = 1;
Name | Description |
value | Subject |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
setSubject(Subject.Builder builderForValue)
public CertificateDescription.SubjectDescription.Builder setSubject(Subject.Builder builderForValue)
Contains distinguished name fields such as the location and organization.
.google.cloud.security.privateca.v1beta1.Subject subject = 1;
Name | Description |
builderForValue | Subject.Builder |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
setSubjectAltName(SubjectAltNames value)
public CertificateDescription.SubjectDescription.Builder setSubjectAltName(SubjectAltNames value)
The subject alternative name fields.
.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3;
Name | Description |
value | SubjectAltNames |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
setSubjectAltName(SubjectAltNames.Builder builderForValue)
public CertificateDescription.SubjectDescription.Builder setSubjectAltName(SubjectAltNames.Builder builderForValue)
The subject alternative name fields.
.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3;
Name | Description |
builderForValue | SubjectAltNames.Builder |
Type | Description |
CertificateDescription.SubjectDescription.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CertificateDescription.SubjectDescription.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CertificateDescription.SubjectDescription.Builder |