Class CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder (2.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes build()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes

buildPartial()

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes buildPartial()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

The allowCsrBasedIssuance.

getDefaultInstanceForType()

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

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder mergeFrom(CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes other)
Parameter
NameDescription
otherCertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The allowConfigBasedIssuance to set.

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

The allowCsrBasedIssuance to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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