Class SubordinateConfig (2.15.0)

public final class SubordinateConfig extends GeneratedMessageV3 implements SubordinateConfigOrBuilder

Describes a subordinate CA's issuers. This is either a resource path to a known issuing CertificateAuthority, or a PEM issuer certificate chain.

Protobuf type google.cloud.security.privateca.v1beta1.SubordinateConfig

Static Fields

CERTIFICATE_AUTHORITY_FIELD_NUMBER

public static final int CERTIFICATE_AUTHORITY_FIELD_NUMBER
Field Value
TypeDescription
int

PEM_ISSUER_CHAIN_FIELD_NUMBER

public static final int PEM_ISSUER_CHAIN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SubordinateConfig getDefaultInstance()
Returns
TypeDescription
SubordinateConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SubordinateConfig.Builder newBuilder()
Returns
TypeDescription
SubordinateConfig.Builder

newBuilder(SubordinateConfig prototype)

public static SubordinateConfig.Builder newBuilder(SubordinateConfig prototype)
Parameter
NameDescription
prototypeSubordinateConfig
Returns
TypeDescription
SubordinateConfig.Builder

parseDelimitedFrom(InputStream input)

public static SubordinateConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SubordinateConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SubordinateConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubordinateConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SubordinateConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SubordinateConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SubordinateConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubordinateConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SubordinateConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SubordinateConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SubordinateConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubordinateConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SubordinateConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SubordinateConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SubordinateConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubordinateConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SubordinateConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SubordinateConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SubordinateConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubordinateConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SubordinateConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SubordinateConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SubordinateConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubordinateConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SubordinateConfig> parser()
Returns
TypeDescription
Parser<SubordinateConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCertificateAuthority()

public String getCertificateAuthority()

Required. This can refer to a CertificateAuthority in the same project 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/*/certificateAuthorities/*.

string certificate_authority = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The certificateAuthority.

getCertificateAuthorityBytes()

public ByteString getCertificateAuthorityBytes()

Required. This can refer to a CertificateAuthority in the same project 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/*/certificateAuthorities/*.

string certificate_authority = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for certificateAuthority.

getDefaultInstanceForType()

public SubordinateConfig getDefaultInstanceForType()
Returns
TypeDescription
SubordinateConfig

getParserForType()

public Parser<SubordinateConfig> getParserForType()
Returns
TypeDescription
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.v1beta1.SubordinateConfig.SubordinateConfigChain pem_issuer_chain = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1beta1.SubordinateConfig.SubordinateConfigChain pem_issuer_chain = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SubordinateConfig.SubordinateConfigChainOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSubordinateConfigCase()

public SubordinateConfig.SubordinateConfigCase getSubordinateConfigCase()
Returns
TypeDescription
SubordinateConfig.SubordinateConfigCase

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasCertificateAuthority()

public boolean hasCertificateAuthority()

Required. This can refer to a CertificateAuthority in the same project 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/*/certificateAuthorities/*.

string certificate_authority = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1beta1.SubordinateConfig.SubordinateConfigChain pem_issuer_chain = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the pemIssuerChain field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SubordinateConfig.Builder newBuilderForType()
Returns
TypeDescription
SubordinateConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SubordinateConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SubordinateConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SubordinateConfig.Builder toBuilder()
Returns
TypeDescription
SubordinateConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException