- 2.57.0 (latest)
- 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 GeneratedMessageV3.Builder<CaPool.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CaPool.BuilderImplements
CaPoolOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CaPool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CaPool.Builder |
build()
public CaPool build()
Type | Description |
CaPool |
buildPartial()
public CaPool buildPartial()
Type | Description |
CaPool |
clear()
public CaPool.Builder clear()
Type | Description |
CaPool.Builder |
clearField(Descriptors.FieldDescriptor field)
public CaPool.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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];
Type | Description |
CaPool.Builder |
clearLabels()
public CaPool.Builder clearLabels()
Type | Description |
CaPool.Builder |
clearName()
public CaPool.Builder clearName()
Output only. The resource name for this
CaPool in the format
projects/*/locations/*/caPools/*
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
CaPool.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CaPool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CaPool.Builder |
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];
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];
Type | Description |
CaPool.Builder | This builder for chaining. |
clone()
public CaPool.Builder clone()
Type | Description |
CaPool.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Optional. Labels with user-defined metadata.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
boolean |
getDefaultInstanceForType()
public CaPool getDefaultInstanceForType()
Type | Description |
CaPool |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
Type | Description |
CaPool.IssuancePolicyOrBuilder |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
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];
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];
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];
Name | Description |
key | String |
defaultValue | String |
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];
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public 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];
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];
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];
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];
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];
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];
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];
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];
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];
Type | Description |
boolean | Whether the publishingOptions field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CaPool other)
public CaPool.Builder mergeFrom(CaPool other)
Name | Description |
other | CaPool |
Type | Description |
CaPool.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CaPool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CaPool.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CaPool.Builder mergeFrom(Message other)
Name | Description |
other | Message |
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];
Name | Description |
value | CaPool.IssuancePolicy |
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];
Name | Description |
value | CaPool.PublishingOptions |
Type | Description |
CaPool.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CaPool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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];
Name | Description |
values | Map<String,String> |
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];
Name | Description |
key | String |
value | String |
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];
Name | Description |
key | String |
Type | Description |
CaPool.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CaPool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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];
Name | Description |
value | CaPool.IssuancePolicy |
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];
Name | Description |
builderForValue | CaPool.IssuancePolicy.Builder |
Type | Description |
CaPool.Builder |
setName(String value)
public CaPool.Builder setName(String value)
Output only. The resource name for this
CaPool in the format
projects/*/locations/*/caPools/*
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
CaPool.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public CaPool.Builder setNameBytes(ByteString value)
Output only. The resource name for this
CaPool in the format
projects/*/locations/*/caPools/*
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
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];
Name | Description |
value | CaPool.PublishingOptions |
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];
Name | Description |
builderForValue | CaPool.PublishingOptions.Builder |
Type | Description |
CaPool.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CaPool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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];
Name | Description |
value | CaPool.Tier The tier to set. |
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];
Name | Description |
value | int The enum numeric value on the wire for tier to set. |
Type | Description |
CaPool.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CaPool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CaPool.Builder |