    public interface LocationPreferenceOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getFollowGaeApplication() (deprecated)

    public abstract String getFollowGaeApplication()

**Deprecated.** *google.cloud.sql.v1beta4.LocationPreference.follow_gae_application is deprecated. See google/cloud/sql/v1beta4/cloud_sql_resources.proto;l=2498*

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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The followGaeApplication. |

### getFollowGaeApplicationBytes() (deprecated)

    public abstract ByteString getFollowGaeApplicationBytes()

**Deprecated.** *google.cloud.sql.v1beta4.LocationPreference.follow_gae_application is deprecated. See google/cloud/sql/v1beta4/cloud_sql_resources.proto;l=2498*

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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for followGaeApplication. |

### getKind()

    public abstract String getKind()

This is always `sql#locationPreference`.

`string kind = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The kind. |

### getKindBytes()

    public abstract ByteString getKindBytes()

This is always `sql#locationPreference`.

`string kind = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for zone. |