Package com.google.privacy.dlp.v2
Interface ContentItemOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ContentItem
,ContentItem.Builder
public interface ContentItemOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteContentItem
getByteItem()
Content data to inspect or redact.ByteContentItemOrBuilder
getByteItemOrBuilder()
Content data to inspect or redact.ContentItem.DataItemCase
getDataItemCase()
Table
getTable()
Structured content for inspection.TableOrBuilder
getTableOrBuilder()
Structured content for inspection.String
getValue()
String data to inspect or redact.com.google.protobuf.ByteString
getValueBytes()
String data to inspect or redact.boolean
hasByteItem()
Content data to inspect or redact.boolean
hasTable()
Structured content for inspection.boolean
hasValue()
String data to inspect or redact.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasValue
boolean hasValue()
String data to inspect or redact.
string value = 3;
- Returns:
- Whether the value field is set.
-
getValue
String getValue()
String data to inspect or redact.
string value = 3;
- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()
String data to inspect or redact.
string value = 3;
- Returns:
- The bytes for value.
-
hasTable
boolean hasTable()
Structured content for inspection. See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to learn more.
.google.privacy.dlp.v2.Table table = 4;
- Returns:
- Whether the table field is set.
-
getTable
Table getTable()
Structured content for inspection. See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to learn more.
.google.privacy.dlp.v2.Table table = 4;
- Returns:
- The table.
-
getTableOrBuilder
TableOrBuilder getTableOrBuilder()
Structured content for inspection. See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to learn more.
.google.privacy.dlp.v2.Table table = 4;
-
hasByteItem
boolean hasByteItem()
Content data to inspect or redact. Replaces `type` and `data`.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
- Returns:
- Whether the byteItem field is set.
-
getByteItem
ByteContentItem getByteItem()
Content data to inspect or redact. Replaces `type` and `data`.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
- Returns:
- The byteItem.
-
getByteItemOrBuilder
ByteContentItemOrBuilder getByteItemOrBuilder()
Content data to inspect or redact. Replaces `type` and `data`.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
-
getDataItemCase
ContentItem.DataItemCase getDataItemCase()
-
-