Class ListJobTriggersResponse.Builder (3.28.0)

public static final class ListJobTriggersResponse.Builder extends GeneratedMessageV3.Builder<ListJobTriggersResponse.Builder> implements ListJobTriggersResponseOrBuilder

Response message for ListJobTriggers.

Protobuf type google.privacy.dlp.v2.ListJobTriggersResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllJobTriggers(Iterable<? extends JobTrigger> values)

public ListJobTriggersResponse.Builder addAllJobTriggers(Iterable<? extends JobTrigger> values)

List of triggeredJobs, up to page_size in ListJobTriggersRequest.

repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.JobTrigger>
Returns
TypeDescription
ListJobTriggersResponse.Builder

addJobTriggers(JobTrigger value)

public ListJobTriggersResponse.Builder addJobTriggers(JobTrigger value)

List of triggeredJobs, up to page_size in ListJobTriggersRequest.

repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;

Parameter
NameDescription
valueJobTrigger
Returns
TypeDescription
ListJobTriggersResponse.Builder

addJobTriggers(JobTrigger.Builder builderForValue)

public ListJobTriggersResponse.Builder addJobTriggers(JobTrigger.Builder builderForValue)

List of triggeredJobs, up to page_size in ListJobTriggersRequest.

repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;

Parameter
NameDescription
builderForValueJobTrigger.Builder
Returns
TypeDescription
ListJobTriggersResponse.Builder

addJobTriggers(int index, JobTrigger value)

public ListJobTriggersResponse.Builder addJobTriggers(int index, JobTrigger value)

List of triggeredJobs, up to page_size in ListJobTriggersRequest.

repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;

Parameters
NameDescription
indexint
valueJobTrigger
Returns
TypeDescription
ListJobTriggersResponse.Builder

addJobTriggers(int index, JobTrigger.Builder builderForValue)

public ListJobTriggersResponse.Builder addJobTriggers(int index, JobTrigger.Builder builderForValue)

List of triggeredJobs, up to page_size in ListJobTriggersRequest.

repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;

Parameters
NameDescription
indexint
builderForValueJobTrigger.Builder
Returns
TypeDescription
ListJobTriggersResponse.Builder

addJobTriggersBuilder()

public JobTrigger.Builder addJobTriggersBuilder()

List of triggeredJobs, up to page_size in ListJobTriggersRequest.

repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;

Returns
TypeDescription
JobTrigger.Builder

addJobTriggersBuilder(int index)

public JobTrigger.Builder addJobTriggersBuilder(int index)

List of triggeredJobs, up to page_size in ListJobTriggersRequest.

repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
JobTrigger.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListJobTriggersResponse build()
Returns
TypeDescription
ListJobTriggersResponse

buildPartial()

public ListJobTriggersResponse buildPartial()
Returns
TypeDescription
ListJobTriggersResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListJobTriggersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListJobTriggersResponse.Builder
Overrides

clearJobTriggers()

public ListJobTriggersResponse.Builder clearJobTriggers()

List of triggeredJobs, up to page_size in ListJobTriggersRequest.

repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;

Returns
TypeDescription
ListJobTriggersResponse.Builder

clearNextPageToken()

public ListJobTriggersResponse.Builder clearNextPageToken()

If the next page is available then the next page token to be used in following ListJobTriggers request.

string next_page_token = 2;

Returns
TypeDescription
ListJobTriggersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListJobTriggersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListJobTriggersResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getJobTriggers(int index)

public JobTrigger getJobTriggers(int index)

List of triggeredJobs, up to page_size in ListJobTriggersRequest.

repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
JobTrigger

getJobTriggersBuilder(int index)

public JobTrigger.Builder getJobTriggersBuilder(int index)

List of triggeredJobs, up to page_size in ListJobTriggersRequest.

repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
JobTrigger.Builder

getJobTriggersBuilderList()

public List<JobTrigger.Builder> getJobTriggersBuilderList()

List of triggeredJobs, up to page_size in ListJobTriggersRequest.

repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;

Returns
TypeDescription
List<Builder>

getJobTriggersCount()

public int getJobTriggersCount()

List of triggeredJobs, up to page_size in ListJobTriggersRequest.

repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;

Returns
TypeDescription
int

getJobTriggersList()

public List<JobTrigger> getJobTriggersList()

List of triggeredJobs, up to page_size in ListJobTriggersRequest.

repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;

Returns
TypeDescription
List<JobTrigger>

getJobTriggersOrBuilder(int index)

public JobTriggerOrBuilder getJobTriggersOrBuilder(int index)

List of triggeredJobs, up to page_size in ListJobTriggersRequest.

repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
JobTriggerOrBuilder

getJobTriggersOrBuilderList()

public List<? extends JobTriggerOrBuilder> getJobTriggersOrBuilderList()

List of triggeredJobs, up to page_size in ListJobTriggersRequest.

repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.JobTriggerOrBuilder>

getNextPageToken()

public String getNextPageToken()

If the next page is available then the next page token to be used in following ListJobTriggers request.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If the next page is available then the next page token to be used in following ListJobTriggers request.

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(ListJobTriggersResponse other)

public ListJobTriggersResponse.Builder mergeFrom(ListJobTriggersResponse other)
Parameter
NameDescription
otherListJobTriggersResponse
Returns
TypeDescription
ListJobTriggersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListJobTriggersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListJobTriggersResponse.Builder
Overrides

removeJobTriggers(int index)

public ListJobTriggersResponse.Builder removeJobTriggers(int index)

List of triggeredJobs, up to page_size in ListJobTriggersRequest.

repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListJobTriggersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobTriggers(int index, JobTrigger value)

public ListJobTriggersResponse.Builder setJobTriggers(int index, JobTrigger value)

List of triggeredJobs, up to page_size in ListJobTriggersRequest.

repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;

Parameters
NameDescription
indexint
valueJobTrigger
Returns
TypeDescription
ListJobTriggersResponse.Builder

setJobTriggers(int index, JobTrigger.Builder builderForValue)

public ListJobTriggersResponse.Builder setJobTriggers(int index, JobTrigger.Builder builderForValue)

List of triggeredJobs, up to page_size in ListJobTriggersRequest.

repeated .google.privacy.dlp.v2.JobTrigger job_triggers = 1;

Parameters
NameDescription
indexint
builderForValueJobTrigger.Builder
Returns
TypeDescription
ListJobTriggersResponse.Builder

setNextPageToken(String value)

public ListJobTriggersResponse.Builder setNextPageToken(String value)

If the next page is available then the next page token to be used in following ListJobTriggers request.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListJobTriggersResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListJobTriggersResponse.Builder setNextPageTokenBytes(ByteString value)

If the next page is available then the next page token to be used in following ListJobTriggers request.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListJobTriggersResponse.Builder

This builder for chaining.

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

public ListJobTriggersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListJobTriggersResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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