public static final class SubordinateConfig.Builder extends GeneratedMessageV3.Builder<SubordinateConfig.Builder> implements SubordinateConfigOrBuilder
Describes a subordinate CA's issuers. This is either a resource name to a
known issuing CertificateAuthority, or a PEM issuer certificate chain.
Protobuf type google.cloud.security.privateca.v1.SubordinateConfig
Inherited Members
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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SubordinateConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SubordinateConfig build()
Returns
buildPartial()
public SubordinateConfig buildPartial()
Returns
clear()
public SubordinateConfig.Builder clear()
Returns
Overrides
clearCertificateAuthority()
public SubordinateConfig.Builder clearCertificateAuthority()
Required. This can refer to a CertificateAuthority that was used to create a
subordinate CertificateAuthority. This field is used for information
and usability purposes only. The resource name is in the format
projects/*/locations/*/caPools/*/certificateAuthorities/*
.
string certificate_authority = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearField(Descriptors.FieldDescriptor field)
public SubordinateConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SubordinateConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPemIssuerChain()
public SubordinateConfig.Builder clearPemIssuerChain()
Required. Contains the PEM certificate chain for the issuers of this
CertificateAuthority, but not pem certificate for this CA itself.
.google.cloud.security.privateca.v1.SubordinateConfig.SubordinateConfigChain pem_issuer_chain = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearSubordinateConfig()
public SubordinateConfig.Builder clearSubordinateConfig()
Returns
clone()
public SubordinateConfig.Builder clone()
Returns
Overrides
getCertificateAuthority()
public String getCertificateAuthority()
Required. This can refer to a CertificateAuthority that was used to create a
subordinate CertificateAuthority. This field is used for information
and usability purposes only. The resource name is in the format
projects/*/locations/*/caPools/*/certificateAuthorities/*
.
string certificate_authority = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The certificateAuthority.
|
getCertificateAuthorityBytes()
public ByteString getCertificateAuthorityBytes()
Required. This can refer to a CertificateAuthority that was used to create a
subordinate CertificateAuthority. This field is used for information
and usability purposes only. The resource name is in the format
projects/*/locations/*/caPools/*/certificateAuthorities/*
.
string certificate_authority = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
ByteString | The bytes for certificateAuthority.
|
getDefaultInstanceForType()
public SubordinateConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPemIssuerChain()
public SubordinateConfig.SubordinateConfigChain getPemIssuerChain()
Required. Contains the PEM certificate chain for the issuers of this
CertificateAuthority, but not pem certificate for this CA itself.
.google.cloud.security.privateca.v1.SubordinateConfig.SubordinateConfigChain pem_issuer_chain = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getPemIssuerChainBuilder()
public SubordinateConfig.SubordinateConfigChain.Builder getPemIssuerChainBuilder()
Required. Contains the PEM certificate chain for the issuers of this
CertificateAuthority, but not pem certificate for this CA itself.
.google.cloud.security.privateca.v1.SubordinateConfig.SubordinateConfigChain pem_issuer_chain = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getPemIssuerChainOrBuilder()
public SubordinateConfig.SubordinateConfigChainOrBuilder getPemIssuerChainOrBuilder()
Required. Contains the PEM certificate chain for the issuers of this
CertificateAuthority, but not pem certificate for this CA itself.
.google.cloud.security.privateca.v1.SubordinateConfig.SubordinateConfigChain pem_issuer_chain = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getSubordinateConfigCase()
public SubordinateConfig.SubordinateConfigCase getSubordinateConfigCase()
Returns
hasCertificateAuthority()
public boolean hasCertificateAuthority()
Required. This can refer to a CertificateAuthority that was used to create a
subordinate CertificateAuthority. This field is used for information
and usability purposes only. The resource name is in the format
projects/*/locations/*/caPools/*/certificateAuthorities/*
.
string certificate_authority = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
boolean | Whether the certificateAuthority field is set.
|
hasPemIssuerChain()
public boolean hasPemIssuerChain()
Required. Contains the PEM certificate chain for the issuers of this
CertificateAuthority, but not pem certificate for this CA itself.
.google.cloud.security.privateca.v1.SubordinateConfig.SubordinateConfigChain pem_issuer_chain = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the pemIssuerChain field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SubordinateConfig other)
public SubordinateConfig.Builder mergeFrom(SubordinateConfig other)
Parameter
Returns
public SubordinateConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SubordinateConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergePemIssuerChain(SubordinateConfig.SubordinateConfigChain value)
public SubordinateConfig.Builder mergePemIssuerChain(SubordinateConfig.SubordinateConfigChain value)
Required. Contains the PEM certificate chain for the issuers of this
CertificateAuthority, but not pem certificate for this CA itself.
.google.cloud.security.privateca.v1.SubordinateConfig.SubordinateConfigChain pem_issuer_chain = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubordinateConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCertificateAuthority(String value)
public SubordinateConfig.Builder setCertificateAuthority(String value)
Required. This can refer to a CertificateAuthority that was used to create a
subordinate CertificateAuthority. This field is used for information
and usability purposes only. The resource name is in the format
projects/*/locations/*/caPools/*/certificateAuthorities/*
.
string certificate_authority = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The certificateAuthority to set.
|
Returns
setCertificateAuthorityBytes(ByteString value)
public SubordinateConfig.Builder setCertificateAuthorityBytes(ByteString value)
Required. This can refer to a CertificateAuthority that was used to create a
subordinate CertificateAuthority. This field is used for information
and usability purposes only. The resource name is in the format
projects/*/locations/*/caPools/*/certificateAuthorities/*
.
string certificate_authority = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for certificateAuthority to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SubordinateConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPemIssuerChain(SubordinateConfig.SubordinateConfigChain value)
public SubordinateConfig.Builder setPemIssuerChain(SubordinateConfig.SubordinateConfigChain value)
Required. Contains the PEM certificate chain for the issuers of this
CertificateAuthority, but not pem certificate for this CA itself.
.google.cloud.security.privateca.v1.SubordinateConfig.SubordinateConfigChain pem_issuer_chain = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setPemIssuerChain(SubordinateConfig.SubordinateConfigChain.Builder builderForValue)
public SubordinateConfig.Builder setPemIssuerChain(SubordinateConfig.SubordinateConfigChain.Builder builderForValue)
Required. Contains the PEM certificate chain for the issuers of this
CertificateAuthority, but not pem certificate for this CA itself.
.google.cloud.security.privateca.v1.SubordinateConfig.SubordinateConfigChain pem_issuer_chain = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubordinateConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SubordinateConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides