# Interface CreateReportRequestOrBuilder (0.1.0)

    public interface CreateReportRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getParent()

    public abstract String getParent()

Required. The parent Google Cloud project that will own the report.

This value does not define the scope of the report data. See `Report.scope`
for setting the data scope.

Format: `projects/{project}/locations/{location}`.

`
string parent = 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 parent. |

### getParentBytes()

    public abstract ByteString getParentBytes()

Required. The parent Google Cloud project that will own the report.

This value does not define the scope of the report data. See `Report.scope`
for setting the data scope.

Format: `projects/{project}/locations/{location}`.

`
string parent = 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 parent. |

### getReport()

    public abstract Report getReport()

Required. The report resource to create.

`
.google.cloud.appoptimize.v1beta.Report report = 3 [(.google.api.field_behavior) = REQUIRED];
`

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

### getReportId()

    public abstract String getReportId()

Required. The ID to use for this report. This ID must be unique within
the parent project and should comply with RFC 1034 restrictions (letters,
numbers, and hyphen, with the first character a letter, the last a letter
or a number, and a 63 character maximum).

`string report_id = 2 [(.google.api.field_behavior) = REQUIRED];`

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

### getReportIdBytes()

    public abstract ByteString getReportIdBytes()

Required. The ID to use for this report. This ID must be unique within
the parent project and should comply with RFC 1034 restrictions (letters,
numbers, and hyphen, with the first character a letter, the last a letter
or a number, and a 63 character maximum).

`string report_id = 2 [(.google.api.field_behavior) = REQUIRED];`

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

### getReportOrBuilder()

    public abstract ReportOrBuilder getReportOrBuilder()

Required. The report resource to create.

`
.google.cloud.appoptimize.v1beta.Report report = 3 [(.google.api.field_behavior) = REQUIRED];
`

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

### hasReport()

    public abstract boolean hasReport()

Required. The report resource to create.

`
.google.cloud.appoptimize.v1beta.Report report = 3 [(.google.api.field_behavior) = REQUIRED];
`

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