    public interface GenerateEphemeralCertRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAccessToken()

    public abstract String getAccessToken()

Optional. Access token to include in the signed certificate.

` string access_token = 4 [json_name = "access_token", (.google.api.field_behavior) = OPTIONAL]; `

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

### getAccessTokenBytes()

    public abstract ByteString getAccessTokenBytes()

Optional. Access token to include in the signed certificate.

` string access_token = 4 [json_name = "access_token", (.google.api.field_behavior) = OPTIONAL]; `

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

### getInstance()

    public abstract String getInstance()

Cloud SQL instance ID. This does not include the project ID.

`string instance = 1;`

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

### getInstanceBytes()

    public abstract ByteString getInstanceBytes()

Cloud SQL instance ID. This does not include the project ID.

`string instance = 1;`

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

### getProject()

    public abstract String getProject()

Project ID of the project that contains the instance.

`string project = 2;`

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

### getProjectBytes()

    public abstract ByteString getProjectBytes()

Project ID of the project that contains the instance.

`string project = 2;`

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

### getPublicKey()

    public abstract String getPublicKey()

PEM encoded public key to include in the signed certificate.

`string public_key = 3 [json_name = "public_key"];`

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

### getPublicKeyBytes()

    public abstract ByteString getPublicKeyBytes()

PEM encoded public key to include in the signed certificate.

`string public_key = 3 [json_name = "public_key"];`

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

### getReadTime()

    public abstract Timestamp getReadTime()

Optional. Optional snapshot read timestamp to trade freshness for performance.

`.google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL]; `

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

### getReadTimeOrBuilder()

    public abstract TimestampOrBuilder getReadTimeOrBuilder()

Optional. Optional snapshot read timestamp to trade freshness for performance.

`.google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL]; `

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

### getValidDuration()

    public abstract Duration getValidDuration()

Optional. If set, it will contain the cert valid duration.

`.google.protobuf.Duration valid_duration = 12 [(.google.api.field_behavior) = OPTIONAL]; `

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

### getValidDurationOrBuilder()

    public abstract DurationOrBuilder getValidDurationOrBuilder()

Optional. If set, it will contain the cert valid duration.

`.google.protobuf.Duration valid_duration = 12 [(.google.api.field_behavior) = OPTIONAL]; `

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

### hasReadTime()

    public abstract boolean hasReadTime()

Optional. Optional snapshot read timestamp to trade freshness for performance.

`.google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL]; `

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

### hasValidDuration()

    public abstract boolean hasValidDuration()

Optional. If set, it will contain the cert valid duration.

`.google.protobuf.Duration valid_duration = 12 [(.google.api.field_behavior) = OPTIONAL]; `

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