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