public static final class CertificateConfig.SubjectConfig.Builder extends GeneratedMessageV3.Builder<CertificateConfig.SubjectConfig.Builder> implements CertificateConfig.SubjectConfigOrBuilder
These values are used to create the distinguished name and subject
alternative name fields in an X.509 certificate.
Protobuf type google.cloud.security.privateca.v1.CertificateConfig.SubjectConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CertificateConfig.SubjectConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CertificateConfig.SubjectConfig build()
buildPartial()
public CertificateConfig.SubjectConfig buildPartial()
clear()
public CertificateConfig.SubjectConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CertificateConfig.SubjectConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CertificateConfig.SubjectConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSubject()
public CertificateConfig.SubjectConfig.Builder clearSubject()
Optional. Contains distinguished name fields such as the common name,
location and organization.
.google.cloud.security.privateca.v1.Subject subject = 1 [(.google.api.field_behavior) = OPTIONAL];
clearSubjectAltName()
public CertificateConfig.SubjectConfig.Builder clearSubjectAltName()
Optional. The subject alternative name fields.
.google.cloud.security.privateca.v1.SubjectAltNames subject_alt_name = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public CertificateConfig.SubjectConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public CertificateConfig.SubjectConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSubject()
public Subject getSubject()
Optional. Contains distinguished name fields such as the common name,
location and organization.
.google.cloud.security.privateca.v1.Subject subject = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
Subject | The subject.
|
getSubjectAltName()
public SubjectAltNames getSubjectAltName()
Optional. The subject alternative name fields.
.google.cloud.security.privateca.v1.SubjectAltNames subject_alt_name = 2 [(.google.api.field_behavior) = OPTIONAL];
getSubjectAltNameBuilder()
public SubjectAltNames.Builder getSubjectAltNameBuilder()
Optional. The subject alternative name fields.
.google.cloud.security.privateca.v1.SubjectAltNames subject_alt_name = 2 [(.google.api.field_behavior) = OPTIONAL];
getSubjectAltNameOrBuilder()
public SubjectAltNamesOrBuilder getSubjectAltNameOrBuilder()
Optional. The subject alternative name fields.
.google.cloud.security.privateca.v1.SubjectAltNames subject_alt_name = 2 [(.google.api.field_behavior) = OPTIONAL];
getSubjectBuilder()
public Subject.Builder getSubjectBuilder()
Optional. Contains distinguished name fields such as the common name,
location and organization.
.google.cloud.security.privateca.v1.Subject subject = 1 [(.google.api.field_behavior) = OPTIONAL];
getSubjectOrBuilder()
public SubjectOrBuilder getSubjectOrBuilder()
Optional. Contains distinguished name fields such as the common name,
location and organization.
.google.cloud.security.privateca.v1.Subject subject = 1 [(.google.api.field_behavior) = OPTIONAL];
hasSubject()
public boolean hasSubject()
Optional. Contains distinguished name fields such as the common name,
location and organization.
.google.cloud.security.privateca.v1.Subject subject = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the subject field is set.
|
hasSubjectAltName()
public boolean hasSubjectAltName()
Optional. The subject alternative name fields.
.google.cloud.security.privateca.v1.SubjectAltNames subject_alt_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the subjectAltName field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CertificateConfig.SubjectConfig other)
public CertificateConfig.SubjectConfig.Builder mergeFrom(CertificateConfig.SubjectConfig other)
public CertificateConfig.SubjectConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CertificateConfig.SubjectConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeSubject(Subject value)
public CertificateConfig.SubjectConfig.Builder mergeSubject(Subject value)
Optional. Contains distinguished name fields such as the common name,
location and organization.
.google.cloud.security.privateca.v1.Subject subject = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | Subject
|
mergeSubjectAltName(SubjectAltNames value)
public CertificateConfig.SubjectConfig.Builder mergeSubjectAltName(SubjectAltNames value)
Optional. The subject alternative name fields.
.google.cloud.security.privateca.v1.SubjectAltNames subject_alt_name = 2 [(.google.api.field_behavior) = OPTIONAL];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CertificateConfig.SubjectConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CertificateConfig.SubjectConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CertificateConfig.SubjectConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSubject(Subject value)
public CertificateConfig.SubjectConfig.Builder setSubject(Subject value)
Optional. Contains distinguished name fields such as the common name,
location and organization.
.google.cloud.security.privateca.v1.Subject subject = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | Subject
|
setSubject(Subject.Builder builderForValue)
public CertificateConfig.SubjectConfig.Builder setSubject(Subject.Builder builderForValue)
Optional. Contains distinguished name fields such as the common name,
location and organization.
.google.cloud.security.privateca.v1.Subject subject = 1 [(.google.api.field_behavior) = OPTIONAL];
setSubjectAltName(SubjectAltNames value)
public CertificateConfig.SubjectConfig.Builder setSubjectAltName(SubjectAltNames value)
Optional. The subject alternative name fields.
.google.cloud.security.privateca.v1.SubjectAltNames subject_alt_name = 2 [(.google.api.field_behavior) = OPTIONAL];
setSubjectAltName(SubjectAltNames.Builder builderForValue)
public CertificateConfig.SubjectConfig.Builder setSubjectAltName(SubjectAltNames.Builder builderForValue)
Optional. The subject alternative name fields.
.google.cloud.security.privateca.v1.SubjectAltNames subject_alt_name = 2 [(.google.api.field_behavior) = OPTIONAL];
setUnknownFields(UnknownFieldSet unknownFields)
public final CertificateConfig.SubjectConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides