Class SubordinateConfig (2.49.0)

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

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()
Returns
Type Description
SubordinateConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SubordinateConfig.Builder newBuilder()
Returns
Type Description
SubordinateConfig.Builder

newBuilder(SubordinateConfig prototype)

public static SubordinateConfig.Builder newBuilder(SubordinateConfig prototype)
Parameter
Name Description
prototype SubordinateConfig
Returns
Type Description
SubordinateConfig.Builder

parseDelimitedFrom(InputStream input)

public static SubordinateConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SubordinateConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SubordinateConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubordinateConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SubordinateConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SubordinateConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SubordinateConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubordinateConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SubordinateConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SubordinateConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SubordinateConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubordinateConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SubordinateConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SubordinateConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SubordinateConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubordinateConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SubordinateConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SubordinateConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SubordinateConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubordinateConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SubordinateConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SubordinateConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SubordinateConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubordinateConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SubordinateConfig> parser()
Returns
Type Description
Parser<SubordinateConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
SubordinateConfig

getParserForType()

public Parser<SubordinateConfig> getParserForType()
Returns
Type Description
Parser<SubordinateConfig>
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
Type Description
SubordinateConfig.SubordinateConfigChain

The pemIssuerChain.

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
Type Description
SubordinateConfig.SubordinateConfigChainOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubordinateConfigCase()

public SubordinateConfig.SubordinateConfigCase getSubordinateConfigCase()
Returns
Type Description
SubordinateConfig.SubordinateConfigCase

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SubordinateConfig.Builder newBuilderForType()
Returns
Type Description
SubordinateConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SubordinateConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SubordinateConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SubordinateConfig.Builder toBuilder()
Returns
Type Description
SubordinateConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException