Class CertificateDescription.Builder (2.33.0)

public static final class CertificateDescription.Builder extends GeneratedMessageV3.Builder<CertificateDescription.Builder> implements CertificateDescriptionOrBuilder

A CertificateDescription describes an X.509 certificate or CSR that has been issued, as an alternative to using ASN.1 / X.509.

Protobuf type google.cloud.security.privateca.v1.CertificateDescription

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAiaIssuingCertificateUrls(String value)

public CertificateDescription.Builder addAiaIssuingCertificateUrls(String value)

Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.

repeated string aia_issuing_certificate_urls = 7;

Parameter
NameDescription
valueString

The aiaIssuingCertificateUrls to add.

Returns
TypeDescription
CertificateDescription.Builder

This builder for chaining.

addAiaIssuingCertificateUrlsBytes(ByteString value)

public CertificateDescription.Builder addAiaIssuingCertificateUrlsBytes(ByteString value)

Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.

repeated string aia_issuing_certificate_urls = 7;

Parameter
NameDescription
valueByteString

The bytes of the aiaIssuingCertificateUrls to add.

Returns
TypeDescription
CertificateDescription.Builder

This builder for chaining.

addAllAiaIssuingCertificateUrls(Iterable<String> values)

public CertificateDescription.Builder addAllAiaIssuingCertificateUrls(Iterable<String> values)

Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.

repeated string aia_issuing_certificate_urls = 7;

Parameter
NameDescription
valuesIterable<String>

The aiaIssuingCertificateUrls to add.

Returns
TypeDescription
CertificateDescription.Builder

This builder for chaining.

addAllCrlDistributionPoints(Iterable<String> values)

public CertificateDescription.Builder addAllCrlDistributionPoints(Iterable<String> values)

Describes a list of locations to obtain CRL information, i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13

repeated string crl_distribution_points = 6;

Parameter
NameDescription
valuesIterable<String>

The crlDistributionPoints to add.

Returns
TypeDescription
CertificateDescription.Builder

This builder for chaining.

addCrlDistributionPoints(String value)

public CertificateDescription.Builder addCrlDistributionPoints(String value)

Describes a list of locations to obtain CRL information, i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13

repeated string crl_distribution_points = 6;

Parameter
NameDescription
valueString

The crlDistributionPoints to add.

Returns
TypeDescription
CertificateDescription.Builder

This builder for chaining.

addCrlDistributionPointsBytes(ByteString value)

public CertificateDescription.Builder addCrlDistributionPointsBytes(ByteString value)

Describes a list of locations to obtain CRL information, i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13

repeated string crl_distribution_points = 6;

Parameter
NameDescription
valueByteString

The bytes of the crlDistributionPoints to add.

Returns
TypeDescription
CertificateDescription.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CertificateDescription.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CertificateDescription.Builder
Overrides

build()

public CertificateDescription build()
Returns
TypeDescription
CertificateDescription

buildPartial()

public CertificateDescription buildPartial()
Returns
TypeDescription
CertificateDescription

clear()

public CertificateDescription.Builder clear()
Returns
TypeDescription
CertificateDescription.Builder
Overrides

clearAiaIssuingCertificateUrls()

public CertificateDescription.Builder clearAiaIssuingCertificateUrls()

Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.

repeated string aia_issuing_certificate_urls = 7;

Returns
TypeDescription
CertificateDescription.Builder

This builder for chaining.

clearAuthorityKeyId()

public CertificateDescription.Builder clearAuthorityKeyId()

Identifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1

.google.cloud.security.privateca.v1.CertificateDescription.KeyId authority_key_id = 5;

Returns
TypeDescription
CertificateDescription.Builder

clearCertFingerprint()

public CertificateDescription.Builder clearCertFingerprint()

The hash of the x.509 certificate.

.google.cloud.security.privateca.v1.CertificateDescription.CertificateFingerprint cert_fingerprint = 8;

Returns
TypeDescription
CertificateDescription.Builder

clearCrlDistributionPoints()

public CertificateDescription.Builder clearCrlDistributionPoints()

Describes a list of locations to obtain CRL information, i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13

repeated string crl_distribution_points = 6;

Returns
TypeDescription
CertificateDescription.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CertificateDescription.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CertificateDescription.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateDescription.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CertificateDescription.Builder
Overrides

clearPublicKey()

public CertificateDescription.Builder clearPublicKey()

The public key that corresponds to an issued certificate.

.google.cloud.security.privateca.v1.PublicKey public_key = 3;

Returns
TypeDescription
CertificateDescription.Builder

clearSubjectDescription()

public CertificateDescription.Builder clearSubjectDescription()

Describes some of the values in a certificate that are related to the subject and lifetime.

.google.cloud.security.privateca.v1.CertificateDescription.SubjectDescription subject_description = 1;

Returns
TypeDescription
CertificateDescription.Builder

clearSubjectKeyId()

public CertificateDescription.Builder clearSubjectKeyId()

Provides a means of identifiying certificates that contain a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.

.google.cloud.security.privateca.v1.CertificateDescription.KeyId subject_key_id = 4;

Returns
TypeDescription
CertificateDescription.Builder

clearX509Description()

public CertificateDescription.Builder clearX509Description()

Describes some of the technical X.509 fields in a certificate.

.google.cloud.security.privateca.v1.X509Parameters x509_description = 2;

Returns
TypeDescription
CertificateDescription.Builder

clone()

public CertificateDescription.Builder clone()
Returns
TypeDescription
CertificateDescription.Builder
Overrides

getAiaIssuingCertificateUrls(int index)

public String getAiaIssuingCertificateUrls(int index)

Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.

repeated string aia_issuing_certificate_urls = 7;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The aiaIssuingCertificateUrls at the given index.

getAiaIssuingCertificateUrlsBytes(int index)

public ByteString getAiaIssuingCertificateUrlsBytes(int index)

Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.

repeated string aia_issuing_certificate_urls = 7;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the aiaIssuingCertificateUrls at the given index.

getAiaIssuingCertificateUrlsCount()

public int getAiaIssuingCertificateUrlsCount()

Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.

repeated string aia_issuing_certificate_urls = 7;

Returns
TypeDescription
int

The count of aiaIssuingCertificateUrls.

getAiaIssuingCertificateUrlsList()

public ProtocolStringList getAiaIssuingCertificateUrlsList()

Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.

repeated string aia_issuing_certificate_urls = 7;

Returns
TypeDescription
ProtocolStringList

A list containing the aiaIssuingCertificateUrls.

getAuthorityKeyId()

public CertificateDescription.KeyId getAuthorityKeyId()

Identifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1

.google.cloud.security.privateca.v1.CertificateDescription.KeyId authority_key_id = 5;

Returns
TypeDescription
CertificateDescription.KeyId

The authorityKeyId.

getAuthorityKeyIdBuilder()

public CertificateDescription.KeyId.Builder getAuthorityKeyIdBuilder()

Identifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1

.google.cloud.security.privateca.v1.CertificateDescription.KeyId authority_key_id = 5;

Returns
TypeDescription
CertificateDescription.KeyId.Builder

getAuthorityKeyIdOrBuilder()

public CertificateDescription.KeyIdOrBuilder getAuthorityKeyIdOrBuilder()

Identifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1

.google.cloud.security.privateca.v1.CertificateDescription.KeyId authority_key_id = 5;

Returns
TypeDescription
CertificateDescription.KeyIdOrBuilder

getCertFingerprint()

public CertificateDescription.CertificateFingerprint getCertFingerprint()

The hash of the x.509 certificate.

.google.cloud.security.privateca.v1.CertificateDescription.CertificateFingerprint cert_fingerprint = 8;

Returns
TypeDescription
CertificateDescription.CertificateFingerprint

The certFingerprint.

getCertFingerprintBuilder()

public CertificateDescription.CertificateFingerprint.Builder getCertFingerprintBuilder()

The hash of the x.509 certificate.

