Send feedback
Class CaPool (2.30.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.30.0keyboard_arrow_down
public final class CaPool extends GeneratedMessageV3 implements CaPoolOrBuilder
A CaPool represents a group of
CertificateAuthorities
that form a trust anchor. A
CaPool can be used to manage
issuance policies for one or more
CertificateAuthority
resources and to rotate CA certificates in and out of the trust anchor.
Protobuf type google.cloud.security.privateca.v1.CaPool
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
ISSUANCE_POLICY_FIELD_NUMBER
public static final int ISSUANCE_POLICY_FIELD_NUMBER
Field Value
Type
Description
int
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value
Type
Description
int
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
PUBLISHING_OPTIONS_FIELD_NUMBER
public static final int PUBLISHING_OPTIONS_FIELD_NUMBER
Field Value
Type
Description
int
TIER_FIELD_NUMBER
public static final int TIER_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static CaPool getDefaultInstance ()
Returns
Type
Description
CaPool
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static CaPool . Builder newBuilder ()
newBuilder(CaPool prototype)
public static CaPool . Builder newBuilder ( CaPool prototype )
Parameter
Name
Description
prototype
CaPool
public static CaPool parseDelimitedFrom ( InputStream input )
Returns
Type
Description
CaPool
public static CaPool parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
CaPool
parseFrom(byte[] data)
public static CaPool parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Type
Description
CaPool
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CaPool parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
CaPool
parseFrom(ByteString data)
public static CaPool parseFrom ( ByteString data )
Returns
Type
Description
CaPool
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CaPool parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
CaPool
public static CaPool parseFrom ( CodedInputStream input )
Returns
Type
Description
CaPool
public static CaPool parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
CaPool
public static CaPool parseFrom ( InputStream input )
Returns
Type
Description
CaPool
public static CaPool parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
CaPool
parseFrom(ByteBuffer data)
public static CaPool parseFrom ( ByteBuffer data )
Returns
Type
Description
CaPool
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CaPool parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
CaPool
parser()
public static Parser<CaPool> parser ()
Methods
containsLabels(String key)
public boolean containsLabels ( String key )
Optional. Labels with user-defined metadata.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
key
String
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public CaPool getDefaultInstanceForType ()
Returns
Type
Description
CaPool
getIssuancePolicy()
public CaPool . IssuancePolicy getIssuancePolicy ()
Optional. The
IssuancePolicy
to control how
Certificates will be
issued from this CaPool .
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy issuance_policy = 3 [(.google.api.field_behavior) = OPTIONAL];
getIssuancePolicyOrBuilder()
public CaPool . IssuancePolicyOrBuilder getIssuancePolicyOrBuilder ()
Optional. The
IssuancePolicy
to control how
Certificates will be
issued from this CaPool .
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy issuance_policy = 3 [(.google.api.field_behavior) = OPTIONAL];
getLabels()
public Map<String , String > getLabels ()
getLabelsCount()
public int getLabelsCount ()
Optional. Labels with user-defined metadata.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
getLabelsMap()
public Map<String , String > getLabelsMap ()
Optional. Labels with user-defined metadata.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault ( String key , String defaultValue )
Optional. Labels with user-defined metadata.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
getLabelsOrThrow(String key)
public String getLabelsOrThrow ( String key )
Optional. Labels with user-defined metadata.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
key
String
Returns
Type
Description
String
getName()
Output only. The resource name for this
CaPool in the format
projects/*/locations/*/caPools/*
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
String
The name.
getNameBytes()
public ByteString getNameBytes ()
Output only. The resource name for this
CaPool in the format
projects/*/locations/*/caPools/*
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
ByteString
The bytes for name.
getParserForType()
public Parser<CaPool> getParserForType ()
Overrides
getPublishingOptions()
public CaPool . PublishingOptions getPublishingOptions ()
Optional. The
PublishingOptions
to follow when issuing
Certificates from any
CertificateAuthority
in this CaPool .
.google.cloud.security.privateca.v1.CaPool.PublishingOptions publishing_options = 4 [(.google.api.field_behavior) = OPTIONAL];
getPublishingOptionsOrBuilder()
public CaPool . PublishingOptionsOrBuilder getPublishingOptionsOrBuilder ()
Optional. The
PublishingOptions
to follow when issuing
Certificates from any
CertificateAuthority
in this CaPool .
.google.cloud.security.privateca.v1.CaPool.PublishingOptions publishing_options = 4 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getTier()
public CaPool . Tier getTier ()
Required. Immutable. The
Tier of this
CaPool .
.google.cloud.security.privateca.v1.CaPool.Tier tier = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getTierValue()
public int getTierValue ()
Required. Immutable. The
Tier of this
CaPool .
.google.cloud.security.privateca.v1.CaPool.Tier tier = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns
Type
Description
int
The enum numeric value on the wire for tier.
hasIssuancePolicy()
public boolean hasIssuancePolicy ()
Optional. The
IssuancePolicy
to control how
Certificates will be
issued from this CaPool .
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy issuance_policy = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the issuancePolicy field is set.
hasPublishingOptions()
public boolean hasPublishingOptions ()
Optional. The
PublishingOptions
to follow when issuing
Certificates from any
CertificateAuthority
in this CaPool .
.google.cloud.security.privateca.v1.CaPool.PublishingOptions publishing_options = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the publishingOptions field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField ( int number )
Parameter
Name
Description
number
int
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public CaPool . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CaPool . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public CaPool . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-18 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-18 UTC."],[],[]]