Interface DataItemOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataItem,DataItem.Builder
@Generated
public interface DataItemOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionData provided in the form of bytes.Data provided in the form of bytes.getText()Plaintext string data for sanitization.com.google.protobuf.ByteStringPlaintext string data for sanitization.booleanData provided in the form of bytes.booleanhasText()Plaintext string data for sanitization.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasText
boolean hasText()Plaintext string data for sanitization.
string text = 1;- Returns:
- Whether the text field is set.
-
getText
String getText()Plaintext string data for sanitization.
string text = 1;- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()Plaintext string data for sanitization.
string text = 1;- Returns:
- The bytes for text.
-
hasByteItem
boolean hasByteItem()Data provided in the form of bytes.
.google.cloud.modelarmor.v1beta.ByteDataItem byte_item = 2;- Returns:
- Whether the byteItem field is set.
-
getByteItem
ByteDataItem getByteItem()Data provided in the form of bytes.
.google.cloud.modelarmor.v1beta.ByteDataItem byte_item = 2;- Returns:
- The byteItem.
-
getByteItemOrBuilder
ByteDataItemOrBuilder getByteItemOrBuilder()Data provided in the form of bytes.
.google.cloud.modelarmor.v1beta.ByteDataItem byte_item = 2; -
getDataItemCase
DataItem.DataItemCase getDataItemCase()
-