Class ListDlpJobsResponse.Builder (3.87.0)

public static final class ListDlpJobsResponse.Builder extends GeneratedMessage.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

build()

public ListDlpJobsResponse build()
Returns
Type Description
ListDlpJobsResponse

buildPartial()

public ListDlpJobsResponse buildPartial()
Returns
Type Description
ListDlpJobsResponse

clear()

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

clearJobs()

public ListDlpJobsResponse.Builder clearJobs()

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

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

Returns
Type Description
ListDlpJobsResponse.Builder

clearNextPageToken()

public ListDlpJobsResponse.Builder clearNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
Type Description
ListDlpJobsResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListDlpJobsResponse getDefaultInstanceForType()
Returns
Type Description
ListDlpJobsResponse

getDescriptorForType()

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

getJobs(int index)

public DlpJob getJobs(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

getJobsBuilder(int index)

public DlpJob.Builder getJobsBuilder(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

getJobsBuilderList()

public List<DlpJob.Builder> getJobsBuilderList()

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

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

Returns
Type Description
List<Builder>

getJobsCount()

public int getJobsCount()

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

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

Returns
Type Description
int

getJobsList()

public List<DlpJob> getJobsList()

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

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

Returns
Type Description
List<DlpJob>

getJobsOrBuilder(int index)

public DlpJobOrBuilder getJobsOrBuilder(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
DlpJobOrBuilder

getJobsOrBuilderList()

public List<? extends DlpJobOrBuilder> getJobsOrBuilderList()

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

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

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.DlpJobOrBuilder>

getNextPageToken()

public String getNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The standard List next-page token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDlpJobsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeJobs(int index)

public ListDlpJobsResponse.Builder removeJobs(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
ListDlpJobsResponse.Builder

setJobs(int index, DlpJob value)

public ListDlpJobsResponse.Builder setJobs(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

setJobs(int index, DlpJob.Builder builderForValue)

public ListDlpJobsResponse.Builder setJobs(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

setNextPageToken(String value)

public ListDlpJobsResponse.Builder setNextPageToken(String value)

The standard List next-page token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDlpJobsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDlpJobsResponse.Builder setNextPageTokenBytes(ByteString value)

The standard List next-page token.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDlpJobsResponse.Builder

This builder for chaining.