Class ReusableConfigValues.Builder (2.29.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
TypeDescription
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
NameDescription
valueX509Extension
Returns
TypeDescription
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
NameDescription
builderForValueX509Extension.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueX509Extension
Returns
TypeDescription
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
NameDescription
indexint
builderForValueX509Extension.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The aiaOcspServers to add.

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

The bytes of the aiaOcspServers to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.security.privateca.v1beta1.X509Extension>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The aiaOcspServers to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.security.privateca.v1beta1.ObjectId>
Returns
TypeDescription
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
NameDescription
valueObjectId
Returns
TypeDescription
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
NameDescription
builderForValueObjectId.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueObjectId
Returns
TypeDescription
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
NameDescription
indexint
builderForValueObjectId.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ObjectId.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReusableConfigValues build()
Returns
TypeDescription
ReusableConfigValues

buildPartial()

public ReusableConfigValues buildPartial()
Returns
TypeDescription
ReusableConfigValues

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ReusableConfigValues.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ReusableConfigValues.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ReusableConfigValues.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ReusableConfigValues.Builder

clone()

public ReusableConfigValues.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ReusableConfigValues.CaOptionsOrBuilder

getDefaultInstanceForType()

public ReusableConfigValues getDefaultInstanceForType()
Returns
TypeDescription
ReusableConfigValues

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the keyUsage field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueReusableConfigValues.CaOptions
Returns
TypeDescription
ReusableConfigValues.Builder

mergeFrom(ReusableConfigValues other)

public ReusableConfigValues.Builder mergeFrom(ReusableConfigValues other)
Parameter
NameDescription
otherReusableConfigValues
Returns
TypeDescription
ReusableConfigValues.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ReusableConfigValues.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueKeyUsage
Returns
TypeDescription
ReusableConfigValues.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReusableConfigValues.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueX509Extension
Returns
TypeDescription
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
NameDescription
indexint
builderForValueX509Extension.Builder
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The aiaOcspServers to set.

Returns
TypeDescription
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
NameDescription
valueReusableConfigValues.CaOptions
Returns
TypeDescription
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
NameDescription
builderForValueReusableConfigValues.CaOptions.Builder
Returns
TypeDescription
ReusableConfigValues.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReusableConfigValues.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueKeyUsage
Returns
TypeDescription
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
NameDescription
builderForValueKeyUsage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueObjectId
Returns
TypeDescription
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
NameDescription
indexint
builderForValueObjectId.Builder
Returns
TypeDescription
ReusableConfigValues.Builder

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

public ReusableConfigValues.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReusableConfigValues.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReusableConfigValues.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReusableConfigValues.Builder
Overrides