Class ReusableConfigValues.CaOptions.Builder (2.14.0)

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

Describes values that are relevant in a CA certificate.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReusableConfigValues.CaOptions build()
Returns
TypeDescription
ReusableConfigValues.CaOptions

buildPartial()

public ReusableConfigValues.CaOptions buildPartial()
Returns
TypeDescription
ReusableConfigValues.CaOptions

clear()

public ReusableConfigValues.CaOptions.Builder clear()
Returns
TypeDescription
ReusableConfigValues.CaOptions.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearIsCa()

public ReusableConfigValues.CaOptions.Builder clearIsCa()

Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.

.google.protobuf.BoolValue is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ReusableConfigValues.CaOptions.Builder

clearMaxIssuerPathLength()

public ReusableConfigValues.CaOptions.Builder clearMaxIssuerPathLength()

Optional. Refers to the path length restriction X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the CA certificate.

.google.protobuf.Int32Value max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ReusableConfigValues.CaOptions.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ReusableConfigValues.CaOptions.Builder clone()
Returns
TypeDescription
ReusableConfigValues.CaOptions.Builder
Overrides

getDefaultInstanceForType()

public ReusableConfigValues.CaOptions getDefaultInstanceForType()
Returns
TypeDescription
ReusableConfigValues.CaOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIsCa()

public BoolValue getIsCa()

Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.

.google.protobuf.BoolValue is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
BoolValue

The isCa.

getIsCaBuilder()

public BoolValue.Builder getIsCaBuilder()

Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.

.google.protobuf.BoolValue is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Builder

getIsCaOrBuilder()

public BoolValueOrBuilder getIsCaOrBuilder()

Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.

.google.protobuf.BoolValue is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
BoolValueOrBuilder

getMaxIssuerPathLength()

public Int32Value getMaxIssuerPathLength()

Optional. Refers to the path length restriction X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the CA certificate.

.google.protobuf.Int32Value max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Int32Value

The maxIssuerPathLength.

getMaxIssuerPathLengthBuilder()

public Int32Value.Builder getMaxIssuerPathLengthBuilder()

Optional. Refers to the path length restriction X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the CA certificate.

.google.protobuf.Int32Value max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Builder

getMaxIssuerPathLengthOrBuilder()

public Int32ValueOrBuilder getMaxIssuerPathLengthOrBuilder()

Optional. Refers to the path length restriction X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the CA certificate.

.google.protobuf.Int32Value max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Int32ValueOrBuilder

hasIsCa()

public boolean hasIsCa()

Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.

.google.protobuf.BoolValue is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the isCa field is set.

hasMaxIssuerPathLength()

public boolean hasMaxIssuerPathLength()

Optional. Refers to the path length restriction X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the CA certificate.

.google.protobuf.Int32Value max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the maxIssuerPathLength field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReusableConfigValues.CaOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIsCa(BoolValue value)

public ReusableConfigValues.CaOptions.Builder mergeIsCa(BoolValue value)

Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.

.google.protobuf.BoolValue is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueBoolValue
Returns
TypeDescription
ReusableConfigValues.CaOptions.Builder

mergeMaxIssuerPathLength(Int32Value value)

public ReusableConfigValues.CaOptions.Builder mergeMaxIssuerPathLength(Int32Value value)

Optional. Refers to the path length restriction X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the CA certificate.

.google.protobuf.Int32Value max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueInt32Value
Returns
TypeDescription
ReusableConfigValues.CaOptions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setIsCa(BoolValue value)

public ReusableConfigValues.CaOptions.Builder setIsCa(BoolValue value)

Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.

.google.protobuf.BoolValue is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueBoolValue
Returns
TypeDescription
ReusableConfigValues.CaOptions.Builder

setIsCa(BoolValue.Builder builderForValue)

public ReusableConfigValues.CaOptions.Builder setIsCa(BoolValue.Builder builderForValue)

Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.

.google.protobuf.BoolValue is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ReusableConfigValues.CaOptions.Builder

setMaxIssuerPathLength(Int32Value value)

public ReusableConfigValues.CaOptions.Builder setMaxIssuerPathLength(Int32Value value)

Optional. Refers to the path length restriction X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the CA certificate.

.google.protobuf.Int32Value max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueInt32Value
Returns
TypeDescription
ReusableConfigValues.CaOptions.Builder

setMaxIssuerPathLength(Int32Value.Builder builderForValue)

public ReusableConfigValues.CaOptions.Builder setMaxIssuerPathLength(Int32Value.Builder builderForValue)

Optional. Refers to the path length restriction X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the CA certificate.

.google.protobuf.Int32Value max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ReusableConfigValues.CaOptions.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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