Class BatchContentItem (3.97.0)

public final class BatchContentItem extends GeneratedMessage implements BatchContentItemOrBuilder

Represents a batch of content to inspect or redact.

Protobuf type google.privacy.dlp.v2.BatchContentItem

Static Fields

STRING_VALUE_BATCH_FIELD_NUMBER

public static final int STRING_VALUE_BATCH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchContentItem getDefaultInstance()
Returns
Type Description
BatchContentItem

getDescriptor()

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

newBuilder()

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

newBuilder(BatchContentItem prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static BatchContentItem parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchContentItem
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<BatchContentItem> parser()
Returns
Type Description
Parser<BatchContentItem>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBatchCase()

public BatchContentItem.BatchCase getBatchCase()
Returns
Type Description
BatchContentItem.BatchCase

getDefaultInstanceForType()

public BatchContentItem getDefaultInstanceForType()
Returns
Type Description
BatchContentItem

getParserForType()

public Parser<BatchContentItem> getParserForType()
Returns
Type Description
Parser<BatchContentItem>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStringValueBatch()

public StringValueBatch getStringValueBatch()

Optional. Represents a batch of string values to inspect or redact.

.google.privacy.dlp.v2.StringValueBatch string_value_batch = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StringValueBatch

The stringValueBatch.

getStringValueBatchOrBuilder()

public StringValueBatchOrBuilder getStringValueBatchOrBuilder()

Optional. Represents a batch of string values to inspect or redact.

.google.privacy.dlp.v2.StringValueBatch string_value_batch = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StringValueBatchOrBuilder

hasStringValueBatch()

public boolean hasStringValueBatch()

Optional. Represents a batch of string values to inspect or redact.

.google.privacy.dlp.v2.StringValueBatch string_value_batch = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the stringValueBatch field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BatchContentItem.Builder newBuilderForType()
Returns
Type Description
BatchContentItem.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected BatchContentItem.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchContentItem.Builder
Overrides

toBuilder()

public BatchContentItem.Builder toBuilder()
Returns
Type Description
BatchContentItem.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException