Send feedback
Class SubordinateConfig.Builder (2.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.4.0 keyboard_arrow_down
public static final class SubordinateConfig . Builder extends GeneratedMessageV3 . Builder<SubordinateConfig . Builder > 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 Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SubordinateConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public SubordinateConfig build ()
Returns
buildPartial()
public SubordinateConfig buildPartial ()
Returns
clear()
public SubordinateConfig . Builder clear ()
Returns
Overrides
clearCertificateAuthority()
public SubordinateConfig . Builder clearCertificateAuthority ()
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
clearField(Descriptors.FieldDescriptor field)
public SubordinateConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SubordinateConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
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.v1beta1.SubordinateConfig.SubordinateConfigChain pem_issuer_chain = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearSubordinateConfig()
public SubordinateConfig . Builder clearSubordinateConfig ()
Returns
clone()
public SubordinateConfig . Builder clone ()
Returns
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
Type Description 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
Type Description ByteString The bytes for certificateAuthority.
getDefaultInstanceForType()
public SubordinateConfig getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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.v1beta1.SubordinateConfig.SubordinateConfigChain pem_issuer_chain = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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.v1beta1.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.v1beta1.SubordinateConfig.SubordinateConfigChain pem_issuer_chain = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getSubordinateConfigCase()
public SubordinateConfig . SubordinateConfigCase getSubordinateConfigCase ()
Returns
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
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.v1beta1.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 ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(SubordinateConfig other)
public SubordinateConfig . Builder mergeFrom ( SubordinateConfig other )
Parameter
Returns
public SubordinateConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SubordinateConfig . Builder mergeFrom ( Message other )
Parameter
Returns
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.v1beta1.SubordinateConfig.SubordinateConfigChain pem_issuer_chain = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubordinateConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setCertificateAuthority(String value)
public SubordinateConfig . Builder setCertificateAuthority ( String value )
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];
Parameter
Name Description value String
The certificateAuthority to set.
Returns
setCertificateAuthorityBytes(ByteString value)
public SubordinateConfig . Builder setCertificateAuthorityBytes ( ByteString value )
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];
Parameter
Name Description value ByteString
The bytes for certificateAuthority to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SubordinateConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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.v1beta1.SubordinateConfig.SubordinateConfigChain pem_issuer_chain = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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.v1beta1.SubordinateConfig.SubordinateConfigChain pem_issuer_chain = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubordinateConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SubordinateConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]