Class X509Parameters.Builder

public static final class X509Parameters.Builder extends GeneratedMessageV3.Builder<X509Parameters.Builder> implements X509ParametersOrBuilder

An X509Parameters 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.v1.X509Parameters

Methods

addAdditionalExtensions(X509Extension value)

public X509Parameters.Builder addAdditionalExtensions(X509Extension value)

Optional. Describes custom X.509 extensions.

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

Parameter
NameDescription
valueX509Extension
Returns
TypeDescription
X509Parameters.Builder

addAdditionalExtensions(X509Extension.Builder builderForValue)

public X509Parameters.Builder addAdditionalExtensions(X509Extension.Builder builderForValue)

Optional. Describes custom X.509 extensions.

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

Parameter
NameDescription
builderForValueX509Extension.Builder
Returns
TypeDescription
X509Parameters.Builder

addAdditionalExtensions(int index, X509Extension value)

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

Optional. Describes custom X.509 extensions.

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

Parameters
NameDescription
indexint
valueX509Extension
Returns
TypeDescription
X509Parameters.Builder

addAdditionalExtensions(int index, X509Extension.Builder builderForValue)

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

Optional. Describes custom X.509 extensions.

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

Parameters
NameDescription
indexint
builderForValueX509Extension.Builder
Returns
TypeDescription
X509Parameters.Builder

addAdditionalExtensionsBuilder()

public X509Extension.Builder addAdditionalExtensionsBuilder()

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1.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.v1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
X509Extension.Builder

addAiaOcspServers(String value)

public X509Parameters.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
X509Parameters.Builder

This builder for chaining.

addAiaOcspServersBytes(ByteString value)

public X509Parameters.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
X509Parameters.Builder

This builder for chaining.

addAllAdditionalExtensions(Iterable<? extends X509Extension> values)

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

Optional. Describes custom X.509 extensions.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.security.privateca.v1.X509Extension>
Returns
TypeDescription
X509Parameters.Builder

addAllAiaOcspServers(Iterable<String> values)

public X509Parameters.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
X509Parameters.Builder

This builder for chaining.

addAllPolicyIds(Iterable<? extends ObjectId> values)

public X509Parameters.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.v1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.security.privateca.v1.ObjectId>
Returns
TypeDescription
X509Parameters.Builder

addPolicyIds(ObjectId value)

public X509Parameters.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.v1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueObjectId
Returns
TypeDescription
X509Parameters.Builder

addPolicyIds(ObjectId.Builder builderForValue)

public X509Parameters.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.v1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueObjectId.Builder
Returns
TypeDescription
X509Parameters.Builder

addPolicyIds(int index, ObjectId value)

public X509Parameters.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.v1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
valueObjectId
Returns
TypeDescription
X509Parameters.Builder

addPolicyIds(int index, ObjectId.Builder builderForValue)

public X509Parameters.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.v1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
builderForValueObjectId.Builder
Returns
TypeDescription
X509Parameters.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.v1.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.v1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
ObjectId.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public X509Parameters build()
Returns
TypeDescription
X509Parameters

buildPartial()

public X509Parameters buildPartial()
Returns
TypeDescription
X509Parameters

clear()

public X509Parameters.Builder clear()
Returns
TypeDescription
X509Parameters.Builder
Overrides

clearAdditionalExtensions()

public X509Parameters.Builder clearAdditionalExtensions()

Optional. Describes custom X.509 extensions.

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

Returns
TypeDescription
X509Parameters.Builder

clearAiaOcspServers()

public X509Parameters.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
X509Parameters.Builder

This builder for chaining.

clearCaOptions()

public X509Parameters.Builder clearCaOptions()

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

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

Returns
TypeDescription
X509Parameters.Builder

clearField(Descriptors.FieldDescriptor field)

public X509Parameters.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
X509Parameters.Builder
Overrides

clearKeyUsage()

public X509Parameters.Builder clearKeyUsage()

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

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

Returns
TypeDescription
X509Parameters.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public X509Parameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
X509Parameters.Builder
Overrides

clearPolicyIds()

public X509Parameters.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.v1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
X509Parameters.Builder

clone()

public X509Parameters.Builder clone()
Returns
TypeDescription
X509Parameters.Builder
Overrides

getAdditionalExtensions(int index)

public X509Extension getAdditionalExtensions(int index)

Optional. Describes custom X.509 extensions.

repeated .google.cloud.security.privateca.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.security.privateca.v1.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 X509Parameters.CaOptions getCaOptions()

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

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

Returns
TypeDescription
X509Parameters.CaOptions

The caOptions.

getCaOptionsBuilder()

public X509Parameters.CaOptions.Builder getCaOptionsBuilder()

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

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

Returns
TypeDescription
X509Parameters.CaOptions.Builder

getCaOptionsOrBuilder()

public X509Parameters.CaOptionsOrBuilder getCaOptionsOrBuilder()

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

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

Returns
TypeDescription
X509Parameters.CaOptionsOrBuilder

getDefaultInstanceForType()

public X509Parameters getDefaultInstanceForType()
Returns
TypeDescription
X509Parameters

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.security.privateca.v1.ObjectIdOrBuilder>

hasCaOptions()

public boolean hasCaOptions()

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

.google.cloud.security.privateca.v1.X509Parameters.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.v1.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(X509Parameters.CaOptions value)

public X509Parameters.Builder mergeCaOptions(X509Parameters.CaOptions value)

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

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

Parameter
NameDescription
valueX509Parameters.CaOptions
Returns
TypeDescription
X509Parameters.Builder

mergeFrom(X509Parameters other)

public X509Parameters.Builder mergeFrom(X509Parameters other)
Parameter
NameDescription
otherX509Parameters
Returns
TypeDescription
X509Parameters.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public X509Parameters.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
X509Parameters.Builder
Overrides

mergeKeyUsage(KeyUsage value)

public X509Parameters.Builder mergeKeyUsage(KeyUsage value)

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

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

Parameter
NameDescription
valueKeyUsage
Returns
TypeDescription
X509Parameters.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final X509Parameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
X509Parameters.Builder
Overrides

removeAdditionalExtensions(int index)

public X509Parameters.Builder removeAdditionalExtensions(int index)

Optional. Describes custom X.509 extensions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
X509Parameters.Builder

removePolicyIds(int index)

public X509Parameters.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.v1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
X509Parameters.Builder

setAdditionalExtensions(int index, X509Extension value)

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

Optional. Describes custom X.509 extensions.

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

Parameters
NameDescription
indexint
valueX509Extension
Returns
TypeDescription
X509Parameters.Builder

setAdditionalExtensions(int index, X509Extension.Builder builderForValue)

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

Optional. Describes custom X.509 extensions.

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

Parameters
NameDescription
indexint
builderForValueX509Extension.Builder
Returns
TypeDescription
X509Parameters.Builder

setAiaOcspServers(int index, String value)

public X509Parameters.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
X509Parameters.Builder

This builder for chaining.

setCaOptions(X509Parameters.CaOptions value)

public X509Parameters.Builder setCaOptions(X509Parameters.CaOptions value)

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

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

Parameter
NameDescription
valueX509Parameters.CaOptions
Returns
TypeDescription
X509Parameters.Builder

setCaOptions(X509Parameters.CaOptions.Builder builderForValue)

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

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

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

Parameter
NameDescription
builderForValueX509Parameters.CaOptions.Builder
Returns
TypeDescription
X509Parameters.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setKeyUsage(KeyUsage value)

public X509Parameters.Builder setKeyUsage(KeyUsage value)

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

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

Parameter
NameDescription
valueKeyUsage
Returns
TypeDescription
X509Parameters.Builder

setKeyUsage(KeyUsage.Builder builderForValue)

public X509Parameters.Builder setKeyUsage(KeyUsage.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueKeyUsage.Builder
Returns
TypeDescription
X509Parameters.Builder

setPolicyIds(int index, ObjectId value)

public X509Parameters.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.v1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
valueObjectId
Returns
TypeDescription
X509Parameters.Builder

setPolicyIds(int index, ObjectId.Builder builderForValue)

public X509Parameters.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.v1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
builderForValueObjectId.Builder
Returns
TypeDescription
X509Parameters.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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