Interface ConnectGcpConfigOrBuilder (0.16.1)

public interface ConnectGcpConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccessConfig()

public abstract ConnectAccessConfig getAccessConfig()

Required. Access configuration for the Kafka Connect cluster.

.google.cloud.managedkafka.v1.ConnectAccessConfig access_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectAccessConfig

The accessConfig.

getAccessConfigOrBuilder()

public abstract ConnectAccessConfigOrBuilder getAccessConfigOrBuilder()

Required. Access configuration for the Kafka Connect cluster.

.google.cloud.managedkafka.v1.ConnectAccessConfig access_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectAccessConfigOrBuilder

getSecretPaths(int index)

public abstract String getSecretPaths(int index)

Optional. Secrets to load into workers. Exact SecretVersions from Secret Manager must be provided -- aliases are not supported. Up to 32 secrets may be loaded into one cluster. Format: projects/<project-id>/secrets/<secret-name>/versions/<version-id>

repeated string secret_paths = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The secretPaths at the given index.

getSecretPathsBytes(int index)

public abstract ByteString getSecretPathsBytes(int index)

Optional. Secrets to load into workers. Exact SecretVersions from Secret Manager must be provided -- aliases are not supported. Up to 32 secrets may be loaded into one cluster. Format: projects/<project-id>/secrets/<secret-name>/versions/<version-id>

repeated string secret_paths = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the secretPaths at the given index.

getSecretPathsCount()

public abstract int getSecretPathsCount()

Optional. Secrets to load into workers. Exact SecretVersions from Secret Manager must be provided -- aliases are not supported. Up to 32 secrets may be loaded into one cluster. Format: projects/<project-id>/secrets/<secret-name>/versions/<version-id>

repeated string secret_paths = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of secretPaths.

getSecretPathsList()

public abstract List<String> getSecretPathsList()

Optional. Secrets to load into workers. Exact SecretVersions from Secret Manager must be provided -- aliases are not supported. Up to 32 secrets may be loaded into one cluster. Format: projects/<project-id>/secrets/<secret-name>/versions/<version-id>

repeated string secret_paths = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
List<String>

A list containing the secretPaths.

hasAccessConfig()

public abstract boolean hasAccessConfig()

Required. Access configuration for the Kafka Connect cluster.

.google.cloud.managedkafka.v1.ConnectAccessConfig access_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the accessConfig field is set.