Class CaPool.IssuancePolicy.AllowedKeyType.Builder (2.50.0)

public static final class CaPool.IssuancePolicy.AllowedKeyType.Builder extends GeneratedMessageV3.Builder<CaPool.IssuancePolicy.AllowedKeyType.Builder> implements CaPool.IssuancePolicy.AllowedKeyTypeOrBuilder

Describes a "type" of key that may be used in a Certificate issued from a CaPool. Note that a single AllowedKeyType may refer to either a fully-qualified key algorithm, such as RSA 4096, or a family of key algorithms, such as any RSA key.

Protobuf type google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CaPool.IssuancePolicy.AllowedKeyType build()
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType

buildPartial()

public CaPool.IssuancePolicy.AllowedKeyType buildPartial()
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType

clear()

public CaPool.IssuancePolicy.AllowedKeyType.Builder clear()
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.Builder
Overrides

clearEllipticCurve()

public CaPool.IssuancePolicy.AllowedKeyType.Builder clearEllipticCurve()

Represents an allowed Elliptic Curve key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;

Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.Builder

clearField(Descriptors.FieldDescriptor field)

public CaPool.IssuancePolicy.AllowedKeyType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.Builder
Overrides

clearKeyType()

public CaPool.IssuancePolicy.AllowedKeyType.Builder clearKeyType()
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CaPool.IssuancePolicy.AllowedKeyType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.Builder
Overrides

clearRsa()

public CaPool.IssuancePolicy.AllowedKeyType.Builder clearRsa()

Represents an allowed RSA key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;

Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.Builder

clone()

public CaPool.IssuancePolicy.AllowedKeyType.Builder clone()
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.Builder
Overrides

getDefaultInstanceForType()

public CaPool.IssuancePolicy.AllowedKeyType getDefaultInstanceForType()
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType

getDescriptorForType()

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

getEllipticCurve()

public CaPool.IssuancePolicy.AllowedKeyType.EcKeyType getEllipticCurve()

Represents an allowed Elliptic Curve key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;

Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.EcKeyType

The ellipticCurve.

getEllipticCurveBuilder()

public CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.Builder getEllipticCurveBuilder()

Represents an allowed Elliptic Curve key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;

Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.Builder

getEllipticCurveOrBuilder()

public CaPool.IssuancePolicy.AllowedKeyType.EcKeyTypeOrBuilder getEllipticCurveOrBuilder()

Represents an allowed Elliptic Curve key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;

Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.EcKeyTypeOrBuilder

getKeyTypeCase()

public CaPool.IssuancePolicy.AllowedKeyType.KeyTypeCase getKeyTypeCase()
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.KeyTypeCase

getRsa()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType getRsa()

Represents an allowed RSA key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;

Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType

The rsa.

getRsaBuilder()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder getRsaBuilder()

Represents an allowed RSA key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;

Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder

getRsaOrBuilder()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyTypeOrBuilder getRsaOrBuilder()

Represents an allowed RSA key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;

Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyTypeOrBuilder

hasEllipticCurve()

public boolean hasEllipticCurve()

Represents an allowed Elliptic Curve key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;

Returns
Type Description
boolean

Whether the ellipticCurve field is set.

hasRsa()

public boolean hasRsa()

Represents an allowed RSA key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;

Returns
Type Description
boolean

Whether the rsa field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEllipticCurve(CaPool.IssuancePolicy.AllowedKeyType.EcKeyType value)

public CaPool.IssuancePolicy.AllowedKeyType.Builder mergeEllipticCurve(CaPool.IssuancePolicy.AllowedKeyType.EcKeyType value)

Represents an allowed Elliptic Curve key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;

Parameter
Name Description
value CaPool.IssuancePolicy.AllowedKeyType.EcKeyType
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.Builder

mergeFrom(CaPool.IssuancePolicy.AllowedKeyType other)

public CaPool.IssuancePolicy.AllowedKeyType.Builder mergeFrom(CaPool.IssuancePolicy.AllowedKeyType other)
Parameter
Name Description
other CaPool.IssuancePolicy.AllowedKeyType
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CaPool.IssuancePolicy.AllowedKeyType.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.Builder
Overrides

mergeRsa(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType value)

public CaPool.IssuancePolicy.AllowedKeyType.Builder mergeRsa(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType value)

Represents an allowed RSA key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;

Parameter
Name Description
value CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CaPool.IssuancePolicy.AllowedKeyType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.Builder
Overrides

setEllipticCurve(CaPool.IssuancePolicy.AllowedKeyType.EcKeyType value)

public CaPool.IssuancePolicy.AllowedKeyType.Builder setEllipticCurve(CaPool.IssuancePolicy.AllowedKeyType.EcKeyType value)

Represents an allowed Elliptic Curve key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;

Parameter
Name Description
value CaPool.IssuancePolicy.AllowedKeyType.EcKeyType
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.Builder

setEllipticCurve(CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.Builder builderForValue)

public CaPool.IssuancePolicy.AllowedKeyType.Builder setEllipticCurve(CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.Builder builderForValue)

Represents an allowed Elliptic Curve key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;

Parameter
Name Description
builderForValue CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.Builder
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRsa(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType value)

public CaPool.IssuancePolicy.AllowedKeyType.Builder setRsa(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType value)

Represents an allowed RSA key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;

Parameter
Name Description
value CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.Builder

setRsa(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder builderForValue)

public CaPool.IssuancePolicy.AllowedKeyType.Builder setRsa(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder builderForValue)

Represents an allowed RSA key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;

Parameter
Name Description
builderForValue CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CaPool.IssuancePolicy.AllowedKeyType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.Builder
Overrides