public interface DataItemOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getByteItem()
public abstract ByteDataItem getByteItem()
Data provided in the form of bytes.
.google.cloud.modelarmor.v1.ByteDataItem byte_item = 2;
Returns | |
---|---|
Type | Description |
ByteDataItem |
The byteItem. |
getByteItemOrBuilder()
public abstract ByteDataItemOrBuilder getByteItemOrBuilder()
Data provided in the form of bytes.
.google.cloud.modelarmor.v1.ByteDataItem byte_item = 2;
Returns | |
---|---|
Type | Description |
ByteDataItemOrBuilder |
getDataItemCase()
public abstract DataItem.DataItemCase getDataItemCase()
Returns | |
---|---|
Type | Description |
DataItem.DataItemCase |
getText()
public abstract String getText()
Plaintext string data for sanitization.
string text = 1;
Returns | |
---|---|
Type | Description |
String |
The text. |
getTextBytes()
public abstract ByteString getTextBytes()
Plaintext string data for sanitization.
string text = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for text. |
hasByteItem()
public abstract boolean hasByteItem()
Data provided in the form of bytes.
.google.cloud.modelarmor.v1.ByteDataItem byte_item = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the byteItem field is set. |
hasText()
public abstract boolean hasText()
Plaintext string data for sanitization.
string text = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the text field is set. |