public interface ContentItemOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getBatchContentItem()
public abstract BatchContentItem getBatchContentItem()Represents a batch of items to inspect.
.google.privacy.dlp.v2.BatchContentItem batch_content_item = 8;
| Returns | |
|---|---|
| Type | Description |
BatchContentItem |
The batchContentItem. |
getBatchContentItemOrBuilder()
public abstract BatchContentItemOrBuilder getBatchContentItemOrBuilder()Represents a batch of items to inspect.
.google.privacy.dlp.v2.BatchContentItem batch_content_item = 8;
| Returns | |
|---|---|
| Type | Description |
BatchContentItemOrBuilder |
|
getByteItem()
public abstract ByteContentItem getByteItem() Content data to inspect or redact. Replaces type and data.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
| Returns | |
|---|---|
| Type | Description |
ByteContentItem |
The byteItem. |
getByteItemOrBuilder()
public abstract ByteContentItemOrBuilder getByteItemOrBuilder() Content data to inspect or redact. Replaces type and data.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
| Returns | |
|---|---|
| Type | Description |
ByteContentItemOrBuilder |
|
getContentMetadata()
public abstract ContentMetadata getContentMetadata()User provided metadata for the content.
.google.privacy.dlp.v2.ContentMetadata content_metadata = 6;
| Returns | |
|---|---|
| Type | Description |
ContentMetadata |
The contentMetadata. |
getContentMetadataOrBuilder()
public abstract ContentMetadataOrBuilder getContentMetadataOrBuilder()User provided metadata for the content.
.google.privacy.dlp.v2.ContentMetadata content_metadata = 6;
| Returns | |
|---|---|
| Type | Description |
ContentMetadataOrBuilder |
|
getConversation()
public abstract Conversation getConversation()Represents a conversation (either complete or a slice). It is assumed that all included messages are contiguous and ordered in chronological order.
.google.privacy.dlp.v2.Conversation conversation = 7;
| Returns | |
|---|---|
| Type | Description |
Conversation |
The conversation. |
getConversationOrBuilder()
public abstract ConversationOrBuilder getConversationOrBuilder()Represents a conversation (either complete or a slice). It is assumed that all included messages are contiguous and ordered in chronological order.
.google.privacy.dlp.v2.Conversation conversation = 7;
| Returns | |
|---|---|
| Type | Description |
ConversationOrBuilder |
|
getDataItemCase()
public abstract ContentItem.DataItemCase getDataItemCase()| Returns | |
|---|---|
| Type | Description |
ContentItem.DataItemCase |
|
getTable()
public abstract Table getTable()Structured content for inspection. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table to learn more.
.google.privacy.dlp.v2.Table table = 4;
| Returns | |
|---|---|
| Type | Description |
Table |
The table. |
getTableOrBuilder()
public abstract TableOrBuilder getTableOrBuilder()Structured content for inspection. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table to learn more.
.google.privacy.dlp.v2.Table table = 4;
| Returns | |
|---|---|
| Type | Description |
TableOrBuilder |
|
getValue()
public abstract String getValue()String data to inspect or redact.
string value = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The value. |
getValueBytes()
public abstract ByteString getValueBytes()String data to inspect or redact.
string value = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
hasBatchContentItem()
public abstract boolean hasBatchContentItem()Represents a batch of items to inspect.
.google.privacy.dlp.v2.BatchContentItem batch_content_item = 8;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the batchContentItem field is set. |
hasByteItem()
public abstract boolean hasByteItem() Content data to inspect or redact. Replaces type and data.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the byteItem field is set. |
hasContentMetadata()
public abstract boolean hasContentMetadata()User provided metadata for the content.
.google.privacy.dlp.v2.ContentMetadata content_metadata = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the contentMetadata field is set. |
hasConversation()
public abstract boolean hasConversation()Represents a conversation (either complete or a slice). It is assumed that all included messages are contiguous and ordered in chronological order.
.google.privacy.dlp.v2.Conversation conversation = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the conversation field is set. |
hasTable()
public abstract boolean hasTable()Structured content for inspection. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table to learn more.
.google.privacy.dlp.v2.Table table = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the table field is set. |
hasValue()
public abstract boolean hasValue()String data to inspect or redact.
string value = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the value field is set. |