# Interface ControlOrBuilder (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 ControlOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAdditionalContentUri()

    public abstract String getAdditionalContentUri()

Output only. A link to the documentation that's related to this control.

`string additional_content_uri = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getAdditionalContentUriBytes()

    public abstract ByteString getAdditionalContentUriBytes()

Output only. A link to the documentation that's related to this control.

`string additional_content_uri = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getControlFamily()

    public abstract ControlFamily getControlFamily()

Output only. The regulatory family that the control belongs to.

`
.google.cloud.cloudsecuritycompliance.v1.ControlFamily control_family = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getControlFamilyOrBuilder()

    public abstract ControlFamilyOrBuilder getControlFamilyOrBuilder()

Output only. The regulatory family that the control belongs to.

`
.google.cloud.cloudsecuritycompliance.v1.ControlFamily control_family = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getCustomerResponsibilityDescription()

    public abstract String getCustomerResponsibilityDescription()

Output only. A description of your responsibility for the regulatory
control.

`
string customer_responsibility_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getCustomerResponsibilityDescriptionBytes()

    public abstract ByteString getCustomerResponsibilityDescriptionBytes()

Output only. A description of your responsibility for the regulatory
control.

`
string customer_responsibility_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getCustomerResponsibilityImplementation()

    public abstract String getCustomerResponsibilityImplementation()

Output only. A description of the your responsibility for implementing the
regulatory control.

`
string customer_responsibility_implementation = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getCustomerResponsibilityImplementationBytes()

    public abstract ByteString getCustomerResponsibilityImplementationBytes()

Output only. A description of the your responsibility for implementing the
regulatory control.

`
string customer_responsibility_implementation = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getDescription()

    public abstract String getDescription()

Output only. The description of the regulatory control.

`string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getDescriptionBytes()

    public abstract ByteString getDescriptionBytes()

Output only. The description of the regulatory control.

`string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getDisplayName()

    public abstract String getDisplayName()

Output only. The friendly name for the regulatory control.

`string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getDisplayNameBytes()

    public abstract ByteString getDisplayNameBytes()

Output only. The friendly name for the regulatory control.

`string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getFamily()

    public abstract Control.Family getFamily()

Output only. The regulatory group that the control belongs to.

`
.google.cloud.cloudsecuritycompliance.v1.Control.Family family = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getFamilyValue()

    public abstract int getFamilyValue()

Output only. The regulatory group that the control belongs to.

`
.google.cloud.cloudsecuritycompliance.v1.Control.Family family = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for family. |

### getGoogleResponsibilityDescription()

    public abstract String getGoogleResponsibilityDescription()

Output only. A description of Google's responsibility for the regulatory
control.

`
string google_responsibility_description = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getGoogleResponsibilityDescriptionBytes()

    public abstract ByteString getGoogleResponsibilityDescriptionBytes()

Output only. A description of Google's responsibility for the regulatory
control.

`
string google_responsibility_description = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getGoogleResponsibilityImplementation()

    public abstract String getGoogleResponsibilityImplementation()

Output only. A description of Google's responsibility for implementing the
regulatory control.

`
string google_responsibility_implementation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getGoogleResponsibilityImplementationBytes()

    public abstract ByteString getGoogleResponsibilityImplementationBytes()

Output only. A description of Google's responsibility for implementing the
regulatory control.

`
string google_responsibility_implementation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getName()

    public abstract String getName()

Output only. The name of a regulatory control, in one of the following
formats:

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

  The only supported location is `global`.

`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getNameBytes()

    public abstract ByteString getNameBytes()

Output only. The name of a regulatory control, in one of the following
formats:

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

  The only supported location is `global`.

`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getRelatedFrameworks(int index)

    public abstract String getRelatedFrameworks(int index)

Output only. The frameworks that include this control.

`repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The relatedFrameworks at the given index. |

### getRelatedFrameworksBytes(int index)

    public abstract ByteString getRelatedFrameworksBytes(int index)

Output only. The frameworks that include this control.

`repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the relatedFrameworks at the given index. |

### getRelatedFrameworksCount()

    public abstract int getRelatedFrameworksCount()

Output only. The frameworks that include this control.

`repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getRelatedFrameworksList()

    public abstract List<String> getRelatedFrameworksList()

Output only. The frameworks that include this control.

`repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the relatedFrameworks. |

### getResponsibilityType()

    public abstract RegulatoryControlResponsibilityType getResponsibilityType()

Output only. The entity that's responsible for the control, whether Google,
you as the customer, or both.

`
.google.cloud.cloudsecuritycompliance.v1.RegulatoryControlResponsibilityType responsibility_type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getResponsibilityTypeValue()

    public abstract int getResponsibilityTypeValue()

Output only. The entity that's responsible for the control, whether Google,
you as the customer, or both.

`
.google.cloud.cloudsecuritycompliance.v1.RegulatoryControlResponsibilityType responsibility_type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for responsibilityType. |

### getSharedResponsibilityDescription()

    public abstract String getSharedResponsibilityDescription()

Output only. A description of the responsibility that's shared between
Google and you in implementing this control.

`
string shared_responsibility_description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getSharedResponsibilityDescriptionBytes()

    public abstract ByteString getSharedResponsibilityDescriptionBytes()

Output only. A description of the responsibility that's shared between
Google and you in implementing this control.

`
string shared_responsibility_description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### hasControlFamily()

    public abstract boolean hasControlFamily()

Output only. The regulatory family that the control belongs to.

`
.google.cloud.cloudsecuritycompliance.v1.ControlFamily control_family = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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