Class ListDlpJobsResponse.Builder (3.23.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.DlpJob>
Returns
TypeDescription
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
NameDescription
valueDlpJob
Returns
TypeDescription
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
NameDescription
builderForValueDlpJob.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDlpJob
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDlpJob.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DlpJob.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListDlpJobsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListDlpJobsResponse.Builder
Overrides

build()

public ListDlpJobsResponse build()
Returns
TypeDescription
ListDlpJobsResponse

buildPartial()

public ListDlpJobsResponse buildPartial()
Returns
TypeDescription
ListDlpJobsResponse

clear()

public ListDlpJobsResponse.Builder clear()
Returns
TypeDescription
ListDlpJobsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListDlpJobsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListDlpJobsResponse.Builder

clearNextPageToken()

public ListDlpJobsResponse.Builder clearNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
TypeDescription
ListDlpJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDlpJobsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListDlpJobsResponse.Builder
Overrides

clone()

public ListDlpJobsResponse.Builder clone()
Returns
TypeDescription
ListDlpJobsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListDlpJobsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDlpJobsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.privacy.dlp.v2.DlpJobOrBuilder>

getNextPageToken()

public String getNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The standard List next-page token.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDlpJobsResponse other)

public ListDlpJobsResponse.Builder mergeFrom(ListDlpJobsResponse other)
Parameter
NameDescription
otherListDlpJobsResponse
Returns
TypeDescription
ListDlpJobsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListDlpJobsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDlpJobsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListDlpJobsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListDlpJobsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDlpJobsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListDlpJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListDlpJobsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueDlpJob
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDlpJob.Builder
Returns
TypeDescription
ListDlpJobsResponse.Builder

setNextPageToken(String value)

public ListDlpJobsResponse.Builder setNextPageToken(String value)

The standard List next-page token.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDlpJobsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDlpJobsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDlpJobsResponse.Builder
Overrides