Class ReusableConfigValues.Builder (2.45.0)

public static final class ReusableConfigValues.Builder extends GeneratedMessageV3.Builder<ReusableConfigValues.Builder> implements ReusableConfigValuesOrBuilder

A ReusableConfigValues is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions.

Protobuf type google.cloud.security.privateca.v1beta1.ReusableConfigValues

Static Methods

getDescriptor()

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

Methods

addAdditionalExtensions(X509Extension value)

public ReusableConfigValues.Builder addAdditionalExtensions(X509Extension value)

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value X509Extension
Returns
Type Description
ReusableConfigValues.Builder

addAdditionalExtensions(X509Extension.Builder builderForValue)

public ReusableConfigValues.Builder addAdditionalExtensions(X509Extension.Builder builderForValue)

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue X509Extension.Builder
Returns
Type Description
ReusableConfigValues.Builder

addAdditionalExtensions(int index, X509Extension value)

public ReusableConfigValues.Builder addAdditionalExtensions(int index, X509Extension value)

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value X509Extension
Returns
Type Description
ReusableConfigValues.Builder

addAdditionalExtensions(int index, X509Extension.Builder builderForValue)

public ReusableConfigValues.Builder addAdditionalExtensions(int index, X509Extension.Builder builderForValue)

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue X509Extension.Builder
Returns
Type Description
ReusableConfigValues.Builder

addAdditionalExtensionsBuilder()

public X509Extension.Builder addAdditionalExtensionsBuilder()

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
X509Extension.Builder

addAdditionalExtensionsBuilder(int index)

public X509Extension.Builder addAdditionalExtensionsBuilder(int index)

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
X509Extension.Builder

addAiaOcspServers(String value)

public ReusableConfigValues.Builder addAiaOcspServers(String value)

Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.

repeated string aia_ocsp_servers = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The aiaOcspServers to add.

Returns
Type Description
ReusableConfigValues.Builder

This builder for chaining.

addAiaOcspServersBytes(ByteString value)

public ReusableConfigValues.Builder addAiaOcspServersBytes(ByteString value)

Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.

repeated string aia_ocsp_servers = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the aiaOcspServers to add.

Returns
Type Description
ReusableConfigValues.Builder

This builder for chaining.

addAllAdditionalExtensions(Iterable<? extends X509Extension> values)

public ReusableConfigValues.Builder addAllAdditionalExtensions(Iterable<? extends X509Extension> values)

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.security.privateca.v1beta1.X509Extension>
Returns
Type Description
ReusableConfigValues.Builder

addAllAiaOcspServers(Iterable<String> values)

public ReusableConfigValues.Builder addAllAiaOcspServers(Iterable<String> values)

Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.

repeated string aia_ocsp_servers = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The aiaOcspServers to add.

Returns
Type Description
ReusableConfigValues.Builder

This builder for chaining.

addAllPolicyIds(Iterable<? extends ObjectId> values)

public ReusableConfigValues.Builder addAllPolicyIds(Iterable<? extends ObjectId> values)

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.security.privateca.v1beta1.ObjectId>
Returns
Type Description
ReusableConfigValues.Builder

addPolicyIds(ObjectId value)

public ReusableConfigValues.Builder addPolicyIds(ObjectId value)

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ObjectId
Returns
Type Description
ReusableConfigValues.Builder

addPolicyIds(ObjectId.Builder builderForValue)

public ReusableConfigValues.Builder addPolicyIds(ObjectId.Builder builderForValue)

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ObjectId.Builder
Returns
Type Description
ReusableConfigValues.Builder

addPolicyIds(int index, ObjectId value)

public ReusableConfigValues.Builder addPolicyIds(int index, ObjectId value)

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value ObjectId
Returns
Type Description
ReusableConfigValues.Builder

addPolicyIds(int index, ObjectId.Builder builderForValue)

public ReusableConfigValues.Builder addPolicyIds(int index, ObjectId.Builder builderForValue)

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue ObjectId.Builder
Returns
Type Description
ReusableConfigValues.Builder

addPolicyIdsBuilder()

public ObjectId.Builder addPolicyIdsBuilder()

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ObjectId.Builder

addPolicyIdsBuilder(int index)

public ObjectId.Builder addPolicyIdsBuilder(int index)

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ObjectId.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReusableConfigValues build()
Returns
Type Description
ReusableConfigValues

buildPartial()

public ReusableConfigValues buildPartial()
Returns
Type Description
ReusableConfigValues

clear()

public ReusableConfigValues.Builder clear()
Returns
Type Description
ReusableConfigValues.Builder
Overrides

clearAdditionalExtensions()

public ReusableConfigValues.Builder clearAdditionalExtensions()

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReusableConfigValues.Builder

clearAiaOcspServers()

public ReusableConfigValues.Builder clearAiaOcspServers()

Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.

repeated string aia_ocsp_servers = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReusableConfigValues.Builder

This builder for chaining.

clearCaOptions()

