Class CaPool.IssuancePolicy.AllowedKeyType.Builder (2.29.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public CaPool.IssuancePolicy.AllowedKeyType build()

buildPartial()

public CaPool.IssuancePolicy.AllowedKeyType buildPartial()

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKeyType()

public CaPool.IssuancePolicy.AllowedKeyType.Builder clearKeyType()

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CaPool.IssuancePolicy.AllowedKeyType getDefaultInstanceForType()

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;

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;

getKeyTypeCase()

public CaPool.IssuancePolicy.AllowedKeyType.KeyTypeCase getKeyTypeCase()

getRsa()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType getRsa()

Represents an allowed RSA key type.

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

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;

getRsaOrBuilder()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyTypeOrBuilder getRsaOrBuilder()

Represents an allowed RSA key type.

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

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;

mergeFrom(CaPool.IssuancePolicy.AllowedKeyType other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CaPool.IssuancePolicy.AllowedKeyType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
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;

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

setField(Descriptors.FieldDescriptor field, Object value)

public CaPool.IssuancePolicy.AllowedKeyType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
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;

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

setUnknownFields(UnknownFieldSet unknownFields)

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