public final class ContentItem extends GeneratedMessageV3 implements ContentItemOrBuilder
Container structure for the content to inspect.
Protobuf type google.privacy.dlp.v2.ContentItem
Static Fields
BYTE_ITEM_FIELD_NUMBER
public static final int BYTE_ITEM_FIELD_NUMBER
Field Value
TABLE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
Field Value
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ContentItem getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ContentItem.Builder newBuilder()
Returns
newBuilder(ContentItem prototype)
public static ContentItem.Builder newBuilder(ContentItem prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static ContentItem parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContentItem parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ContentItem parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContentItem parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ContentItem parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContentItem parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static ContentItem parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ContentItem parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static ContentItem parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContentItem parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ContentItem parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContentItem parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ContentItem> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getByteItem()
public ByteContentItem getByteItem()
Content data to inspect or redact. Replaces type
and data
.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
Returns
getByteItemOrBuilder()
public ByteContentItemOrBuilder getByteItemOrBuilder()
Content data to inspect or redact. Replaces type
and data
.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
Returns
getDataItemCase()
public ContentItem.DataItemCase getDataItemCase()
Returns
getDefaultInstanceForType()
public ContentItem getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ContentItem> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTable()
Returns
Type | Description |
Table | The table.
|
getTableOrBuilder()
public TableOrBuilder getTableOrBuilder()
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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.
|
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ContentItem.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ContentItem.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ContentItem.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions