Interface CloudSqlInstanceOrBuilder (0.1.2)

public interface CloudSqlInstanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConnections(int index)

public abstract String getConnections(int index)

The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}

repeated string connections = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The connections at the given index.

getConnectionsBytes(int index)

public abstract ByteString getConnectionsBytes(int index)

The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}

repeated string connections = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the connections at the given index.

getConnectionsCount()

public abstract int getConnectionsCount()

The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}

repeated string connections = 1;

Returns
TypeDescription
int

The count of connections.

getConnectionsList()

public abstract List<String> getConnectionsList()

The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}

repeated string connections = 1;

Returns
TypeDescription
List<String>

A list containing the connections.