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
Static Fields
ISSUANCE_POLICY_FIELD_NUMBER
public static final int ISSUANCE_POLICY_FIELD_NUMBER
Field Value
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
PUBLISHING_OPTIONS_FIELD_NUMBER
public static final int PUBLISHING_OPTIONS_FIELD_NUMBER
Field Value
TIER_FIELD_NUMBER
public static final int TIER_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CaPool getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CaPool.Builder newBuilder()
Returns
newBuilder(CaPool prototype)
public static CaPool.Builder newBuilder(CaPool prototype)
Parameter
Name | Description |
prototype | CaPool
|
Returns
public static CaPool parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CaPool parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CaPool parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CaPool parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CaPool parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CaPool parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CaPool parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CaPool parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CaPool parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CaPool parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CaPool parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CaPool parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CaPool> parser()
Returns
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
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CaPool getDefaultInstanceForType()
Returns
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];
Returns
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];
Returns
getLabels()
public Map<String,String> getLabels()
Returns
getLabelsCount()
public int getLabelsCount()
Optional. Labels with user-defined metadata.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. Labels with user-defined metadata.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
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];
Parameters
Returns
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
Returns
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
getParserForType()
public Parser<CaPool> getParserForType()
Returns
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];
Returns
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];
Returns
getSerializedSize()
public int getSerializedSize()
Returns
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];
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CaPool.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CaPool.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CaPool.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions