Package com.google.cloud.run.v2
Interface CloudSqlInstanceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CloudSqlInstance
,CloudSqlInstance.Builder
public interface CloudSqlInstanceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getInstances(int index)
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances.com.google.protobuf.ByteString
getInstancesBytes(int index)
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances.int
getInstancesCount()
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances.List<String>
getInstancesList()
The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getInstancesList
List<String> getInstancesList()
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 instances = 1;
- Returns:
- A list containing the instances.
-
getInstancesCount
int getInstancesCount()
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 instances = 1;
- Returns:
- The count of instances.
-
getInstances
String getInstances(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 instances = 1;
- Parameters:
index
- The index of the element to return.- Returns:
- The instances at the given index.
-
getInstancesBytes
com.google.protobuf.ByteString getInstancesBytes(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 instances = 1;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the instances at the given index.
-
-