Class CaPool.IssuancePolicy.AllowedKeyType.Builder (2.10.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CaPool.IssuancePolicy.AllowedKeyType build()
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType

buildPartial()

public CaPool.IssuancePolicy.AllowedKeyType buildPartial()
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CaPool.IssuancePolicy.AllowedKeyType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.Builder
Overrides

clearKeyType()

public CaPool.IssuancePolicy.AllowedKeyType.Builder clearKeyType()
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CaPool.IssuancePolicy.AllowedKeyType.Builder clone()
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.Builder
Overrides

getDefaultInstanceForType()

public CaPool.IssuancePolicy.AllowedKeyType getDefaultInstanceForType()
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.EcKeyTypeOrBuilder

getKeyTypeCase()

public CaPool.IssuancePolicy.AllowedKeyType.KeyTypeCase getKeyTypeCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the rsa field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCaPool.IssuancePolicy.AllowedKeyType.EcKeyType
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.Builder

mergeFrom(CaPool.IssuancePolicy.AllowedKeyType other)

public CaPool.IssuancePolicy.AllowedKeyType.Builder mergeFrom(CaPool.IssuancePolicy.AllowedKeyType other)
Parameter
NameDescription
otherCaPool.IssuancePolicy.AllowedKeyType
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CaPool.IssuancePolicy.AllowedKeyType.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueCaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CaPool.IssuancePolicy.AllowedKeyType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCaPool.IssuancePolicy.AllowedKeyType.EcKeyType
Returns
TypeDescription
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
NameDescription
builderForValueCaPool.IssuancePolicy.AllowedKeyType.EcKeyType.Builder
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CaPool.IssuancePolicy.AllowedKeyType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueCaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Returns
TypeDescription
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
NameDescription
builderForValueCaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CaPool.IssuancePolicy.AllowedKeyType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.Builder
Overrides