public interface LocationPreferenceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getFollowGaeApplication() (deprecated)
public abstract String getFollowGaeApplication()Deprecated. google.cloud.sql.v1.LocationPreference.follow_gae_application is deprecated. See google/cloud/sql/v1/cloud_sql_resources.proto;l=1026
The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance.
string follow_gae_application = 1 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
String |
The followGaeApplication. |
getFollowGaeApplicationBytes() (deprecated)
public abstract ByteString getFollowGaeApplicationBytes()Deprecated. google.cloud.sql.v1.LocationPreference.follow_gae_application is deprecated. See google/cloud/sql/v1/cloud_sql_resources.proto;l=1026
The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance.
string follow_gae_application = 1 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for followGaeApplication. |
getKind()
public abstract String getKind() This is always sql#locationPreference.
string kind = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
public abstract ByteString getKindBytes() This is always sql#locationPreference.
string kind = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kind. |
getSecondaryZone()
public abstract String getSecondaryZone()The preferred Compute Engine zone for the secondary/failover (for example: us-central1-a, us-central1-b, etc.). To disable this field, set it to 'no_secondary_zone'.
string secondary_zone = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The secondaryZone. |
getSecondaryZoneBytes()
public abstract ByteString getSecondaryZoneBytes()The preferred Compute Engine zone for the secondary/failover (for example: us-central1-a, us-central1-b, etc.). To disable this field, set it to 'no_secondary_zone'.
string secondary_zone = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for secondaryZone. |
getZone()
public abstract String getZone()The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance.
string zone = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The zone. |
getZoneBytes()
public abstract ByteString getZoneBytes()The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance.
string zone = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for zone. |