public final class SubordinateConfig extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
Static Fields
CERTIFICATE_AUTHORITY_FIELD_NUMBER
public static final int CERTIFICATE_AUTHORITY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PEM_ISSUER_CHAIN_FIELD_NUMBER
public static final int PEM_ISSUER_CHAIN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SubordinateConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SubordinateConfig.Builder newBuilder()
newBuilder(SubordinateConfig prototype)
public static SubordinateConfig.Builder newBuilder(SubordinateConfig prototype)
public static SubordinateConfig parseDelimitedFrom(InputStream input)
public static SubordinateConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SubordinateConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SubordinateConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SubordinateConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SubordinateConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SubordinateConfig parseFrom(CodedInputStream input)
public static SubordinateConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SubordinateConfig parseFrom(InputStream input)
public static SubordinateConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SubordinateConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SubordinateConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SubordinateConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
getParserForType()
public Parser<SubordinateConfig> getParserForType()
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];
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];
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSubordinateConfigCase()
public SubordinateConfig.SubordinateConfigCase getSubordinateConfigCase()
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SubordinateConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SubordinateConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SubordinateConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides