- 2.55.0 (latest)
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CertificateDescription.SubjectDescription.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CertificateDescription.SubjectDescription.Builder |
build()
public CertificateDescription.SubjectDescription build()
Returns | |
---|---|
Type | Description |
CertificateDescription.SubjectDescription |
buildPartial()
public CertificateDescription.SubjectDescription buildPartial()
Returns | |
---|---|
Type | Description |
CertificateDescription.SubjectDescription |
clear()
public CertificateDescription.SubjectDescription.Builder clear()
Returns | |
---|---|
Type | Description |
CertificateDescription.SubjectDescription.Builder |
clearCommonName()
public CertificateDescription.SubjectDescription.Builder clearCommonName()
The "common name" of the distinguished name.
string common_name = 2;
Returns | |
---|---|
Type | Description |
CertificateDescription.SubjectDescription.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CertificateDescription.SubjectDescription.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
CertificateDescription.SubjectDescription.Builder |
clearHexSerialNumber()
public CertificateDescription.SubjectDescription.Builder clearHexSerialNumber()
The serial number encoded in lowercase hexadecimal.
string hex_serial_number = 4;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
CertificateDescription.SubjectDescription.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CertificateDescription.SubjectDescription.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
CertificateDescription.SubjectDescription.Builder |
clone()
public CertificateDescription.SubjectDescription.Builder clone()
Returns | |
---|---|
Type | Description |
CertificateDescription.SubjectDescription.Builder |
getCommonName()
public String getCommonName()
The "common name" of the distinguished name.
string common_name = 2;
Returns | |
---|---|
Type | Description |
String | The commonName. |
getCommonNameBytes()
public ByteString getCommonNameBytes()
The "common name" of the distinguished name.
string common_name = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for commonName. |
getDefaultInstanceForType()
public CertificateDescription.SubjectDescription getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CertificateDescription.SubjectDescription |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getHexSerialNumber()
public String getHexSerialNumber()
The serial number encoded in lowercase hexadecimal.
string hex_serial_number = 4;
Returns | |
---|---|
Type | Description |
String | The hexSerialNumber. |
getHexSerialNumberBytes()
public ByteString getHexSerialNumberBytes()
The serial number encoded in lowercase hexadecimal.
string hex_serial_number = 4;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getNotAfterTime()
public Timestamp getNotAfterTime()
The time at which the certificate expires.
.google.protobuf.Timestamp not_after_time = 7;
Returns | |
---|---|
Type | Description |
Timestamp | The notAfterTime. |
getNotAfterTimeBuilder()
public Timestamp.Builder getNotAfterTimeBuilder()
The time at which the certificate expires.
.google.protobuf.Timestamp not_after_time = 7;
Returns | |
---|---|
Type | Description |
Builder |
getNotAfterTimeOrBuilder()
public TimestampOrBuilder getNotAfterTimeOrBuilder()
The time at which the certificate expires.
.google.protobuf.Timestamp not_after_time = 7;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getNotBeforeTime()
public Timestamp getNotBeforeTime()
The time at which the certificate becomes valid.
.google.protobuf.Timestamp not_before_time = 6;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Builder |
getNotBeforeTimeOrBuilder()
public TimestampOrBuilder getNotBeforeTimeOrBuilder()
The time at which the certificate becomes valid.
.google.protobuf.Timestamp not_before_time = 6;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Subject | The subject. |
getSubjectAltName()
public SubjectAltNames getSubjectAltName()
The subject alternative name fields.
.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
SubjectAltNames.Builder |
getSubjectAltNameOrBuilder()
public SubjectAltNamesOrBuilder getSubjectAltNameOrBuilder()
The subject alternative name fields.
.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the subjectAltName field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CertificateDescription.SubjectDescription other)
public CertificateDescription.SubjectDescription.Builder mergeFrom(CertificateDescription.SubjectDescription other)
Parameter | |
---|---|
Name | Description |
other | CertificateDescription.SubjectDescription |
Returns | |
---|---|
Type | Description |
CertificateDescription.SubjectDescription.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CertificateDescription.SubjectDescription.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CertificateDescription.SubjectDescription.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CertificateDescription.SubjectDescription.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Subject |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | SubjectAltNames |
Returns | |
---|---|
Type | Description |
CertificateDescription.SubjectDescription.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CertificateDescription.SubjectDescription.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The commonName to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for commonName to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The hexSerialNumber to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for hexSerialNumber to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Subject |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Subject.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | SubjectAltNames |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | SubjectAltNames.Builder |
Returns | |
---|---|
Type | Description |
CertificateDescription.SubjectDescription.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CertificateDescription.SubjectDescription.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CertificateDescription.SubjectDescription.Builder |