Class SubordinateConfig.Builder (2.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SubordinateConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SubordinateConfig.Builder
Overrides

build()

public SubordinateConfig build()
Returns
TypeDescription
SubordinateConfig

buildPartial()

public SubordinateConfig buildPartial()
Returns
TypeDescription
SubordinateConfig

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SubordinateConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SubordinateConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SubordinateConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SubordinateConfig.Builder

clearSubordinateConfig()

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

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SubordinateConfig.SubordinateConfigChainOrBuilder

getSubordinateConfigCase()

public SubordinateConfig.SubordinateConfigCase getSubordinateConfigCase()
Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SubordinateConfig other)

public SubordinateConfig.Builder mergeFrom(SubordinateConfig other)
Parameter
NameDescription
otherSubordinateConfig
Returns
TypeDescription
SubordinateConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SubordinateConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubordinateConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SubordinateConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSubordinateConfig.SubordinateConfigChain
Returns
TypeDescription
SubordinateConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubordinateConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The certificateAuthority to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for certificateAuthority to set.

Returns
TypeDescription
SubordinateConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SubordinateConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSubordinateConfig.SubordinateConfigChain
Returns
TypeDescription
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
NameDescription
builderForValueSubordinateConfig.SubordinateConfigChain.Builder
Returns
TypeDescription
SubordinateConfig.Builder

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

public SubordinateConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SubordinateConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SubordinateConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SubordinateConfig.Builder
Overrides