Class TrustConfig.CertificateAuthorityServiceConfig.Builder (0.39.0)

public static final class TrustConfig.CertificateAuthorityServiceConfig.Builder extends GeneratedMessage.Builder<TrustConfig.CertificateAuthorityServiceConfig.Builder> implements TrustConfig.CertificateAuthorityServiceConfigOrBuilder

A configuration for the Google Certificate Authority Service.

Protobuf type google.cloud.managedkafka.v1.TrustConfig.CertificateAuthorityServiceConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public TrustConfig.CertificateAuthorityServiceConfig build()
Returns
Type Description
TrustConfig.CertificateAuthorityServiceConfig

buildPartial()

public TrustConfig.CertificateAuthorityServiceConfig buildPartial()
Returns
Type Description
TrustConfig.CertificateAuthorityServiceConfig

clear()

public TrustConfig.CertificateAuthorityServiceConfig.Builder clear()
Returns
Type Description
TrustConfig.CertificateAuthorityServiceConfig.Builder
Overrides

clearCaPool()

public TrustConfig.CertificateAuthorityServiceConfig.Builder clearCaPool()

Required. The name of the CA pool to pull CA certificates from. Structured like: projects/{project}/locations/{location}/caPools/{ca_pool}. The CA pool does not need to be in the same project or location as the Kafka cluster.

string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
TrustConfig.CertificateAuthorityServiceConfig.Builder

This builder for chaining.

getCaPool()

public String getCaPool()

Required. The name of the CA pool to pull CA certificates from. Structured like: projects/{project}/locations/{location}/caPools/{ca_pool}. The CA pool does not need to be in the same project or location as the Kafka cluster.

string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The caPool.

getCaPoolBytes()

public ByteString getCaPoolBytes()

Required. The name of the CA pool to pull CA certificates from. Structured like: projects/{project}/locations/{location}/caPools/{ca_pool}. The CA pool does not need to be in the same project or location as the Kafka cluster.

string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for caPool.

getDefaultInstanceForType()

public TrustConfig.CertificateAuthorityServiceConfig getDefaultInstanceForType()
Returns
Type Description
TrustConfig.CertificateAuthorityServiceConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TrustConfig.CertificateAuthorityServiceConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TrustConfig.CertificateAuthorityServiceConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TrustConfig.CertificateAuthorityServiceConfig.Builder
Overrides

setCaPool(String value)

public TrustConfig.CertificateAuthorityServiceConfig.Builder setCaPool(String value)

Required. The name of the CA pool to pull CA certificates from. Structured like: projects/{project}/locations/{location}/caPools/{ca_pool}. The CA pool does not need to be in the same project or location as the Kafka cluster.

string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The caPool to set.

Returns
Type Description
TrustConfig.CertificateAuthorityServiceConfig.Builder

This builder for chaining.

setCaPoolBytes(ByteString value)

public TrustConfig.CertificateAuthorityServiceConfig.Builder setCaPoolBytes(ByteString value)

Required. The name of the CA pool to pull CA certificates from. Structured like: projects/{project}/locations/{location}/caPools/{ca_pool}. The CA pool does not need to be in the same project or location as the Kafka cluster.

string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for caPool to set.

Returns
Type Description
TrustConfig.CertificateAuthorityServiceConfig.Builder

This builder for chaining.