Interface ByteDataItemOrBuilder (0.34.0)

public interface ByteDataItemOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getByteData()

public abstract ByteString getByteData()

Required. Bytes Data

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

Returns
Type Description
ByteString

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
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
int

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
String

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
ByteString

The bytes for fileLabel.