public final class ContentItem extends GeneratedMessageV3 implements ContentItemOrBuilder
Protobuf type google.privacy.dlp.v2.ContentItem
Static Fields
BYTE_ITEM_FIELD_NUMBER
public static final int BYTE_ITEM_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
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;
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()
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
ByteString | The bytes for value.
|
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ContentItem.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ContentItem.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ContentItem.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides