- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.0
- 2.3.0
- 2.2.5
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CertificateConfig.BuilderImplements
CertificateConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CertificateConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
build()
public CertificateConfig build()
Returns | |
---|---|
Type | Description |
CertificateConfig |
buildPartial()
public CertificateConfig buildPartial()
Returns | |
---|---|
Type | Description |
CertificateConfig |
clear()
public CertificateConfig.Builder clear()
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public CertificateConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CertificateConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
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];
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
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];
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
clearSubjectKeyId()
public CertificateConfig.Builder clearSubjectKeyId()
Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CA service, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
.google.cloud.security.privateca.v1.CertificateConfig.KeyId subject_key_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
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];
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
clone()
public CertificateConfig.Builder clone()
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
getDefaultInstanceForType()
public CertificateConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CertificateConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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];
Returns | |
---|---|
Type | Description |
PublicKey.Builder |
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];
Returns | |
---|---|
Type | Description |
PublicKeyOrBuilder |
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];
Returns | |
---|---|
Type | Description |
CertificateConfig.SubjectConfig |
The subjectConfig. |
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];
Returns | |
---|---|
Type | Description |
CertificateConfig.SubjectConfig.Builder |
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];
Returns | |
---|---|
Type | Description |
CertificateConfig.SubjectConfigOrBuilder |
getSubjectKeyId()
public CertificateConfig.KeyId getSubjectKeyId()
Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CA service, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
.google.cloud.security.privateca.v1.CertificateConfig.KeyId subject_key_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CertificateConfig.KeyId |
The subjectKeyId. |
getSubjectKeyIdBuilder()
public CertificateConfig.KeyId.Builder getSubjectKeyIdBuilder()
Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CA service, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
.google.cloud.security.privateca.v1.CertificateConfig.KeyId subject_key_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CertificateConfig.KeyId.Builder |
getSubjectKeyIdOrBuilder()
public CertificateConfig.KeyIdOrBuilder getSubjectKeyIdOrBuilder()
Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CA service, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
.google.cloud.security.privateca.v1.CertificateConfig.KeyId subject_key_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CertificateConfig.KeyIdOrBuilder |
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];
Returns | |
---|---|
Type | Description |
X509Parameters |
The x509Config. |
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];
Returns | |
---|---|
Type | Description |
X509Parameters.Builder |
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];
Returns | |
---|---|
Type | Description |
X509ParametersOrBuilder |
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. |
hasSubjectKeyId()
public boolean hasSubjectKeyId()
Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CA service, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
.google.cloud.security.privateca.v1.CertificateConfig.KeyId subject_key_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the subjectKeyId 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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CertificateConfig other)
public CertificateConfig.Builder mergeFrom(CertificateConfig other)
Parameter | |
---|---|
Name | Description |
other |
CertificateConfig |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CertificateConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CertificateConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
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];
Parameter | |
---|---|
Name | Description |
value |
PublicKey |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
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];
Parameter | |
---|---|
Name | Description |
value |
CertificateConfig.SubjectConfig |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
mergeSubjectKeyId(CertificateConfig.KeyId value)
public CertificateConfig.Builder mergeSubjectKeyId(CertificateConfig.KeyId value)
Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CA service, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
.google.cloud.security.privateca.v1.CertificateConfig.KeyId subject_key_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
CertificateConfig.KeyId |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CertificateConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
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];
Parameter | |
---|---|
Name | Description |
value |
X509Parameters |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CertificateConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
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];
Parameter | |
---|---|
Name | Description |
value |
PublicKey |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
PublicKey.Builder |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CertificateConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
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];
Parameter | |
---|---|
Name | Description |
value |
CertificateConfig.SubjectConfig |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
CertificateConfig.SubjectConfig.Builder |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
setSubjectKeyId(CertificateConfig.KeyId value)
public CertificateConfig.Builder setSubjectKeyId(CertificateConfig.KeyId value)
Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CA service, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
.google.cloud.security.privateca.v1.CertificateConfig.KeyId subject_key_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
CertificateConfig.KeyId |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
setSubjectKeyId(CertificateConfig.KeyId.Builder builderForValue)
public CertificateConfig.Builder setSubjectKeyId(CertificateConfig.KeyId.Builder builderForValue)
Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CA service, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
.google.cloud.security.privateca.v1.CertificateConfig.KeyId subject_key_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
CertificateConfig.KeyId.Builder |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CertificateConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
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];
Parameter | |
---|---|
Name | Description |
value |
X509Parameters |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
X509Parameters.Builder |
Returns | |
---|---|
Type | Description |
CertificateConfig.Builder |