# Interface UpdateFrameworkRequestOrBuilder (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 UpdateFrameworkRequestOrBuilder 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 that is being updated.

`
.google.cloud.cloudsecuritycompliance.v1.Framework framework = 2 [(.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. |

### getFrameworkOrBuilder()

    public abstract FrameworkOrBuilder getFrameworkOrBuilder()

Required. The resource that is being updated.

`
.google.cloud.cloudsecuritycompliance.v1.Framework framework = 2 [(.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` |   |

### getMajorRevisionId()

    public abstract long getMajorRevisionId()

Optional. The major version ID of the framework to update.

`int64 major_revision_id = 3 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The majorRevisionId. |

### getUpdateMask()

    public abstract FieldMask getUpdateMask()

Optional. A field mask is used to specify the fields to be overwritten in
the framework resource by the update. The fields specified in the
`update_mask` are relative to the resource, not the full request. A field
is overwritten if it is in the mask. If you don't provide a mask then all
fields present in the request will be overwritten.

`.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.FieldMask.html` | The updateMask. |

### getUpdateMaskOrBuilder()

    public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. A field mask is used to specify the fields to be overwritten in
the framework resource by the update. The fields specified in the
`update_mask` are relative to the resource, not the full request. A field
is overwritten if it is in the mask. If you don't provide a mask then all
fields present in the request will be overwritten.

`.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.FieldMaskOrBuilder.html` |   |

### hasFramework()

    public abstract boolean hasFramework()

Required. The resource that is being updated.

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

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

### hasUpdateMask()

    public abstract boolean hasUpdateMask()

Optional. A field mask is used to specify the fields to be overwritten in
the framework resource by the update. The fields specified in the
`update_mask` are relative to the resource, not the full request. A field
is overwritten if it is in the mask. If you don't provide a mask then all
fields present in the request will be overwritten.

`.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
`

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