public static final class CertificateConfig.SubjectConfig.Builder extends GeneratedMessage.Builder<CertificateConfig.SubjectConfig.Builder> implements CertificateConfig.SubjectConfigOrBuilderThese values are used to create the distinguished name and subject alternative name fields in an X.509 certificate.
Protobuf type google.cloud.security.privateca.v1beta1.CertificateConfig.SubjectConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CertificateConfig.SubjectConfig.BuilderImplements
CertificateConfig.SubjectConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CertificateConfig.SubjectConfig build()| Returns | |
|---|---|
| Type | Description |
CertificateConfig.SubjectConfig |
|
buildPartial()
public CertificateConfig.SubjectConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
CertificateConfig.SubjectConfig |
|
clear()
public CertificateConfig.SubjectConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
CertificateConfig.SubjectConfig.Builder |
|
clearCommonName()
public CertificateConfig.SubjectConfig.Builder clearCommonName()Optional. The "common name" of the distinguished name.
string common_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CertificateConfig.SubjectConfig.Builder |
This builder for chaining. |
clearSubject()
public CertificateConfig.SubjectConfig.Builder clearSubject()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 |
CertificateConfig.SubjectConfig.Builder |
|
clearSubjectAltName()
public CertificateConfig.SubjectConfig.Builder clearSubjectAltName()Optional. The subject alternative name fields.
.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CertificateConfig.SubjectConfig.Builder |
|
getCommonName()
public 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 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. |
getDefaultInstanceForType()
public CertificateConfig.SubjectConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CertificateConfig.SubjectConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSubject()
public 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 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. |
getSubjectAltNameBuilder()
public SubjectAltNames.Builder getSubjectAltNameBuilder()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.Builder |
|
getSubjectAltNameOrBuilder()
public 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 |
|
getSubjectBuilder()
public Subject.Builder getSubjectBuilder()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.Builder |
|
getSubjectOrBuilder()
public 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CertificateConfig.SubjectConfig other)
public CertificateConfig.SubjectConfig.Builder mergeFrom(CertificateConfig.SubjectConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
CertificateConfig.SubjectConfig |
| Returns | |
|---|---|
| Type | Description |
CertificateConfig.SubjectConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CertificateConfig.SubjectConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CertificateConfig.SubjectConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CertificateConfig.SubjectConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CertificateConfig.SubjectConfig.Builder |
|
mergeSubject(Subject value)
public CertificateConfig.SubjectConfig.Builder mergeSubject(Subject value)Required. Contains distinguished name fields such as the location and organization.
.google.cloud.security.privateca.v1beta1.Subject subject = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Subject |
| Returns | |
|---|---|
| Type | Description |
CertificateConfig.SubjectConfig.Builder |
|
mergeSubjectAltName(SubjectAltNames value)
public CertificateConfig.SubjectConfig.Builder mergeSubjectAltName(SubjectAltNames value)Optional. The subject alternative name fields.
.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SubjectAltNames |
| Returns | |
|---|---|
| Type | Description |
CertificateConfig.SubjectConfig.Builder |
|
setCommonName(String value)
public CertificateConfig.SubjectConfig.Builder setCommonName(String value)Optional. The "common name" of the distinguished name.
string common_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe commonName to set. |
| Returns | |
|---|---|
| Type | Description |
CertificateConfig.SubjectConfig.Builder |
This builder for chaining. |
setCommonNameBytes(ByteString value)
public CertificateConfig.SubjectConfig.Builder setCommonNameBytes(ByteString value)Optional. The "common name" of the distinguished name.
string common_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for commonName to set. |
| Returns | |
|---|---|
| Type | Description |
CertificateConfig.SubjectConfig.Builder |
This builder for chaining. |
setSubject(Subject value)
public CertificateConfig.SubjectConfig.Builder setSubject(Subject value)Required. Contains distinguished name fields such as the location and organization.
.google.cloud.security.privateca.v1beta1.Subject subject = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Subject |
| Returns | |
|---|---|
| Type | Description |
CertificateConfig.SubjectConfig.Builder |
|
setSubject(Subject.Builder builderForValue)
public CertificateConfig.SubjectConfig.Builder setSubject(Subject.Builder builderForValue)Required. Contains distinguished name fields such as the location and organization.
.google.cloud.security.privateca.v1beta1.Subject subject = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Subject.Builder |
| Returns | |
|---|---|
| Type | Description |
CertificateConfig.SubjectConfig.Builder |
|
setSubjectAltName(SubjectAltNames value)
public CertificateConfig.SubjectConfig.Builder setSubjectAltName(SubjectAltNames value)Optional. The subject alternative name fields.
.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SubjectAltNames |
| Returns | |
|---|---|
| Type | Description |
CertificateConfig.SubjectConfig.Builder |
|
setSubjectAltName(SubjectAltNames.Builder builderForValue)
public CertificateConfig.SubjectConfig.Builder setSubjectAltName(SubjectAltNames.Builder builderForValue)Optional. The subject alternative name fields.
.google.cloud.security.privateca.v1beta1.SubjectAltNames subject_alt_name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SubjectAltNames.Builder |
| Returns | |
|---|---|
| Type | Description |
CertificateConfig.SubjectConfig.Builder |
|