Interface CertificateConfig.SubjectConfigOrBuilder (2.35.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the subjectAltName field is set.