Interface CertificateConfig.SubjectConfigOrBuilder (2.44.0)

public static interface CertificateConfig.SubjectConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommonName()

public abstract String getCommonName()

Optional. The "common name" of the distinguished name.

string common_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The commonName.

getCommonNameBytes()

public abstract ByteString getCommonNameBytes()

Optional. The "common name" of the distinguished name.

string common_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for commonName.

getSubject()

public abstract Subject getSubject()

Required. Contains distinguished name fields such as the location and organization.

.google.cloud.security.privateca.v1beta1.Subject subject = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Subject

The subject.

getSubjectAltName()

public abstract SubjectAltNames getSubjectAltName()

Optional. The subject alternative name fields.

.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SubjectAltNames

The subjectAltName.

getSubjectAltNameOrBuilder()

public abstract SubjectAltNamesOrBuilder getSubjectAltNameOrBuilder()

Optional. The subject alternative name fields.

.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SubjectAltNamesOrBuilder

getSubjectOrBuilder()

public abstract SubjectOrBuilder getSubjectOrBuilder()

Required. Contains distinguished name fields such as the location and organization.

.google.cloud.security.privateca.v1beta1.Subject subject = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubjectOrBuilder

hasSubject()

public abstract boolean hasSubject()

Required. Contains distinguished name fields such as the location and organization.

.google.cloud.security.privateca.v1beta1.Subject subject = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the subject field is set.

hasSubjectAltName()

public abstract boolean hasSubjectAltName()

Optional. The subject alternative name fields.

.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the subjectAltName field is set.