public ReusableConfigValues.Builder clearCaOptions()

Optional. Describes options in this ReusableConfigValues that are relevant in a CA certificate.

.google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions ca_options = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReusableConfigValues.Builder

clearField(Descriptors.FieldDescriptor field)

public ReusableConfigValues.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReusableConfigValues.Builder
Overrides

clearKeyUsage()

public ReusableConfigValues.Builder clearKeyUsage()

Optional. Indicates the intended use for keys that correspond to a certificate.

.google.cloud.security.privateca.v1beta1.KeyUsage key_usage = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReusableConfigValues.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ReusableConfigValues.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReusableConfigValues.Builder
Overrides

clearPolicyIds()

public ReusableConfigValues.Builder clearPolicyIds()

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReusableConfigValues.Builder

clone()

public ReusableConfigValues.Builder clone()
Returns
Type Description
ReusableConfigValues.Builder
Overrides

getAdditionalExtensions(int index)

public X509Extension getAdditionalExtensions(int index)

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
X509Extension

getAdditionalExtensionsBuilder(int index)

public X509Extension.Builder getAdditionalExtensionsBuilder(int index)

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
X509Extension.Builder

getAdditionalExtensionsBuilderList()

public List<X509Extension.Builder> getAdditionalExtensionsBuilderList()

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getAdditionalExtensionsCount()

public int getAdditionalExtensionsCount()

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAdditionalExtensionsList()

public List<X509Extension> getAdditionalExtensionsList()

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<X509Extension>

getAdditionalExtensionsOrBuilder(int index)

public X509ExtensionOrBuilder getAdditionalExtensionsOrBuilder(int index)

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
X509ExtensionOrBuilder

getAdditionalExtensionsOrBuilderList()

public List<? extends X509ExtensionOrBuilder> getAdditionalExtensionsOrBuilderList()

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.security.privateca.v1beta1.X509ExtensionOrBuilder>

getAiaOcspServers(int index)

public String getAiaOcspServers(int index)

Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.

repeated string aia_ocsp_servers = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The aiaOcspServers at the given index.

getAiaOcspServersBytes(int index)

public ByteString getAiaOcspServersBytes(int index)

Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.

repeated string aia_ocsp_servers = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the aiaOcspServers at the given index.

getAiaOcspServersCount()

public int getAiaOcspServersCount()

Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.

repeated string aia_ocsp_servers = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of aiaOcspServers.

getAiaOcspServersList()

public ProtocolStringList getAiaOcspServersList()

Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.

repeated string aia_ocsp_servers = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the aiaOcspServers.

getCaOptions()

public ReusableConfigValues.CaOptions getCaOptions()

Optional. Describes options in this ReusableConfigValues that are relevant in a CA certificate.

.google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions ca_options = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReusableConfigValues.CaOptions

The caOptions.

getCaOptionsBuilder()

public ReusableConfigValues.CaOptions.Builder getCaOptionsBuilder()

Optional. Describes options in this ReusableConfigValues that are relevant in a CA certificate.

.google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions ca_options = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReusableConfigValues.CaOptions.Builder

getCaOptionsOrBuilder()

public ReusableConfigValues.CaOptionsOrBuilder getCaOptionsOrBuilder()

Optional. Describes options in this ReusableConfigValues that are relevant in a CA certificate.

.google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions ca_options = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReusableConfigValues.CaOptionsOrBuilder

getDefaultInstanceForType()

public ReusableConfigValues getDefaultInstanceForType()
Returns
Type Description
ReusableConfigValues

getDescriptorForType()

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

getKeyUsage()

public KeyUsage getKeyUsage()

Optional. Indicates the intended use for keys that correspond to a certificate.

.google.cloud.security.privateca.v1beta1.KeyUsage key_usage = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KeyUsage

The keyUsage.

getKeyUsageBuilder()

public KeyUsage.Builder getKeyUsageBuilder()

Optional. Indicates the intended use for keys that correspond to a certificate.

.google.cloud.security.privateca.v1beta1.KeyUsage key_usage = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KeyUsage.Builder

getKeyUsageOrBuilder()

public KeyUsageOrBuilder getKeyUsageOrBuilder()

Optional. Indicates the intended use for keys that correspond to a certificate.

.google.cloud.security.privateca.v1beta1.KeyUsage key_usage = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KeyUsageOrBuilder

getPolicyIds(int index)

public ObjectId getPolicyIds(int index)

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ObjectId

getPolicyIdsBuilder(int index)

public ObjectId.Builder getPolicyIdsBuilder(int index)

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ObjectId.Builder

getPolicyIdsBuilderList()

public List<ObjectId.Builder> getPolicyIdsBuilderList()

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getPolicyIdsCount()

public int getPolicyIdsCount()

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getPolicyIdsList()

public List<ObjectId> getPolicyIdsList()

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ObjectId>

getPolicyIdsOrBuilder(int index)

public ObjectIdOrBuilder getPolicyIdsOrBuilder(int index)

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ObjectIdOrBuilder

