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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SubordinateConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SubordinateConfig build()
buildPartial()
public SubordinateConfig buildPartial()
clear()
public SubordinateConfig.Builder clear()
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) = { ... }
clearField(Descriptors.FieldDescriptor field)
public SubordinateConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SubordinateConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clearSubordinateConfig()
public SubordinateConfig.Builder clearSubordinateConfig()
clone()
public SubordinateConfig.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
getSubordinateConfigCase()
public SubordinateConfig.SubordinateConfigCase getSubordinateConfigCase()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SubordinateConfig other)
public SubordinateConfig.Builder mergeFrom(SubordinateConfig other)
public SubordinateConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SubordinateConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubordinateConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SubordinateConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubordinateConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SubordinateConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides