# Interface FileContextOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface FileContextOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getFileBytes()

    public abstract FileContext.FileBytes getFileBytes()

Optional. File provided as raw bytes.

`
.google.cloud.ces.v1beta.FileContext.FileBytes file_bytes = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.FileContext.FileBytes` | The fileBytes. |

### getFileBytesOrBuilder()

    public abstract FileContext.FileBytesOrBuilder getFileBytesOrBuilder()

Optional. File provided as raw bytes.

`
.google.cloud.ces.v1beta.FileContext.FileBytes file_bytes = 1 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getFileCase()

    public abstract FileContext.FileCase getFileCase()

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

### hasFileBytes()

    public abstract boolean hasFileBytes()

Optional. File provided as raw bytes.

`
.google.cloud.ces.v1beta.FileContext.FileBytes file_bytes = 1 [(.google.api.field_behavior) = OPTIONAL];
`

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