public static final class CertificateIdentityConstraints.Builder extends GeneratedMessage.Builder<CertificateIdentityConstraints.Builder> implements CertificateIdentityConstraintsOrBuilderDescribes constraints on a Certificate's Subject and SubjectAltNames.
Protobuf type google.cloud.security.privateca.v1.CertificateIdentityConstraints
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CertificateIdentityConstraints.BuilderImplements
CertificateIdentityConstraintsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CertificateIdentityConstraints build()| Returns | |
|---|---|
| Type | Description |
CertificateIdentityConstraints |
|
buildPartial()
public CertificateIdentityConstraints buildPartial()| Returns | |
|---|---|
| Type | Description |
CertificateIdentityConstraints |
|
clear()
public CertificateIdentityConstraints.Builder clear()| Returns | |
|---|---|
| Type | Description |
CertificateIdentityConstraints.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
CertificateIdentityConstraints.Builder |
This builder for chaining. |
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];
| Returns | |
|---|---|
| Type | Description |
CertificateIdentityConstraints.Builder |
This builder for chaining. |
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];
| Returns | |
|---|---|
| Type | Description |
CertificateIdentityConstraints.Builder |
|
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()| Returns | |
|---|---|
| Type | Description |
CertificateIdentityConstraints |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
| Returns | |
|---|---|
| Type | Description |
CertificateIdentityConstraints.Builder |
|
mergeFrom(CertificateIdentityConstraints other)
public CertificateIdentityConstraints.Builder mergeFrom(CertificateIdentityConstraints other)| Parameter | |
|---|---|
| Name | Description |
other |
CertificateIdentityConstraints |
| Returns | |
|---|---|
| Type | Description |
CertificateIdentityConstraints.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CertificateIdentityConstraints.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CertificateIdentityConstraints.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CertificateIdentityConstraints.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CertificateIdentityConstraints.Builder |
|
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 |
booleanThe allowSubjectAltNamesPassthrough to set. |
| Returns | |
|---|---|
| Type | Description |
CertificateIdentityConstraints.Builder |
This builder for chaining. |
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 |
booleanThe allowSubjectPassthrough to set. |
| Returns | |
|---|---|
| Type | Description |
CertificateIdentityConstraints.Builder |
This builder for chaining. |
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 |
| Returns | |
|---|---|
| Type | Description |
CertificateIdentityConstraints.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
CertificateIdentityConstraints.Builder |
|