Interface AppProfile.MultiClusterRoutingUseAnyOrBuilder (2.14.0)

public static interface AppProfile.MultiClusterRoutingUseAnyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClusterIds(int index)

public abstract String getClusterIds(int index)

The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.

repeated string cluster_ids = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The clusterIds at the given index.

getClusterIdsBytes(int index)

public abstract ByteString getClusterIdsBytes(int index)

The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.

repeated string cluster_ids = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the clusterIds at the given index.

getClusterIdsCount()

public abstract int getClusterIdsCount()

The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.

repeated string cluster_ids = 1;

Returns
TypeDescription
int

The count of clusterIds.

getClusterIdsList()

public abstract List<String> getClusterIdsList()

The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.

repeated string cluster_ids = 1;

Returns
TypeDescription
List<String>

A list containing the clusterIds.