# Interface ByteDataItemOrBuilder (0.34.0)

0.34.0 (latest) 0.32.0 0.29.0 0.28.0 0.26.0 0.24.0 0.23.0 0.21.0 0.19.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.11.0 0.9.0 0.8.0 0.5.0 0.4.0 0.3.0 0.1.0

    public interface ByteDataItemOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getByteData()

    public abstract ByteString getByteData()

Required. Bytes Data

`bytes byte_data = 2 [(.google.api.field_behavior) = REQUIRED];`

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

### getByteDataType()

    public abstract ByteDataItem.ByteItemType getByteDataType()

Required. The type of byte data

`
.google.cloud.modelarmor.v1beta.ByteDataItem.ByteItemType byte_data_type = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-modelarmor/latest/com.google.cloud.modelarmor.v1beta.ByteDataItem.ByteItemType` | The byteDataType. |

### getByteDataTypeValue()

    public abstract int getByteDataTypeValue()

Required. The type of byte data

`
.google.cloud.modelarmor.v1beta.ByteDataItem.ByteItemType byte_data_type = 1 [(.google.api.field_behavior) = REQUIRED];
`

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

### getFileLabel()

    public abstract String getFileLabel()

Optional. Label of the file. This is used to identify the file in the
response.

`string file_label = 3 [(.google.api.field_behavior) = OPTIONAL];`

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

### getFileLabelBytes()

    public abstract ByteString getFileLabelBytes()

Optional. Label of the file. This is used to identify the file in the
response.

`string file_label = 3 [(.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 fileLabel. |