Class ByteContentItem (3.47.0)

public final class ByteContentItem extends GeneratedMessageV3 implements ByteContentItemOrBuilder

Container for bytes to inspect or redact.

Protobuf type google.privacy.dlp.v2.ByteContentItem

Static Fields

DATA_FIELD_NUMBER

public static final int DATA_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ByteContentItem getDefaultInstance()
Returns
Type Description
ByteContentItem

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ByteContentItem.Builder newBuilder()
Returns
Type Description
ByteContentItem.Builder

newBuilder(ByteContentItem prototype)

public static ByteContentItem.Builder newBuilder(ByteContentItem prototype)
Parameter
Name Description
prototype ByteContentItem
Returns
Type Description
ByteContentItem.Builder

parseDelimitedFrom(InputStream input)

public static ByteContentItem parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ByteContentItem
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ByteContentItem parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ByteContentItem
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ByteContentItem parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ByteContentItem
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ByteContentItem parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ByteContentItem
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ByteContentItem parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ByteContentItem
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ByteContentItem parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ByteContentItem
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ByteContentItem parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ByteContentItem
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ByteContentItem parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ByteContentItem
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ByteContentItem parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ByteContentItem
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ByteContentItem parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description