getPolicyIdsOrBuilderList()

public List<? extends ObjectIdOrBuilder> getPolicyIdsOrBuilderList()

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.security.privateca.v1beta1.ObjectIdOrBuilder>

hasCaOptions()

public boolean hasCaOptions()

Optional. Describes options in this ReusableConfigValues that are relevant in a CA certificate.

.google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions ca_options = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the caOptions field is set.

hasKeyUsage()

public boolean hasKeyUsage()

Optional. Indicates the intended use for keys that correspond to a certificate.

.google.cloud.security.privateca.v1beta1.KeyUsage key_usage = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the keyUsage field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCaOptions(ReusableConfigValues.CaOptions value)

public ReusableConfigValues.Builder mergeCaOptions(ReusableConfigValues.CaOptions value)

Optional. Describes options in this ReusableConfigValues that are relevant in a CA certificate.

.google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions ca_options = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ReusableConfigValues.CaOptions
Returns
Type Description
ReusableConfigValues.Builder

mergeFrom(ReusableConfigValues other)

public ReusableConfigValues.Builder mergeFrom(ReusableConfigValues other)
Parameter
Name Description
other ReusableConfigValues
Returns
Type Description
ReusableConfigValues.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ReusableConfigValues.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReusableConfigValues.Builder
Overrides

mergeKeyUsage(KeyUsage value)

public ReusableConfigValues.Builder mergeKeyUsage(KeyUsage value)

Optional. Indicates the intended use for keys that correspond to a certificate.

.google.cloud.security.privateca.v1beta1.KeyUsage key_usage = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value KeyUsage
Returns
Type Description
ReusableConfigValues.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReusableConfigValues.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReusableConfigValues.Builder
Overrides

removeAdditionalExtensions(int index)

public ReusableConfigValues.Builder removeAdditionalExtensions(int index)

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ReusableConfigValues.Builder

removePolicyIds(int index)

public ReusableConfigValues.Builder removePolicyIds(int index)

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ReusableConfigValues.Builder

setAdditionalExtensions(int index, X509Extension value)

public ReusableConfigValues.Builder setAdditionalExtensions(int index, X509Extension value)

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value X509Extension
Returns
Type Description
ReusableConfigValues.Builder

setAdditionalExtensions(int index, X509Extension.Builder builderForValue)

public ReusableConfigValues.Builder setAdditionalExtensions(int index, X509Extension.Builder builderForValue)

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1beta1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue X509Extension.Builder
Returns
Type Description
ReusableConfigValues.Builder

setAiaOcspServers(int index, String value)

public ReusableConfigValues.Builder setAiaOcspServers(int index, String value)

Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.

repeated string aia_ocsp_servers = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The aiaOcspServers to set.

Returns
Type Description
ReusableConfigValues.Builder

This builder for chaining.

setCaOptions(ReusableConfigValues.CaOptions value)

public ReusableConfigValues.Builder setCaOptions(ReusableConfigValues.CaOptions value)

Optional. Describes options in this ReusableConfigValues that are relevant in a CA certificate.

.google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions ca_options = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ReusableConfigValues.CaOptions
Returns
Type Description
ReusableConfigValues.Builder

setCaOptions(ReusableConfigValues.CaOptions.Builder builderForValue)

public ReusableConfigValues.Builder setCaOptions(ReusableConfigValues.CaOptions.Builder builderForValue)

Optional. Describes options in this ReusableConfigValues that are relevant in a CA certificate.

.google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions ca_options = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ReusableConfigValues.CaOptions.Builder
Returns
Type Description
ReusableConfigValues.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setKeyUsage(KeyUsage value)

public ReusableConfigValues.Builder setKeyUsage(KeyUsage value)

Optional. Indicates the intended use for keys that correspond to a certificate.

.google.cloud.security.privateca.v1beta1.KeyUsage key_usage = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value KeyUsage
Returns
Type Description
ReusableConfigValues.Builder

setKeyUsage(KeyUsage.Builder builderForValue)

public ReusableConfigValues.Builder setKeyUsage(KeyUsage.Builder builderForValue)

Optional. Indicates the intended use for keys that correspond to a certificate.

.google.cloud.security.privateca.v1beta1.KeyUsage key_usage = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue KeyUsage.Builder
Returns
Type Description
ReusableConfigValues.Builder

setPolicyIds(int index, ObjectId value)

public ReusableConfigValues.Builder setPolicyIds(int index, ObjectId value)

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value ObjectId
Returns
Type Description
ReusableConfigValues.Builder

setPolicyIds(int index, ObjectId.Builder builderForValue)

public ReusableConfigValues.Builder setPolicyIds(int index, ObjectId.Builder builderForValue)

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

repeated .google.cloud.security.privateca.v1beta1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue ObjectId.Builder
Returns
Type Description
ReusableConfigValues.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ReusableConfigValues.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReusableConfigValues.Builder
Overrides