Class ListDlpJobsResponse.Builder (3.48.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
ListDlpJobsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListDlpJobsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDlpJobsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListDlpJobsResponse.Builder
Overrides

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDlpJobsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDlpJobsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListDlpJobsResponse.Builder
Overrides