# Interface ScopeOrBuilder (0.1.0)

    public interface ScopeOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getApplication()

    public abstract String getApplication()

Required. An App Hub Application to fetch data from.

Format:
`"projects/{project}/locations/{location}/applications/{application}"`.

`
string application = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

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

### getApplicationBytes()

    public abstract ByteString getApplicationBytes()

Required. An App Hub Application to fetch data from.

Format:
`"projects/{project}/locations/{location}/applications/{application}"`.

`
string application = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for application. |

### getProject()

    public abstract String getProject()

Required. A Google Cloud Platform project to fetch data from.

Format: `"projects/{project}"`.

`
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

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

### getProjectBytes()

    public abstract ByteString getProjectBytes()

Required. A Google Cloud Platform project to fetch data from.

Format: `"projects/{project}"`.

`
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for project. |

### getScopeCase()

    public abstract Scope.ScopeCase getScopeCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-appoptimize/latest/com.google.cloud.appoptimize.v1beta.Scope.ScopeCase` |   |

### hasApplication()

    public abstract boolean hasApplication()

Required. An App Hub Application to fetch data from.

Format:
`"projects/{project}/locations/{location}/applications/{application}"`.

`
string application = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the application field is set. |

### hasProject()

    public abstract boolean hasProject()

Required. A Google Cloud Platform project to fetch data from.

Format: `"projects/{project}"`.

`
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the project field is set. |