Interface CertificateConfig.SubjectConfigOrBuilder (2.20.0)

public static interface CertificateConfig.SubjectConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSubject()

public abstract Subject getSubject()

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

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

Returns
TypeDescription
Subject

The subject.

getSubjectAltName()

public abstract SubjectAltNames getSubjectAltName()

Optional. The subject alternative name fields.

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

Returns
TypeDescription
SubjectAltNames

The subjectAltName.

getSubjectAltNameOrBuilder()

public abstract SubjectAltNamesOrBuilder getSubjectAltNameOrBuilder()

Optional. The subject alternative name fields.

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

Returns
TypeDescription
SubjectAltNamesOrBuilder

getSubjectOrBuilder()

public abstract SubjectOrBuilder getSubjectOrBuilder()

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

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

Returns
TypeDescription
SubjectOrBuilder

hasSubject()

public abstract boolean hasSubject()

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

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

Returns
TypeDescription
boolean

Whether the subject field is set.

hasSubjectAltName()

public abstract boolean hasSubjectAltName()

Optional. The subject alternative name fields.

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

Returns
TypeDescription
boolean

Whether the subjectAltName field is set.