Class SubordinateConfig.Builder (2.46.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SubordinateConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubordinateConfig.Builder
Overrides

build()

public SubordinateConfig build()
Returns
Type Description
SubordinateConfig

buildPartial()

public SubordinateConfig buildPartial()
Returns
Type Description
SubordinateConfig

clear()

public SubordinateConfig.Builder clear()
Returns
Type Description
SubordinateConfig.Builder
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
Type Description
SubordinateConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SubordinateConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SubordinateConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SubordinateConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SubordinateConfig.Builder
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
Type Description
SubordinateConfig.Builder

clearSubordinateConfig()

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

clone()

public SubordinateConfig.Builder clone()
Returns
Type Description
SubordinateConfig.Builder
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
Type Description
SubordinateConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
SubordinateConfig.SubordinateConfigChain

The pemIssuerChain.

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

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

getSubordinateConfigCase()

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

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SubordinateConfig other)

public SubordinateConfig.Builder mergeFrom(SubordinateConfig other)
Parameter
Name Description
other SubordinateConfig
Returns
Type Description
SubordinateConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SubordinateConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubordinateConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SubordinateConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SubordinateConfig.Builder
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
Name Description
value SubordinateConfig.SubordinateConfigChain
Returns
Type Description
SubordinateConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubordinateConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubordinateConfig.Builder
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
Type Description
SubordinateConfig.Builder

This builder for chaining.

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

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SubordinateConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubordinateConfig.Builder
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
Name Description
value SubordinateConfig.SubordinateConfigChain
Returns
Type Description
SubordinateConfig.Builder

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
Name Description
builderForValue SubordinateConfig.SubordinateConfigChain.Builder
Returns
Type Description
SubordinateConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SubordinateConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SubordinateConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SubordinateConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubordinateConfig.Builder
Overrides