Class CertificateDescription.Builder (2.48.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
Type Description
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
Name Description
value String

The aiaIssuingCertificateUrls to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the aiaIssuingCertificateUrls to add.

Returns
Type Description
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
Name Description
values Iterable<String>

The aiaIssuingCertificateUrls to add.

Returns
Type Description
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
Name Description
values Iterable<String>

The crlDistributionPoints to add.

Returns
Type Description
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
Name Description
value String

The crlDistributionPoints to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the crlDistributionPoints to add.

Returns
Type Description
CertificateDescription.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CertificateDescription.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CertificateDescription.Builder
Overrides

build()

public CertificateDescription build()
Returns
Type Description
CertificateDescription

buildPartial()

public CertificateDescription buildPartial()
Returns
Type Description
CertificateDescription

clear()

public CertificateDescription.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
CertificateDescription.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CertificateDescription.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CertificateDescription.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateDescription.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
CertificateDescription.Builder

clone()

public CertificateDescription.Builder clone()
Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the crlDistributionPoints.

getDefaultInstanceForType()

public CertificateDescription getDefaultInstanceForType()
Returns
Type Description
CertificateDescription

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the x509Description field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value CertificateDescription.KeyId
Returns
Type Description
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
Name Description
value CertificateDescription.CertificateFingerprint
Returns
Type Description
CertificateDescription.Builder

mergeFrom(CertificateDescription other)

public CertificateDescription.Builder mergeFrom(CertificateDescription other)
Parameter
Name Description
other CertificateDescription
Returns
Type Description
CertificateDescription.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CertificateDescription.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateDescription.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CertificateDescription.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value PublicKey
Returns
Type Description
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
Name Description
value CertificateDescription.SubjectDescription
Returns
Type Description
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
Name Description
value CertificateDescription.KeyId
Returns
Type Description
CertificateDescription.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateDescription.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value X509Parameters
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The aiaIssuingCertificateUrls to set.

Returns
Type Description
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
Name Description
value CertificateDescription.KeyId
Returns
Type Description
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
Name Description
builderForValue CertificateDescription.KeyId.Builder
Returns
Type Description
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
Name Description
value CertificateDescription.CertificateFingerprint
Returns
Type Description
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
Name Description
builderForValue CertificateDescription.CertificateFingerprint.Builder
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The crlDistributionPoints to set.

Returns
Type Description
CertificateDescription.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CertificateDescription.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value PublicKey
Returns
Type Description
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
Name Description
builderForValue PublicKey.Builder
Returns
Type Description
CertificateDescription.Builder

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

public CertificateDescription.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value CertificateDescription.SubjectDescription
Returns
Type Description
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
Name Description
builderForValue CertificateDescription.SubjectDescription.Builder
Returns
Type Description
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
Name Description
value CertificateDescription.KeyId
Returns
Type Description
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
Name Description
builderForValue CertificateDescription.KeyId.Builder
Returns
Type Description
CertificateDescription.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CertificateDescription.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value X509Parameters
Returns
Type Description
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
Name Description
builderForValue X509Parameters.Builder
Returns
Type Description
CertificateDescription.Builder