public static final class CertificateIdentityConstraints.Builder extends GeneratedMessageV3.Builder<CertificateIdentityConstraints.Builder> implements CertificateIdentityConstraintsOrBuilder
Describes constraints on a
Certificate's
Subject and
SubjectAltNames.
Protobuf type google.cloud.security.privateca.v1.CertificateIdentityConstraints
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 CertificateIdentityConstraints.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CertificateIdentityConstraints build()
buildPartial()
public CertificateIdentityConstraints buildPartial()
clear()
public CertificateIdentityConstraints.Builder clear()
Overrides
clearAllowSubjectAltNamesPassthrough()
public CertificateIdentityConstraints.Builder clearAllowSubjectAltNamesPassthrough()
Required. If this is true, the
SubjectAltNames
extension may be copied from a certificate request into the signed
certificate. Otherwise, the requested
SubjectAltNames will
be discarded.
optional bool allow_subject_alt_names_passthrough = 3 [(.google.api.field_behavior) = REQUIRED];
clearAllowSubjectPassthrough()
public CertificateIdentityConstraints.Builder clearAllowSubjectPassthrough()
Required. If this is true, the
Subject field may be copied
from a certificate request into the signed certificate. Otherwise, the
requested Subject will be
discarded.
optional bool allow_subject_passthrough = 2 [(.google.api.field_behavior) = REQUIRED];
clearCelExpression()
public CertificateIdentityConstraints.Builder clearCelExpression()
Optional. A CEL expression that may be used to validate the resolved X.509
Subject and/or Subject Alternative Name before a certificate is signed. To
see the full allowed syntax and some examples, see
https://cloud.google.com/certificate-authority-service/docs/using-cel
.google.type.Expr cel_expression = 1 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public CertificateIdentityConstraints.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CertificateIdentityConstraints.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public CertificateIdentityConstraints.Builder clone()
Overrides
getAllowSubjectAltNamesPassthrough()
public boolean getAllowSubjectAltNamesPassthrough()
Required. If this is true, the
SubjectAltNames
extension may be copied from a certificate request into the signed
certificate. Otherwise, the requested
SubjectAltNames will
be discarded.
optional bool allow_subject_alt_names_passthrough = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
The allowSubjectAltNamesPassthrough.
|
getAllowSubjectPassthrough()
public boolean getAllowSubjectPassthrough()
Required. If this is true, the
Subject field may be copied
from a certificate request into the signed certificate. Otherwise, the
requested Subject will be
discarded.
optional bool allow_subject_passthrough = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
The allowSubjectPassthrough.
|
getCelExpression()
public Expr getCelExpression()
Optional. A CEL expression that may be used to validate the resolved X.509
Subject and/or Subject Alternative Name before a certificate is signed. To
see the full allowed syntax and some examples, see
https://cloud.google.com/certificate-authority-service/docs/using-cel
.google.type.Expr cel_expression = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
com.google.type.Expr |
The celExpression.
|
getCelExpressionBuilder()
public Expr.Builder getCelExpressionBuilder()
Optional. A CEL expression that may be used to validate the resolved X.509
Subject and/or Subject Alternative Name before a certificate is signed. To
see the full allowed syntax and some examples, see
https://cloud.google.com/certificate-authority-service/docs/using-cel
.google.type.Expr cel_expression = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
com.google.type.Expr.Builder |
|
getCelExpressionOrBuilder()
public ExprOrBuilder getCelExpressionOrBuilder()
Optional. A CEL expression that may be used to validate the resolved X.509
Subject and/or Subject Alternative Name before a certificate is signed. To
see the full allowed syntax and some examples, see
https://cloud.google.com/certificate-authority-service/docs/using-cel
.google.type.Expr cel_expression = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
com.google.type.ExprOrBuilder |
|
getDefaultInstanceForType()
public CertificateIdentityConstraints getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasAllowSubjectAltNamesPassthrough()
public boolean hasAllowSubjectAltNamesPassthrough()
Required. If this is true, the
SubjectAltNames
extension may be copied from a certificate request into the signed
certificate. Otherwise, the requested
SubjectAltNames will
be discarded.
optional bool allow_subject_alt_names_passthrough = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the allowSubjectAltNamesPassthrough field is set.
|
hasAllowSubjectPassthrough()
public boolean hasAllowSubjectPassthrough()
Required. If this is true, the
Subject field may be copied
from a certificate request into the signed certificate. Otherwise, the
requested Subject will be
discarded.
optional bool allow_subject_passthrough = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the allowSubjectPassthrough field is set.
|
hasCelExpression()
public boolean hasCelExpression()
Optional. A CEL expression that may be used to validate the resolved X.509
Subject and/or Subject Alternative Name before a certificate is signed. To
see the full allowed syntax and some examples, see
https://cloud.google.com/certificate-authority-service/docs/using-cel
.google.type.Expr cel_expression = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the celExpression field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCelExpression(Expr value)
public CertificateIdentityConstraints.Builder mergeCelExpression(Expr value)
Optional. A CEL expression that may be used to validate the resolved X.509
Subject and/or Subject Alternative Name before a certificate is signed. To
see the full allowed syntax and some examples, see
https://cloud.google.com/certificate-authority-service/docs/using-cel
.google.type.Expr cel_expression = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
com.google.type.Expr
|
mergeFrom(CertificateIdentityConstraints other)
public CertificateIdentityConstraints.Builder mergeFrom(CertificateIdentityConstraints other)
public CertificateIdentityConstraints.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CertificateIdentityConstraints.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CertificateIdentityConstraints.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAllowSubjectAltNamesPassthrough(boolean value)
public CertificateIdentityConstraints.Builder setAllowSubjectAltNamesPassthrough(boolean value)
Required. If this is true, the
SubjectAltNames
extension may be copied from a certificate request into the signed
certificate. Otherwise, the requested
SubjectAltNames will
be discarded.
optional bool allow_subject_alt_names_passthrough = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
boolean
The allowSubjectAltNamesPassthrough to set.
|
setAllowSubjectPassthrough(boolean value)
public CertificateIdentityConstraints.Builder setAllowSubjectPassthrough(boolean value)
Required. If this is true, the
Subject field may be copied
from a certificate request into the signed certificate. Otherwise, the
requested Subject will be
discarded.
optional bool allow_subject_passthrough = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
boolean
The allowSubjectPassthrough to set.
|
setCelExpression(Expr value)
public CertificateIdentityConstraints.Builder setCelExpression(Expr value)
Optional. A CEL expression that may be used to validate the resolved X.509
Subject and/or Subject Alternative Name before a certificate is signed. To
see the full allowed syntax and some examples, see
https://cloud.google.com/certificate-authority-service/docs/using-cel
.google.type.Expr cel_expression = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
com.google.type.Expr
|
setCelExpression(Expr.Builder builderForValue)
public CertificateIdentityConstraints.Builder setCelExpression(Expr.Builder builderForValue)
Optional. A CEL expression that may be used to validate the resolved X.509
Subject and/or Subject Alternative Name before a certificate is signed. To
see the full allowed syntax and some examples, see
https://cloud.google.com/certificate-authority-service/docs/using-cel
.google.type.Expr cel_expression = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
builderForValue |
com.google.type.Expr.Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public CertificateIdentityConstraints.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CertificateIdentityConstraints.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CertificateIdentityConstraints.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides