Class BatchContentLocation.Builder (3.97.0)

public static final class BatchContentLocation.Builder extends GeneratedMessage.Builder<BatchContentLocation.Builder> implements BatchContentLocationOrBuilder

Location within a batch of content.

Protobuf type google.privacy.dlp.v2.BatchContentLocation

Static Methods

getDescriptor()

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

Methods

build()

public BatchContentLocation build()
Returns
Type Description
BatchContentLocation

buildPartial()

public BatchContentLocation buildPartial()
Returns
Type Description
BatchContentLocation

clear()

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

clearItemIndex()

public BatchContentLocation.Builder clearItemIndex()

Matches an index of a batch item in the batch provided in the request.

int32 item_index = 1;

Returns
Type Description
BatchContentLocation.Builder

This builder for chaining.

getDefaultInstanceForType()

public BatchContentLocation getDefaultInstanceForType()
Returns
Type Description
BatchContentLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getItemIndex()

public int getItemIndex()

Matches an index of a batch item in the batch provided in the request.

int32 item_index = 1;

Returns
Type Description
int

The itemIndex.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchContentLocation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setItemIndex(int value)

public BatchContentLocation.Builder setItemIndex(int value)

Matches an index of a batch item in the batch provided in the request.

int32 item_index = 1;

Parameter
Name Description
value int

The itemIndex to set.

Returns
Type Description
BatchContentLocation.Builder

This builder for chaining.