.google.cloud.security.privateca.v1.CertificateDescription.CertificateFingerprint cert_fingerprint = 8;

Returns
TypeDescription
CertificateDescription.CertificateFingerprint.Builder

getCertFingerprintOrBuilder()

public CertificateDescription.CertificateFingerprintOrBuilder getCertFingerprintOrBuilder()

The hash of the x.509 certificate.

.google.cloud.security.privateca.v1.CertificateDescription.CertificateFingerprint cert_fingerprint = 8;

Returns
TypeDescription
CertificateDescription.CertificateFingerprintOrBuilder

getCrlDistributionPoints(int index)

public String getCrlDistributionPoints(int index)

Describes a list of locations to obtain CRL information, i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13

repeated string crl_distribution_points = 6;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The crlDistributionPoints at the given index.

getCrlDistributionPointsBytes(int index)

public ByteString getCrlDistributionPointsBytes(int index)

Describes a list of locations to obtain CRL information, i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13

repeated string crl_distribution_points = 6;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the crlDistributionPoints at the given index.

getCrlDistributionPointsCount()

public int getCrlDistributionPointsCount()

Describes a list of locations to obtain CRL information, i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13

repeated string crl_distribution_points = 6;

Returns
TypeDescription
int

The count of crlDistributionPoints.

getCrlDistributionPointsList()

public ProtocolStringList getCrlDistributionPointsList()

Describes a list of locations to obtain CRL information, i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13

repeated string crl_distribution_points = 6;

Returns
TypeDescription
ProtocolStringList

A list containing the crlDistributionPoints.

getDefaultInstanceForType()

public CertificateDescription getDefaultInstanceForType()
Returns
TypeDescription
CertificateDescription

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPublicKey()

public PublicKey getPublicKey()

The public key that corresponds to an issued certificate.

.google.cloud.security.privateca.v1.PublicKey public_key = 3;

Returns
TypeDescription
PublicKey

The publicKey.

getPublicKeyBuilder()

public PublicKey.Builder getPublicKeyBuilder()

The public key that corresponds to an issued certificate.

.google.cloud.security.privateca.v1.PublicKey public_key = 3;

Returns
TypeDescription
PublicKey.Builder

getPublicKeyOrBuilder()

public PublicKeyOrBuilder getPublicKeyOrBuilder()

The public key that corresponds to an issued certificate.

.google.cloud.security.privateca.v1.PublicKey public_key = 3;

Returns
TypeDescription
PublicKeyOrBuilder

getSubjectDescription()

public CertificateDescription.SubjectDescription getSubjectDescription()

Describes some of the values in a certificate that are related to the subject and lifetime.

.google.cloud.security.privateca.v1.CertificateDescription.SubjectDescription subject_description = 1;

Returns
TypeDescription
CertificateDescription.SubjectDescription

The subjectDescription.

getSubjectDescriptionBuilder()

public CertificateDescription.SubjectDescription.Builder getSubjectDescriptionBuilder()

Describes some of the values in a certificate that are related to the subject and lifetime.

.google.cloud.security.privateca.v1.CertificateDescription.SubjectDescription subject_description = 1;

Returns
TypeDescription
CertificateDescription.SubjectDescription.Builder

getSubjectDescriptionOrBuilder()

public CertificateDescription.SubjectDescriptionOrBuilder getSubjectDescriptionOrBuilder()

Describes some of the values in a certificate that are related to the subject and lifetime.

.google.cloud.security.privateca.v1.CertificateDescription.SubjectDescription subject_description = 1;

Returns
TypeDescription
CertificateDescription.SubjectDescriptionOrBuilder

getSubjectKeyId()

public CertificateDescription.KeyId getSubjectKeyId()

Provides a means of identifiying certificates that contain a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.

.google.cloud.security.privateca.v1.CertificateDescription.KeyId subject_key_id = 4;

Returns
TypeDescription
CertificateDescription.KeyId

The subjectKeyId.

getSubjectKeyIdBuilder()

