public final class ContentItem extends GeneratedMessage implements ContentItemOrBuilder
Type of content to inspect.
Protobuf type google.privacy.dlp.v2.ContentItem
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
BATCH_CONTENT_ITEM_FIELD_NUMBER
public static final int BATCH_CONTENT_ITEM_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
BYTE_ITEM_FIELD_NUMBER
public static final int BYTE_ITEM_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CONTENT_METADATA_FIELD_NUMBER
public static final int CONTENT_METADATA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CONVERSATION_FIELD_NUMBER
public static final int CONVERSATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TABLE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ContentItem getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ContentItem.Builder newBuilder()
newBuilder(ContentItem prototype)
public static ContentItem.Builder newBuilder(ContentItem prototype)
parseDelimitedFrom(InputStream input)
public static ContentItem parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContentItem parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ContentItem parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContentItem parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ContentItem parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContentItem parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static ContentItem parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ContentItem parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static ContentItem parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContentItem parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ContentItem parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContentItem parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ContentItem> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getBatchContentItem()
public BatchContentItem getBatchContentItem()
Represents a batch of items to inspect.
.google.privacy.dlp.v2.BatchContentItem batch_content_item = 8;
getBatchContentItemOrBuilder()
public BatchContentItemOrBuilder getBatchContentItemOrBuilder()
Represents a batch of items to inspect.
.google.privacy.dlp.v2.BatchContentItem batch_content_item = 8;
getByteItem()
public ByteContentItem getByteItem()
Content data to inspect or redact. Replaces type and data.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
getByteItemOrBuilder()
public ByteContentItemOrBuilder getByteItemOrBuilder()
Content data to inspect or redact. Replaces type and data.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
getContentMetadata()
public ContentMetadata getContentMetadata()
User provided metadata for the content.
.google.privacy.dlp.v2.ContentMetadata content_metadata = 6;
getContentMetadataOrBuilder()
public ContentMetadataOrBuilder getContentMetadataOrBuilder()
User provided metadata for the content.
.google.privacy.dlp.v2.ContentMetadata content_metadata = 6;
getConversation()
public 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;
getConversationOrBuilder()
public 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;
getDataItemCase()
public ContentItem.DataItemCase getDataItemCase()
getDefaultInstanceForType()
public ContentItem getDefaultInstanceForType()
getParserForType()
public Parser<ContentItem> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTable()
| Returns |
| Type |
Description |
Table |
The table.
|
getTableOrBuilder()
public TableOrBuilder getTableOrBuilder()
getValue()
String data to inspect or redact.
string value = 3;
| Returns |
| Type |
Description |
String |
The value.
|
getValueBytes()
public ByteString getValueBytes()
String data to inspect or redact.
string value = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for value.
|
hasBatchContentItem()
public 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 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 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 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 boolean hasTable()
| Returns |
| Type |
Description |
boolean |
Whether the table field is set.
|
hasValue()
public boolean hasValue()
String data to inspect or redact.
string value = 3;
| Returns |
| Type |
Description |
boolean |
Whether the value field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ContentItem.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ContentItem.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ContentItem.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides