Class CaPool.IssuancePolicy.IssuanceModes.Builder (2.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CaPool.IssuancePolicy.IssuanceModes.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CaPool.IssuancePolicy.IssuanceModes.Builder
Overrides

build()

public CaPool.IssuancePolicy.IssuanceModes build()
Returns
TypeDescription
CaPool.IssuancePolicy.IssuanceModes

buildPartial()

public CaPool.IssuancePolicy.IssuanceModes buildPartial()
Returns
TypeDescription
CaPool.IssuancePolicy.IssuanceModes

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CaPool.IssuancePolicy.IssuanceModes.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CaPool.IssuancePolicy.IssuanceModes.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CaPool.IssuancePolicy.IssuanceModes.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CaPool.IssuancePolicy.IssuanceModes.Builder
Overrides

clone()

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

The allowCsrBasedIssuance.

getDefaultInstanceForType()

public CaPool.IssuancePolicy.IssuanceModes getDefaultInstanceForType()
Returns
TypeDescription
CaPool.IssuancePolicy.IssuanceModes

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CaPool.IssuancePolicy.IssuanceModes other)

public CaPool.IssuancePolicy.IssuanceModes.Builder mergeFrom(CaPool.IssuancePolicy.IssuanceModes other)
Parameter
NameDescription
otherCaPool.IssuancePolicy.IssuanceModes
Returns
TypeDescription
CaPool.IssuancePolicy.IssuanceModes.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CaPool.IssuancePolicy.IssuanceModes.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaPool.IssuancePolicy.IssuanceModes.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CaPool.IssuancePolicy.IssuanceModes.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CaPool.IssuancePolicy.IssuanceModes.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CaPool.IssuancePolicy.IssuanceModes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The allowConfigBasedIssuance to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The allowCsrBasedIssuance to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CaPool.IssuancePolicy.IssuanceModes.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CaPool.IssuancePolicy.IssuanceModes.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CaPool.IssuancePolicy.IssuanceModes.Builder
Overrides