public CertificateDescription.KeyId.Builder getSubjectKeyIdBuilder()

Provides a means of identifiying certificates that contain a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.

.google.cloud.security.privateca.v1.CertificateDescription.KeyId subject_key_id = 4;

Returns
TypeDescription
CertificateDescription.KeyId.Builder

getSubjectKeyIdOrBuilder()

public CertificateDescription.KeyIdOrBuilder getSubjectKeyIdOrBuilder()

Provides a means of identifiying certificates that contain a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.

.google.cloud.security.privateca.v1.CertificateDescription.KeyId subject_key_id = 4;

Returns
TypeDescription
CertificateDescription.KeyIdOrBuilder

getX509Description()

public X509Parameters getX509Description()

Describes some of the technical X.509 fields in a certificate.

.google.cloud.security.privateca.v1.X509Parameters x509_description = 2;

Returns
TypeDescription
X509Parameters

The x509Description.

getX509DescriptionBuilder()

public X509Parameters.Builder getX509DescriptionBuilder()

Describes some of the technical X.509 fields in a certificate.

.google.cloud.security.privateca.v1.X509Parameters x509_description = 2;

Returns
TypeDescription
X509Parameters.Builder

getX509DescriptionOrBuilder()

public X509ParametersOrBuilder getX509DescriptionOrBuilder()

Describes some of the technical X.509 fields in a certificate.

.google.cloud.security.privateca.v1.X509Parameters x509_description = 2;

Returns
TypeDescription
X509ParametersOrBuilder

hasAuthorityKeyId()

public boolean hasAuthorityKeyId()

Identifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1

.google.cloud.security.privateca.v1.CertificateDescription.KeyId authority_key_id = 5;

Returns
TypeDescription
boolean

Whether the authorityKeyId field is set.

hasCertFingerprint()

public boolean hasCertFingerprint()

The hash of the x.509 certificate.

.google.cloud.security.privateca.v1.CertificateDescription.CertificateFingerprint cert_fingerprint = 8;

Returns
TypeDescription
boolean

Whether the certFingerprint field is set.

hasPublicKey()

public boolean hasPublicKey()

The public key that corresponds to an issued certificate.

.google.cloud.security.privateca.v1.PublicKey public_key = 3;

Returns
TypeDescription
boolean

Whether the publicKey field is set.

hasSubjectDescription()

public boolean hasSubjectDescription()

Describes some of the values in a certificate that are related to the subject and lifetime.

.google.cloud.security.privateca.v1.CertificateDescription.SubjectDescription subject_description = 1;

Returns
TypeDescription
boolean

Whether the subjectDescription field is set.

hasSubjectKeyId()

public boolean hasSubjectKeyId()

Provides a means of identifiying certificates that contain a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.

.google.cloud.security.privateca.v1.CertificateDescription.KeyId subject_key_id = 4;

Returns
TypeDescription
boolean

Whether the subjectKeyId field is set.

hasX509Description()

public boolean hasX509Description()

Describes some of the technical X.509 fields in a certificate.

.google.cloud.security.privateca.v1.X509Parameters x509_description = 2;

Returns
TypeDescription
boolean

Whether the x509Description field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAuthorityKeyId(CertificateDescription.KeyId value)

public CertificateDescription.Builder mergeAuthorityKeyId(CertificateDescription.KeyId value)

Identifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1

.google.cloud.security.privateca.v1.CertificateDescription.KeyId authority_key_id = 5;

Parameter
NameDescription
valueCertificateDescription.KeyId
Returns
TypeDescription
CertificateDescription.Builder

mergeCertFingerprint(CertificateDescription.CertificateFingerprint value)

public CertificateDescription.Builder mergeCertFingerprint(CertificateDescription.CertificateFingerprint value)

The hash of the x.509 certificate.

.google.cloud.security.privateca.v1.CertificateDescription.CertificateFingerprint cert_fingerprint = 8;

Parameter
NameDescription
valueCertificateDescription.CertificateFingerprint
Returns
TypeDescription
CertificateDescription.Builder

