# Interface TlsConfigOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface TlsConfigOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getCaCerts(int index)

    public abstract TlsConfig.CaCert getCaCerts(int index)

Required. Specifies a list of allowed custom CA certificates for HTTPS
verification.

`
repeated .google.cloud.ces.v1beta.TlsConfig.CaCert ca_certs = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.TlsConfig.CaCert` |   |

### getCaCertsCount()

    public abstract int getCaCertsCount()

Required. Specifies a list of allowed custom CA certificates for HTTPS
verification.

`
repeated .google.cloud.ces.v1beta.TlsConfig.CaCert ca_certs = 1 [(.google.api.field_behavior) = REQUIRED];
`

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

### getCaCertsList()

    public abstract List<TlsConfig.CaCert> getCaCertsList()

Required. Specifies a list of allowed custom CA certificates for HTTPS
verification.

`
repeated .google.cloud.ces.v1beta.TlsConfig.CaCert ca_certs = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.TlsConfig.CaCert>` |   |

### getCaCertsOrBuilder(int index)

    public abstract TlsConfig.CaCertOrBuilder getCaCertsOrBuilder(int index)

Required. Specifies a list of allowed custom CA certificates for HTTPS
verification.

`
repeated .google.cloud.ces.v1beta.TlsConfig.CaCert ca_certs = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.TlsConfig.CaCertOrBuilder` |   |

### getCaCertsOrBuilderList()

    public abstract List<? extends TlsConfig.CaCertOrBuilder> getCaCertsOrBuilderList()

Required. Specifies a list of allowed custom CA certificates for HTTPS
verification.

`
repeated .google.cloud.ces.v1beta.TlsConfig.CaCert ca_certs = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.ces.v1beta.TlsConfig.CaCertOrBuilder>` |   |