# Interface CreateFrameworkRequestOrBuilder (0.20.0)

0.20.0 (latest) 0.18.0 0.15.0 0.14.0 0.12.0 0.10.0 0.9.0 0.8.0 0.7.0 0.5.0 0.3.0 0.2.0 0.1.0

    public interface CreateFrameworkRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getFramework()

    public abstract Framework getFramework()

Required. The resource being created.

`
.google.cloud.cloudsecuritycompliance.v1.Framework framework = 3 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/com.google.cloud.cloudsecuritycompliance.v1.Framework` | The framework. |

### getFrameworkId()

    public abstract String getFrameworkId()

Required. The identifier (ID) of the framework. The ID is not the full name
of the framework; it's the last part of the full name of the framework.

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

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

### getFrameworkIdBytes()

    public abstract ByteString getFrameworkIdBytes()

Required. The identifier (ID) of the framework. The ID is not the full name
of the framework; it's the last part of the full name of the framework.

`string framework_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 frameworkId. |

### getFrameworkOrBuilder()

    public abstract FrameworkOrBuilder getFrameworkOrBuilder()

Required. The resource being created.

`
.google.cloud.cloudsecuritycompliance.v1.Framework framework = 3 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/com.google.cloud.cloudsecuritycompliance.v1.FrameworkOrBuilder` |   |

### getParent()

    public abstract String getParent()

Required. The parent resource name, in one of the following formats:

- `organizations/{organization}/locations/{location}`
- `projects/{project}/locations/{location}`.

  The only supported location is `global`.

`
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 resource name, in one of the following formats:

- `organizations/{organization}/locations/{location}`
- `projects/{project}/locations/{location}`.

  The only supported location is `global`.

`
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. |

### hasFramework()

    public abstract boolean hasFramework()

Required. The resource being created.

`
.google.cloud.cloudsecuritycompliance.v1.Framework framework = 3 [(.google.api.field_behavior) = REQUIRED];
`

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