mergeFrom(CertificateDescription other)

public CertificateDescription.Builder mergeFrom(CertificateDescription other)
Parameter
NameDescription
otherCertificateDescription
Returns
TypeDescription
CertificateDescription.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CertificateDescription.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateDescription.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CertificateDescription.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CertificateDescription.Builder
Overrides

mergePublicKey(PublicKey value)

public CertificateDescription.Builder mergePublicKey(PublicKey value)

The public key that corresponds to an issued certificate.

.google.cloud.security.privateca.v1.PublicKey public_key = 3;

Parameter
NameDescription
valuePublicKey
Returns
TypeDescription
CertificateDescription.Builder

mergeSubjectDescription(CertificateDescription.SubjectDescription value)

public CertificateDescription.Builder mergeSubjectDescription(CertificateDescription.SubjectDescription value)

Describes some of the values in a certificate that are related to the subject and lifetime.

.google.cloud.security.privateca.v1.CertificateDescription.SubjectDescription subject_description = 1;

Parameter
NameDescription
valueCertificateDescription.SubjectDescription
Returns
TypeDescription
CertificateDescription.Builder

mergeSubjectKeyId(CertificateDescription.KeyId value)

public CertificateDescription.Builder mergeSubjectKeyId(CertificateDescription.KeyId value)

Provides a means of identifiying certificates that contain a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.

.google.cloud.security.privateca.v1.CertificateDescription.KeyId subject_key_id = 4;

Parameter
NameDescription
valueCertificateDescription.KeyId
Returns
TypeDescription
CertificateDescription.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateDescription.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CertificateDescription.Builder
Overrides

mergeX509Description(X509Parameters value)

public CertificateDescription.Builder mergeX509Description(X509Parameters value)

Describes some of the technical X.509 fields in a certificate.

.google.cloud.security.privateca.v1.X509Parameters x509_description = 2;

Parameter
NameDescription
valueX509Parameters
Returns
TypeDescription
CertificateDescription.Builder

setAiaIssuingCertificateUrls(int index, String value)

public CertificateDescription.Builder setAiaIssuingCertificateUrls(int index, String value)

Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.

repeated string aia_issuing_certificate_urls = 7;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The aiaIssuingCertificateUrls to set.

Returns
TypeDescription
CertificateDescription.Builder

This builder for chaining.

setAuthorityKeyId(CertificateDescription.KeyId value)

public CertificateDescription.Builder setAuthorityKeyId(CertificateDescription.KeyId value)

Identifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1

.google.cloud.security.privateca.v1.CertificateDescription.KeyId authority_key_id = 5;

Parameter
NameDescription
valueCertificateDescription.KeyId
Returns
TypeDescription
CertificateDescription.Builder

setAuthorityKeyId(CertificateDescription.KeyId.Builder builderForValue)

public CertificateDescription.Builder setAuthorityKeyId(CertificateDescription.KeyId.Builder builderForValue)

Identifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1

.google.cloud.security.privateca.v1.CertificateDescription.KeyId authority_key_id = 5;

Parameter
NameDescription
builderForValueCertificateDescription.KeyId.Builder
Returns
TypeDescription
CertificateDescription.Builder

setCertFingerprint(CertificateDescription.CertificateFingerprint value)

public CertificateDescription.Builder setCertFingerprint(CertificateDescription.CertificateFingerprint value)

The hash of the x.509 certificate.

.google.cloud.security.privateca.v1.CertificateDescription.CertificateFingerprint cert_fingerprint = 8;

Parameter
NameDescription
valueCertificateDescription.CertificateFingerprint
Returns
TypeDescription
CertificateDescription.Builder

setCertFingerprint(CertificateDescription.CertificateFingerprint.Builder builderForValue)

public CertificateDescription.Builder setCertFingerprint(CertificateDescription.CertificateFingerprint.Builder builderForValue)

The hash of the x.509 certificate.

.google.cloud.security.privateca.v1.CertificateDescription.CertificateFingerprint cert_fingerprint = 8;

Parameter
NameDescription
builderForValueCertificateDescription.CertificateFingerprint.Builder
Returns
TypeDescription
CertificateDescription.Builder

setCrlDistributionPoints(int index, String value)

public CertificateDescription.Builder setCrlDistributionPoints(int index, String value)

Describes a list of locations to obtain CRL information, i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13

repeated string crl_distribution_points = 6;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The crlDistributionPoints to set.

Returns
TypeDescription
CertificateDescription.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CertificateDescription.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CertificateDescription.Builder
Overrides

setPublicKey(PublicKey value)

public CertificateDescription.Builder setPublicKey(PublicKey value)

The public key that corresponds to an issued certificate.

.google.cloud.security.privateca.v1.PublicKey public_key = 3;

Parameter
NameDescription
valuePublicKey
Returns
TypeDescription
CertificateDescription.Builder

setPublicKey(PublicKey.Builder builderForValue)

public CertificateDescription.Builder setPublicKey(PublicKey.Builder builderForValue)

The public key that corresponds to an issued certificate.

.google.cloud.security.privateca.v1.PublicKey public_key = 3;

Parameter
NameDescription
builderForValuePublicKey.Builder
Returns
TypeDescription
CertificateDescription.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CertificateDescription.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CertificateDescription.Builder
Overrides

setSubjectDescription(CertificateDescription.SubjectDescription value)

public CertificateDescription.Builder setSubjectDescription(CertificateDescription.SubjectDescription value)

Describes some of the values in a certificate that are related to the subject and lifetime.

.google.cloud.security.privateca.v1.CertificateDescription.SubjectDescription subject_description = 1;

Parameter
NameDescription
valueCertificateDescription.SubjectDescription
Returns
TypeDescription
CertificateDescription.Builder

setSubjectDescription(CertificateDescription.SubjectDescription.Builder builderForValue)

public CertificateDescription.Builder setSubjectDescription(CertificateDescription.SubjectDescription.Builder builderForValue)

Describes some of the values in a certificate that are related to the subject and lifetime.

.google.cloud.security.privateca.v1.CertificateDescription.SubjectDescription subject_description = 1;

Parameter
NameDescription
builderForValueCertificateDescription.SubjectDescription.Builder
Returns
TypeDescription
CertificateDescription.Builder

setSubjectKeyId(CertificateDescription.KeyId value)

public CertificateDescription.Builder setSubjectKeyId(CertificateDescription.KeyId value)

Provides a means of identifiying certificates that contain a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.

.google.cloud.security.privateca.v1.CertificateDescription.KeyId subject_key_id = 4;

Parameter
NameDescription
valueCertificateDescription.KeyId
Returns
TypeDescription
CertificateDescription.Builder

setSubjectKeyId(CertificateDescription.KeyId.Builder builderForValue)

public CertificateDescription.Builder setSubjectKeyId(CertificateDescription.KeyId.Builder builderForValue)

Provides a means of identifiying certificates that contain a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.

.google.cloud.security.privateca.v1.CertificateDescription.KeyId subject_key_id = 4;

Parameter
NameDescription
builderForValueCertificateDescription.KeyId.Builder
Returns
TypeDescription
CertificateDescription.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CertificateDescription.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CertificateDescription.Builder
Overrides

setX509Description(X509Parameters value)

public CertificateDescription.Builder setX509Description(X509Parameters value)

Describes some of the technical X.509 fields in a certificate.

.google.cloud.security.privateca.v1.X509Parameters x509_description = 2;

Parameter
NameDescription
valueX509Parameters
Returns
TypeDescription
CertificateDescription.Builder

setX509Description(X509Parameters.Builder builderForValue)

public CertificateDescription.Builder setX509Description(X509Parameters.Builder builderForValue)

Describes some of the technical X.509 fields in a certificate.

.google.cloud.security.privateca.v1.X509Parameters x509_description = 2;

Parameter
NameDescription
builderForValueX509Parameters.Builder
Returns
TypeDescription
CertificateDescription.Builder