- 2.85.0 (latest)
- 2.84.0
- 2.82.0
- 2.80.0
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.72.0
- 2.70.0
- 2.69.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.0
- 2.3.0
- 2.2.5
public static final class CaPool.Builder extends GeneratedMessage.Builder<CaPool.Builder> implements CaPoolOrBuilderA 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CaPool.BuilderImplements
CaPoolOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CaPool build()| Returns | |
|---|---|
| Type | Description |
CaPool |
|
buildPartial()
public CaPool buildPartial()| Returns | |
|---|---|
| Type | Description |
CaPool |
|
clear()
public CaPool.Builder clear()| Returns | |
|---|---|
| Type | Description |
CaPool.Builder |
|
clearIssuancePolicy()
public CaPool.Builder clearIssuancePolicy()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 |
CaPool.Builder |
|
clearLabels()
public CaPool.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
CaPool.Builder |
|
clearName()
public CaPool.Builder clearName() Identifier. The resource name for this
CaPool in the format
projects/*/locations/*/caPools/*.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
CaPool.Builder |
This builder for chaining. |
clearPublishingOptions()
public CaPool.Builder clearPublishingOptions()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 |
CaPool.Builder |
|
clearTier()
public CaPool.Builder clearTier()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 |
CaPool.Builder |
This builder for chaining. |
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 |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public CaPool getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CaPool |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
CaPool.IssuancePolicy |
The issuancePolicy. |
getIssuancePolicyBuilder()
public CaPool.IssuancePolicy.Builder getIssuancePolicyBuilder()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 |
CaPool.IssuancePolicy.Builder |
|
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 | |
|---|---|
| Type | Description |
CaPool.IssuancePolicyOrBuilder |
|
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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 | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| 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 |
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public String getName() Identifier. The resource name for this
CaPool in the format
projects/*/locations/*/caPools/*.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The resource name for this
CaPool in the format
projects/*/locations/*/caPools/*.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
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 | |
|---|---|
| Type | Description |
CaPool.PublishingOptions |
The publishingOptions. |
getPublishingOptionsBuilder()
public CaPool.PublishingOptions.Builder getPublishingOptionsBuilder()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 |
CaPool.PublishingOptions.Builder |
|
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 | |
|---|---|
| Type | Description |
CaPool.PublishingOptionsOrBuilder |
|
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 | |
|---|---|
| Type | Description |
CaPool.Tier |
The tier. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CaPool other)
public CaPool.Builder mergeFrom(CaPool other)| Parameter | |
|---|---|
| Name | Description |
other |
CaPool |
| Returns | |
|---|---|
| Type | Description |
CaPool.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CaPool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CaPool.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CaPool.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CaPool.Builder |
|
mergeIssuancePolicy(CaPool.IssuancePolicy value)
public CaPool.Builder mergeIssuancePolicy(CaPool.IssuancePolicy value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
CaPool.IssuancePolicy |
| Returns | |
|---|---|
| Type | Description |
CaPool.Builder |
|
mergePublishingOptions(CaPool.PublishingOptions value)
public CaPool.Builder mergePublishingOptions(CaPool.PublishingOptions value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
CaPool.PublishingOptions |
| Returns | |
|---|---|
| Type | Description |
CaPool.Builder |
|
putAllLabels(Map<String,String> values)
public CaPool.Builder putAllLabels(Map<String,String> values)Optional. Labels with user-defined metadata.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
CaPool.Builder |
|
putLabels(String key, String value)
public CaPool.Builder putLabels(String key, String value)Optional. Labels with user-defined metadata.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
CaPool.Builder |
|
removeLabels(String key)
public CaPool.Builder removeLabels(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 |
CaPool.Builder |
|
setIssuancePolicy(CaPool.IssuancePolicy value)
public CaPool.Builder setIssuancePolicy(CaPool.IssuancePolicy value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
CaPool.IssuancePolicy |
| Returns | |
|---|---|
| Type | Description |
CaPool.Builder |
|
setIssuancePolicy(CaPool.IssuancePolicy.Builder builderForValue)
public CaPool.Builder setIssuancePolicy(CaPool.IssuancePolicy.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CaPool.IssuancePolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
CaPool.Builder |
|
setName(String value)
public CaPool.Builder setName(String value) Identifier. The resource name for this
CaPool in the format
projects/*/locations/*/caPools/*.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
CaPool.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public CaPool.Builder setNameBytes(ByteString value) Identifier. The resource name for this
CaPool in the format
projects/*/locations/*/caPools/*.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
CaPool.Builder |
This builder for chaining. |
setPublishingOptions(CaPool.PublishingOptions value)
public CaPool.Builder setPublishingOptions(CaPool.PublishingOptions value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
CaPool.PublishingOptions |
| Returns | |
|---|---|
| Type | Description |
CaPool.Builder |
|
setPublishingOptions(CaPool.PublishingOptions.Builder builderForValue)
public CaPool.Builder setPublishingOptions(CaPool.PublishingOptions.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CaPool.PublishingOptions.Builder |
| Returns | |
|---|---|
| Type | Description |
CaPool.Builder |
|
setTier(CaPool.Tier value)
public CaPool.Builder setTier(CaPool.Tier value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
CaPool.TierThe tier to set. |
| Returns | |
|---|---|
| Type | Description |
CaPool.Builder |
This builder for chaining. |
setTierValue(int value)
public CaPool.Builder setTierValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for tier to set. |
| Returns | |
|---|---|
| Type | Description |
CaPool.Builder |
This builder for chaining. |