Class CaPool.IssuancePolicy.IssuanceModes.Builder (2.49.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CaPool.IssuancePolicy.IssuanceModes.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CaPool.IssuancePolicy.IssuanceModes.Builder
Overrides

build()

public CaPool.IssuancePolicy.IssuanceModes build()
Returns
Type Description
CaPool.IssuancePolicy.IssuanceModes

buildPartial()

public CaPool.IssuancePolicy.IssuanceModes buildPartial()
Returns
Type Description
CaPool.IssuancePolicy.IssuanceModes

clear()

public CaPool.IssuancePolicy.IssuanceModes.Builder clear()
Returns
Type Description
CaPool.IssuancePolicy.IssuanceModes.Builder
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
Type Description
CaPool.IssuancePolicy.IssuanceModes.Builder

This builder for chaining.

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
Type Description
CaPool.IssuancePolicy.IssuanceModes.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CaPool.IssuancePolicy.IssuanceModes.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CaPool.IssuancePolicy.IssuanceModes.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CaPool.IssuancePolicy.IssuanceModes.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CaPool.IssuancePolicy.IssuanceModes.Builder
Overrides

clone()

public CaPool.IssuancePolicy.IssuanceModes.Builder clone()
Returns
Type Description
CaPool.IssuancePolicy.IssuanceModes.Builder
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
Type Description
CaPool.IssuancePolicy.IssuanceModes

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CaPool.IssuancePolicy.IssuanceModes other)

public CaPool.IssuancePolicy.IssuanceModes.Builder mergeFrom(CaPool.IssuancePolicy.IssuanceModes other)
Parameter
Name Description
other CaPool.IssuancePolicy.IssuanceModes
Returns
Type Description
CaPool.IssuancePolicy.IssuanceModes.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CaPool.IssuancePolicy.IssuanceModes.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CaPool.IssuancePolicy.IssuanceModes.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CaPool.IssuancePolicy.IssuanceModes.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CaPool.IssuancePolicy.IssuanceModes.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CaPool.IssuancePolicy.IssuanceModes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CaPool.IssuancePolicy.IssuanceModes.Builder
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
Type Description
CaPool.IssuancePolicy.IssuanceModes.Builder

This builder for chaining.

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
Type Description
CaPool.IssuancePolicy.IssuanceModes.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CaPool.IssuancePolicy.IssuanceModes.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CaPool.IssuancePolicy.IssuanceModes.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CaPool.IssuancePolicy.IssuanceModes.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CaPool.IssuancePolicy.IssuanceModes.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CaPool.IssuancePolicy.IssuanceModes.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CaPool.IssuancePolicy.IssuanceModes.Builder
Overrides