Class ListDlpJobsResponse.Builder (3.50.0)

public static final class ListDlpJobsResponse.Builder extends GeneratedMessageV3.Builder<ListDlpJobsResponse.Builder> implements ListDlpJobsResponseOrBuilder

The response message for listing DLP jobs.

Protobuf type google.privacy.dlp.v2.ListDlpJobsResponse

Static Methods

getDescriptor()

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

Methods

addAllJobs(Iterable<? extends DlpJob> values)

public ListDlpJobsResponse.Builder addAllJobs(Iterable<? extends DlpJob> values)

A list of DlpJobs that matches the specified filter in the request.

repeated .google.privacy.dlp.v2.DlpJob jobs = 1;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.DlpJob>
Returns
Type Description
ListDlpJobsResponse.Builder

addJobs(DlpJob value)

public ListDlpJobsResponse.Builder addJobs(DlpJob value)

A list of DlpJobs that matches the specified filter in the request.

repeated .google.privacy.dlp.v2.DlpJob jobs = 1;

Parameter
Name Description
value DlpJob
Returns
Type Description
ListDlpJobsResponse.Builder

addJobs(DlpJob.Builder builderForValue)

public ListDlpJobsResponse.Builder addJobs(DlpJob.Builder builderForValue)

A list of DlpJobs that matches the specified filter in the request.

repeated .google.privacy.dlp.v2.DlpJob jobs = 1;

Parameter
Name Description
builderForValue DlpJob.Builder
Returns
Type Description
ListDlpJobsResponse.Builder

addJobs(int index, DlpJob value)

public ListDlpJobsResponse.Builder addJobs(int index, DlpJob value)

A list of DlpJobs that matches the specified filter in the request.

repeated .google.privacy.dlp.v2.DlpJob jobs = 1;

Parameters
Name Description
index int
value DlpJob
Returns
Type Description
ListDlpJobsResponse.Builder

addJobs(int index, DlpJob.Builder builderForValue)

public ListDlpJobsResponse.Builder addJobs(int index, DlpJob.Builder builderForValue)

A list of DlpJobs that matches the specified filter in the request.

repeated .google.privacy.dlp.v2.DlpJob jobs = 1;

Parameters
Name Description
index int
builderForValue DlpJob.Builder
Returns
Type Description
ListDlpJobsResponse.Builder

addJobsBuilder()

public DlpJob.Builder addJobsBuilder()

A list of DlpJobs that matches the specified filter in the request.

repeated .google.privacy.dlp.v2.DlpJob jobs = 1;

Returns
Type Description
DlpJob.Builder

addJobsBuilder(int index)

public DlpJob.Builder addJobsBuilder(int index)

A list of DlpJobs that matches the specified filter in the request.

repeated .google.privacy.dlp.v2.DlpJob jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
DlpJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListDlpJobsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListDlpJobsResponse.Builder
Overrides

build()

public ListDlpJobsResponse build()
Returns
Type Description
ListDlpJobsResponse

buildPartial()

public ListDlpJobsResponse buildPartial()
Returns
Type Description
ListDlpJobsResponse

clear()

public ListDlpJobsResponse.Builder clear()
Returns
Type Description