# Interface VpcScSettingsOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface VpcScSettingsOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAllowedOrigins(int index)

    public abstract String getAllowedOrigins(int index)

Optional. The allowed HTTP(s) origins that OpenAPI tools in the App are
able to directly call when VPC Service Controls are enabled. These strings
must match the origin exactly, including the port if specified. For
example, "<https://example.com>" or "<https://example.com:443>". This list does
not yet apply to Python tools that may make direct HTTP calls.

`repeated string allowed_origins = 1 [(.google.api.field_behavior) = OPTIONAL];`

| **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 allowedOrigins at the given index. |

### getAllowedOriginsBytes(int index)

    public abstract ByteString getAllowedOriginsBytes(int index)

Optional. The allowed HTTP(s) origins that OpenAPI tools in the App are
able to directly call when VPC Service Controls are enabled. These strings
must match the origin exactly, including the port if specified. For
example, "<https://example.com>" or "<https://example.com:443>". This list does
not yet apply to Python tools that may make direct HTTP calls.

`repeated string allowed_origins = 1 [(.google.api.field_behavior) = OPTIONAL];`

| **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 allowedOrigins at the given index. |

### getAllowedOriginsCount()

    public abstract int getAllowedOriginsCount()

Optional. The allowed HTTP(s) origins that OpenAPI tools in the App are
able to directly call when VPC Service Controls are enabled. These strings
must match the origin exactly, including the port if specified. For
example, "<https://example.com>" or "<https://example.com:443>". This list does
not yet apply to Python tools that may make direct HTTP calls.

`repeated string allowed_origins = 1 [(.google.api.field_behavior) = OPTIONAL];`

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

### getAllowedOriginsList()

    public abstract List<String> getAllowedOriginsList()

Optional. The allowed HTTP(s) origins that OpenAPI tools in the App are
able to directly call when VPC Service Controls are enabled. These strings
must match the origin exactly, including the port if specified. For
example, "<https://example.com>" or "<https://example.com:443>". This list does
not yet apply to Python tools that may make direct HTTP calls.

`repeated string allowed_origins = 1 [(.google.api.field_behavior) = OPTIONAL];`

| **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 allowedOrigins. |