public final class ContentItem extends com.google.protobuf.GeneratedMessageV3 implements ContentItemOrBuilder
Container structure for the content to inspect.Protobuf type
google.privacy.dlp.v2.ContentItem| Modifier and Type | Class and Description |
|---|---|
static class |
ContentItem.Builder
Container structure for the content to inspect.
|
static class |
ContentItem.DataItemCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BYTE_ITEM_FIELD_NUMBER |
static int |
TABLE_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ByteContentItem |
getByteItem()
Content data to inspect or redact.
|
ByteContentItemOrBuilder |
getByteItemOrBuilder()
Content data to inspect or redact.
|
ContentItem.DataItemCase |
getDataItemCase() |
static ContentItem |
getDefaultInstance() |
ContentItem |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ContentItem> |
getParserForType() |
int |
getSerializedSize() |
Table |
getTable()
Structured content for inspection.
|
TableOrBuilder |
getTableOrBuilder()
Structured content for inspection.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
boolean |
hasTable()
Structured content for inspection.
|
boolean |
hasValue()
String data to inspect or redact.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ContentItem.Builder |
newBuilder() |
static ContentItem.Builder |
newBuilder(ContentItem prototype) |
ContentItem.Builder |
newBuilderForType() |
protected ContentItem.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ContentItem |
parseDelimitedFrom(InputStream input) |
static ContentItem |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContentItem |
parseFrom(byte[] data) |
static ContentItem |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContentItem |
parseFrom(ByteBuffer data) |
static ContentItem |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContentItem |
parseFrom(com.google.protobuf.ByteString data) |
static ContentItem |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContentItem |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ContentItem |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContentItem |
parseFrom(InputStream input) |
static ContentItem |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ContentItem> |
parser() |
ContentItem.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int VALUE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
public static final int BYTE_ITEM_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ContentItem.DataItemCase getDataItemCase()
getDataItemCase in interface ContentItemOrBuilderpublic boolean hasValue()
String data to inspect or redact.
string value = 3;hasValue in interface ContentItemOrBuilderpublic String getValue()
String data to inspect or redact.
string value = 3;getValue in interface ContentItemOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
String data to inspect or redact.
string value = 3;getValueBytes in interface ContentItemOrBuilderpublic 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;hasTable in interface ContentItemOrBuilderpublic 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;getTable in interface ContentItemOrBuilderpublic 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;getTableOrBuilder in interface ContentItemOrBuilderpublic boolean hasByteItem()
Content data to inspect or redact. Replaces `type` and `data`.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;hasByteItem in interface ContentItemOrBuilderpublic ByteContentItem getByteItem()
Content data to inspect or redact. Replaces `type` and `data`.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;getByteItem in interface ContentItemOrBuilderpublic ByteContentItemOrBuilder getByteItemOrBuilder()
Content data to inspect or redact. Replaces `type` and `data`.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;getByteItemOrBuilder in interface ContentItemOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ContentItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContentItem parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContentItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContentItem parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContentItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContentItem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContentItem parseFrom(InputStream input) throws IOException
IOExceptionpublic static ContentItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ContentItem parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ContentItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ContentItem parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ContentItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ContentItem.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ContentItem.Builder newBuilder()
public static ContentItem.Builder newBuilder(ContentItem prototype)
public ContentItem.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ContentItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ContentItem getDefaultInstance()
public static com.google.protobuf.Parser<ContentItem> parser()
public com.google.protobuf.Parser<ContentItem> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ContentItem getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.