Class BatchContentItem.Builder (3.97.0)

public static final class BatchContentItem.Builder extends GeneratedMessage.Builder<BatchContentItem.Builder> implements BatchContentItemOrBuilder

Represents a batch of content to inspect or redact.

Protobuf type google.privacy.dlp.v2.BatchContentItem

Static Methods

getDescriptor()

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

Methods

build()

public BatchContentItem build()
Returns
Type Description
BatchContentItem

buildPartial()

public BatchContentItem buildPartial()
Returns
Type Description
BatchContentItem

clear()

public BatchContentItem.Builder clear()
Returns
Type Description
BatchContentItem.Builder
Overrides

clearBatch()

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

clearStringValueBatch()

public BatchContentItem.Builder clearStringValueBatch()

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
BatchContentItem.Builder

getBatchCase()

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

getDefaultInstanceForType()

public BatchContentItem getDefaultInstanceForType()
Returns
Type Description
BatchContentItem

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getStringValueBatchBuilder()

public StringValueBatch.Builder getStringValueBatchBuilder()

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.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchContentItem other)

public BatchContentItem.Builder mergeFrom(BatchContentItem other)
Parameter
Name Description
other BatchContentItem
Returns
Type Description
BatchContentItem.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchContentItem.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchContentItem.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchContentItem.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchContentItem.Builder
Overrides

mergeStringValueBatch(StringValueBatch value)

public BatchContentItem.Builder mergeStringValueBatch(StringValueBatch value)

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];

Parameter
Name Description
value StringValueBatch
Returns
Type Description
BatchContentItem.Builder

setStringValueBatch(StringValueBatch value)

public BatchContentItem.Builder setStringValueBatch(StringValueBatch value)

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];

Parameter
Name Description
value StringValueBatch
Returns
Type Description
BatchContentItem.Builder

setStringValueBatch(StringValueBatch.Builder builderForValue)

public BatchContentItem.Builder setStringValueBatch(StringValueBatch.Builder builderForValue)

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];

Parameter
Name Description
builderForValue StringValueBatch.Builder
Returns
Type Description
BatchContentItem.Builder