public final class ContentItem extends GeneratedMessageV3 implements ContentItemOrBuilder
Container structure for the content to inspect.Protobuf type
google.privacy.dlp.v2beta2.ContentItem| Modifier and Type | Class and Description |
|---|---|
static class |
ContentItem.Builder
Container structure for the content to inspect.
|
static class |
ContentItem.DataItemCase |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
DATA_FIELD_NUMBER |
static int |
TABLE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int TYPE_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public ContentItem.DataItemCase getDataItemCase()
getDataItemCase in interface ContentItemOrBuilderpublic java.lang.String getType()
Type of the content, as defined in Content-Type HTTP header. Supported types are: all "text" types, octet streams, PNG images, JPEG images.
string type = 1;getType in interface ContentItemOrBuilderpublic ByteString getTypeBytes()
Type of the content, as defined in Content-Type HTTP header. Supported types are: all "text" types, octet streams, PNG images, JPEG images.
string type = 1;getTypeBytes in interface ContentItemOrBuilderpublic ByteString getData()
Content data to inspect or redact.
bytes data = 2;getData in interface ContentItemOrBuilderpublic java.lang.String getValue()
String data to inspect or redact.
string value = 3;getValue in interface ContentItemOrBuilderpublic ByteString getValueBytes()
String data to inspect or redact.
string value = 3;getValueBytes in interface ContentItemOrBuilderpublic boolean hasTable()
Structured content for inspection.
.google.privacy.dlp.v2beta2.Table table = 4;hasTable in interface ContentItemOrBuilderpublic Table getTable()
Structured content for inspection.
.google.privacy.dlp.v2beta2.Table table = 4;getTable in interface ContentItemOrBuilderpublic TableOrBuilder getTableOrBuilder()
Structured content for inspection.
.google.privacy.dlp.v2beta2.Table table = 4;getTableOrBuilder in interface ContentItemOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static ContentItem parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ContentItem parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ContentItem parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ContentItem parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ContentItem parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ContentItem parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ContentItem parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ContentItem parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ContentItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ContentItem parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ContentItem parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ContentItem parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ContentItem.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ContentItem.Builder newBuilder()
public static ContentItem.Builder newBuilder(ContentItem prototype)
public ContentItem.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ContentItem.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static ContentItem getDefaultInstance()
public static Parser<ContentItem> parser()
public Parser<ContentItem> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public ContentItem getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder