public static final class CaPool.IssuancePolicy.IssuanceModes.Builder extends GeneratedMessageV3.Builder<CaPool.IssuancePolicy.IssuanceModes.Builder> implements CaPool.IssuancePolicy.IssuanceModesOrBuilder
IssuanceModes specifies the allowed ways in which
Certificates may be requested from this
CaPool.
Protobuf type
google.cloud.security.privateca.v1.CaPool.IssuancePolicy.IssuanceModes
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CaPool.IssuancePolicy.IssuanceModes.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CaPool.IssuancePolicy.IssuanceModes build()
Returns
buildPartial()
public CaPool.IssuancePolicy.IssuanceModes buildPartial()
Returns
clear()
public CaPool.IssuancePolicy.IssuanceModes.Builder clear()
Returns
Overrides
clearAllowConfigBasedIssuance()
public CaPool.IssuancePolicy.IssuanceModes.Builder clearAllowConfigBasedIssuance()
Optional. When true, allows callers to create Certificates by
specifying a CertificateConfig.
bool allow_config_based_issuance = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearAllowCsrBasedIssuance()
public CaPool.IssuancePolicy.IssuanceModes.Builder clearAllowCsrBasedIssuance()
Optional. When true, allows callers to create Certificates by
specifying a CSR.
bool allow_csr_based_issuance = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearField(Descriptors.FieldDescriptor field)
public CaPool.IssuancePolicy.IssuanceModes.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CaPool.IssuancePolicy.IssuanceModes.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public CaPool.IssuancePolicy.IssuanceModes.Builder clone()
Returns
Overrides
getAllowConfigBasedIssuance()
public boolean getAllowConfigBasedIssuance()
Optional. When true, allows callers to create Certificates by
specifying a CertificateConfig.
bool allow_config_based_issuance = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | The allowConfigBasedIssuance.
|
getAllowCsrBasedIssuance()
public boolean getAllowCsrBasedIssuance()
Optional. When true, allows callers to create Certificates by
specifying a CSR.
bool allow_csr_based_issuance = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | The allowCsrBasedIssuance.
|
getDefaultInstanceForType()
public CaPool.IssuancePolicy.IssuanceModes getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CaPool.IssuancePolicy.IssuanceModes other)
public CaPool.IssuancePolicy.IssuanceModes.Builder mergeFrom(CaPool.IssuancePolicy.IssuanceModes other)
Parameter
Returns
public CaPool.IssuancePolicy.IssuanceModes.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CaPool.IssuancePolicy.IssuanceModes.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CaPool.IssuancePolicy.IssuanceModes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setAllowConfigBasedIssuance(boolean value)
public CaPool.IssuancePolicy.IssuanceModes.Builder setAllowConfigBasedIssuance(boolean value)
Optional. When true, allows callers to create Certificates by
specifying a CertificateConfig.
bool allow_config_based_issuance = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | boolean
The allowConfigBasedIssuance to set.
|
Returns
setAllowCsrBasedIssuance(boolean value)
public CaPool.IssuancePolicy.IssuanceModes.Builder setAllowCsrBasedIssuance(boolean value)
Optional. When true, allows callers to create Certificates by
specifying a CSR.
bool allow_csr_based_issuance = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | boolean
The allowCsrBasedIssuance to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CaPool.IssuancePolicy.IssuanceModes.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CaPool.IssuancePolicy.IssuanceModes.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CaPool.IssuancePolicy.IssuanceModes.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides