Class CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder (2.47.0)

public static final class CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder extends GeneratedMessageV3.Builder<CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder> implements CertificateAuthority.CertificateAuthorityPolicy.IssuanceModesOrBuilder

IssuanceModes specifies the allowed ways in which Certificates may be requested from this CertificateAuthority.

Protobuf type google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes build()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes

buildPartial()

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes buildPartial()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes

clear()

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder clear()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder
Overrides

clearAllowConfigBasedIssuance()

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder clearAllowConfigBasedIssuance()

Required. When true, allows callers to create Certificates by specifying a CertificateConfig.

bool allow_config_based_issuance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder

This builder for chaining.

clearAllowCsrBasedIssuance()

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder clearAllowCsrBasedIssuance()

Required. When true, allows callers to create Certificates by specifying a CSR.

bool allow_csr_based_issuance = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder clone()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder
Overrides

getAllowConfigBasedIssuance()

public boolean getAllowConfigBasedIssuance()

Required. When true, allows callers to create Certificates by specifying a CertificateConfig.

bool allow_config_based_issuance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The allowConfigBasedIssuance.

getAllowCsrBasedIssuance()

public boolean getAllowCsrBasedIssuance()

Required. When true, allows callers to create Certificates by specifying a CSR.

bool allow_csr_based_issuance = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The allowCsrBasedIssuance.

getDefaultInstanceForType()

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes getDefaultInstanceForType()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.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(CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes other)

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder mergeFrom(CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes other)
Parameter
Name Description
other CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder
Overrides

setAllowConfigBasedIssuance(boolean value)

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder setAllowConfigBasedIssuance(boolean value)

Required. When true, allows callers to create Certificates by specifying a CertificateConfig.

bool allow_config_based_issuance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value boolean

The allowConfigBasedIssuance to set.

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder

This builder for chaining.

setAllowCsrBasedIssuance(boolean value)

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder setAllowCsrBasedIssuance(boolean value)

Required. When true, allows callers to create Certificates by specifying a CSR.

bool allow_csr_based_issuance = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value boolean

The allowCsrBasedIssuance to set.

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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