public static final class CertificateConfig.Builder extends GeneratedMessageV3.Builder<CertificateConfig.Builder> implements CertificateConfigOrBuilder
A CertificateConfig
describes an X.509 certificate or CSR that is to be created, as an
alternative to using ASN.1.
Protobuf type google.cloud.security.privateca.v1.CertificateConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CertificateConfig build()
buildPartial()
public CertificateConfig buildPartial()
clear()
public CertificateConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CertificateConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CertificateConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPublicKey()
public CertificateConfig.Builder clearPublicKey()
Optional. The public key that corresponds to this config. This is, for
example, used when issuing
Certificates, but not
when creating a self-signed
CertificateAuthority
or
CertificateAuthority
CSR.
.google.cloud.security.privateca.v1.PublicKey public_key = 3 [(.google.api.field_behavior) = OPTIONAL];
clearSubjectConfig()
public CertificateConfig.Builder clearSubjectConfig()
Required. Specifies some of the values in a certificate that are related to
the subject.
.google.cloud.security.privateca.v1.CertificateConfig.SubjectConfig subject_config = 1 [(.google.api.field_behavior) = REQUIRED];
clearX509Config()
public CertificateConfig.Builder clearX509Config()
Required. Describes how some of the technical X.509 fields in a certificate
should be populated.
.google.cloud.security.privateca.v1.X509Parameters x509_config = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public CertificateConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public CertificateConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPublicKey()
public PublicKey getPublicKey()
Optional. The public key that corresponds to this config. This is, for
example, used when issuing
Certificates, but not
when creating a self-signed
CertificateAuthority
or
CertificateAuthority
CSR.
.google.cloud.security.privateca.v1.PublicKey public_key = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
PublicKey | The publicKey.
|
getPublicKeyBuilder()
public PublicKey.Builder getPublicKeyBuilder()
Optional. The public key that corresponds to this config. This is, for
example, used when issuing
Certificates, but not
when creating a self-signed
CertificateAuthority
or
CertificateAuthority
CSR.
.google.cloud.security.privateca.v1.PublicKey public_key = 3 [(.google.api.field_behavior) = OPTIONAL];
getPublicKeyOrBuilder()
public PublicKeyOrBuilder getPublicKeyOrBuilder()
Optional. The public key that corresponds to this config. This is, for
example, used when issuing
Certificates, but not
when creating a self-signed
CertificateAuthority
or
CertificateAuthority
CSR.
.google.cloud.security.privateca.v1.PublicKey public_key = 3 [(.google.api.field_behavior) = OPTIONAL];
getSubjectConfig()
public CertificateConfig.SubjectConfig getSubjectConfig()
Required. Specifies some of the values in a certificate that are related to
the subject.
.google.cloud.security.privateca.v1.CertificateConfig.SubjectConfig subject_config = 1 [(.google.api.field_behavior) = REQUIRED];
getSubjectConfigBuilder()
public CertificateConfig.SubjectConfig.Builder getSubjectConfigBuilder()
Required. Specifies some of the values in a certificate that are related to
the subject.
.google.cloud.security.privateca.v1.CertificateConfig.SubjectConfig subject_config = 1 [(.google.api.field_behavior) = REQUIRED];
getSubjectConfigOrBuilder()
public CertificateConfig.SubjectConfigOrBuilder getSubjectConfigOrBuilder()
Required. Specifies some of the values in a certificate that are related to
the subject.
.google.cloud.security.privateca.v1.CertificateConfig.SubjectConfig subject_config = 1 [(.google.api.field_behavior) = REQUIRED];
getX509Config()
public X509Parameters getX509Config()
Required. Describes how some of the technical X.509 fields in a certificate
should be populated.
.google.cloud.security.privateca.v1.X509Parameters x509_config = 2 [(.google.api.field_behavior) = REQUIRED];
getX509ConfigBuilder()
public X509Parameters.Builder getX509ConfigBuilder()
Required. Describes how some of the technical X.509 fields in a certificate
should be populated.
.google.cloud.security.privateca.v1.X509Parameters x509_config = 2 [(.google.api.field_behavior) = REQUIRED];
getX509ConfigOrBuilder()
public X509ParametersOrBuilder getX509ConfigOrBuilder()
Required. Describes how some of the technical X.509 fields in a certificate
should be populated.
.google.cloud.security.privateca.v1.X509Parameters x509_config = 2 [(.google.api.field_behavior) = REQUIRED];
hasPublicKey()
public boolean hasPublicKey()
Optional. The public key that corresponds to this config. This is, for
example, used when issuing
Certificates, but not
when creating a self-signed
CertificateAuthority
or
CertificateAuthority
CSR.
.google.cloud.security.privateca.v1.PublicKey public_key = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the publicKey field is set.
|
hasSubjectConfig()
public boolean hasSubjectConfig()
Required. Specifies some of the values in a certificate that are related to
the subject.
.google.cloud.security.privateca.v1.CertificateConfig.SubjectConfig subject_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the subjectConfig field is set.
|
hasX509Config()
public boolean hasX509Config()
Required. Describes how some of the technical X.509 fields in a certificate
should be populated.
.google.cloud.security.privateca.v1.X509Parameters x509_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the x509Config field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CertificateConfig other)
public CertificateConfig.Builder mergeFrom(CertificateConfig other)
public CertificateConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CertificateConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergePublicKey(PublicKey value)
public CertificateConfig.Builder mergePublicKey(PublicKey value)
Optional. The public key that corresponds to this config. This is, for
example, used when issuing
Certificates, but not
when creating a self-signed
CertificateAuthority
or
CertificateAuthority
CSR.
.google.cloud.security.privateca.v1.PublicKey public_key = 3 [(.google.api.field_behavior) = OPTIONAL];
mergeSubjectConfig(CertificateConfig.SubjectConfig value)
public CertificateConfig.Builder mergeSubjectConfig(CertificateConfig.SubjectConfig value)
Required. Specifies some of the values in a certificate that are related to
the subject.
.google.cloud.security.privateca.v1.CertificateConfig.SubjectConfig subject_config = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CertificateConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeX509Config(X509Parameters value)
public CertificateConfig.Builder mergeX509Config(X509Parameters value)
Required. Describes how some of the technical X.509 fields in a certificate
should be populated.
.google.cloud.security.privateca.v1.X509Parameters x509_config = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public CertificateConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPublicKey(PublicKey value)
public CertificateConfig.Builder setPublicKey(PublicKey value)
Optional. The public key that corresponds to this config. This is, for
example, used when issuing
Certificates, but not
when creating a self-signed
CertificateAuthority
or
CertificateAuthority
CSR.
.google.cloud.security.privateca.v1.PublicKey public_key = 3 [(.google.api.field_behavior) = OPTIONAL];
setPublicKey(PublicKey.Builder builderForValue)
public CertificateConfig.Builder setPublicKey(PublicKey.Builder builderForValue)
Optional. The public key that corresponds to this config. This is, for
example, used when issuing
Certificates, but not
when creating a self-signed
CertificateAuthority
or
CertificateAuthority
CSR.
.google.cloud.security.privateca.v1.PublicKey public_key = 3 [(.google.api.field_behavior) = OPTIONAL];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CertificateConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSubjectConfig(CertificateConfig.SubjectConfig value)
public CertificateConfig.Builder setSubjectConfig(CertificateConfig.SubjectConfig value)
Required. Specifies some of the values in a certificate that are related to
the subject.
.google.cloud.security.privateca.v1.CertificateConfig.SubjectConfig subject_config = 1 [(.google.api.field_behavior) = REQUIRED];
setSubjectConfig(CertificateConfig.SubjectConfig.Builder builderForValue)
public CertificateConfig.Builder setSubjectConfig(CertificateConfig.SubjectConfig.Builder builderForValue)
Required. Specifies some of the values in a certificate that are related to
the subject.
.google.cloud.security.privateca.v1.CertificateConfig.SubjectConfig subject_config = 1 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final CertificateConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setX509Config(X509Parameters value)
public CertificateConfig.Builder setX509Config(X509Parameters value)
Required. Describes how some of the technical X.509 fields in a certificate
should be populated.
.google.cloud.security.privateca.v1.X509Parameters x509_config = 2 [(.google.api.field_behavior) = REQUIRED];
setX509Config(X509Parameters.Builder builderForValue)
public CertificateConfig.Builder setX509Config(X509Parameters.Builder builderForValue)
Required. Describes how some of the technical X.509 fields in a certificate
should be populated.
.google.cloud.security.privateca.v1.X509Parameters x509_config = 2 [(.google.api.field_behavior) = REQUIRED];