Class ListJobsResponse.Builder (0.46.0)

public static final class ListJobsResponse.Builder extends GeneratedMessageV3.Builder<ListJobsResponse.Builder> implements ListJobsResponseOrBuilder

Response to a request to list Cloud Dataflow jobs in a project. This might be a partial response, depending on the page size in the ListJobsRequest. However, if the project does not have any jobs, an instance of ListJobsResponse is not returned and the requests's response body is empty {}.

Protobuf type google.dataflow.v1beta3.ListJobsResponse

Static Methods

getDescriptor()

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

Methods

addAllFailedLocation(Iterable<? extends FailedLocation> values)

public ListJobsResponse.Builder addAllFailedLocation(Iterable<? extends FailedLocation> values)

Zero or more messages describing the regional endpoints that failed to respond.

repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;

Parameter
Name Description
values Iterable<? extends com.google.dataflow.v1beta3.FailedLocation>
Returns
Type Description
ListJobsResponse.Builder

addAllJobs(Iterable<? extends Job> values)

public ListJobsResponse.Builder addAllJobs(Iterable<? extends Job> values)

A subset of the requested job information.

repeated .google.dataflow.v1beta3.Job jobs = 1;

Parameter
Name Description
values Iterable<? extends com.google.dataflow.v1beta3.Job>
Returns
Type Description
ListJobsResponse.Builder

addFailedLocation(FailedLocation value)

public ListJobsResponse.Builder addFailedLocation(FailedLocation value)

Zero or more messages describing the regional endpoints that failed to respond.

repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;

Parameter
Name Description
value FailedLocation
Returns
Type Description
ListJobsResponse.Builder

addFailedLocation(FailedLocation.Builder builderForValue)

public ListJobsResponse.Builder addFailedLocation(FailedLocation.Builder builderForValue)

Zero or more messages describing the regional endpoints that failed to respond.

repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;

Parameter
Name Description
builderForValue FailedLocation.Builder
Returns
Type Description
ListJobsResponse.Builder

addFailedLocation(int index, FailedLocation value)

public ListJobsResponse.Builder addFailedLocation(int index, FailedLocation value)

Zero or more messages describing the regional endpoints that failed to respond.

repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;

Parameters
Name Description
index int
value FailedLocation
Returns
Type Description
ListJobsResponse.Builder

addFailedLocation(int index, FailedLocation.Builder builderForValue)

public ListJobsResponse.Builder addFailedLocation(int index, FailedLocation.Builder builderForValue)

Zero or more messages describing the regional endpoints that failed to respond.

repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;

Parameters
Name Description
index int
builderForValue FailedLocation.Builder
Returns
Type Description
ListJobsResponse.Builder

addFailedLocationBuilder()

public FailedLocation.Builder addFailedLocationBuilder()

Zero or more messages describing the regional endpoints that failed to respond.

repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;

Returns
Type Description
FailedLocation.Builder

addFailedLocationBuilder(int index)

public FailedLocation.Builder addFailedLocationBuilder(int index)

Zero or more messages describing the regional endpoints that failed to respond.

repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;

Parameter
Name Description
index int
Returns
Type Description
FailedLocation.Builder

addJobs(Job value)

public ListJobsResponse.Builder addJobs(Job value)

A subset of the requested job information.

repeated .google.dataflow.v1beta3.Job jobs = 1;

Parameter
Name Description
value Job
Returns
Type Description
ListJobsResponse.Builder

addJobs(Job.Builder builderForValue)

public ListJobsResponse.Builder addJobs(Job.Builder builderForValue)

A subset of the requested job information.

repeated .google.dataflow.v1beta3.Job jobs = 1;

Parameter
Name Description
builderForValue Job.Builder
Returns
Type Description
ListJobsResponse.Builder

addJobs(int index, Job value)

public ListJobsResponse.Builder addJobs(int index, Job value)

A subset of the requested job information.

repeated .google.dataflow.v1beta3.Job jobs = 1;

Parameters
Name Description
index int
value Job
Returns
Type Description
ListJobsResponse.Builder

addJobs(int index, Job.Builder builderForValue)

public ListJobsResponse.Builder addJobs(int index, Job.Builder builderForValue)

A subset of the requested job information.

repeated .google.dataflow.v1beta3.Job jobs = 1;

Parameters
Name Description
index int
builderForValue Job.Builder
Returns
Type Description
ListJobsResponse.Builder

addJobsBuilder()

public Job.Builder addJobsBuilder()

A subset of the requested job information.

repeated .google.dataflow.v1beta3.Job jobs = 1;

Returns
Type Description
Job.Builder

addJobsBuilder(int index)

public Job.Builder addJobsBuilder(int index)

A subset of the requested job information.

repeated .google.dataflow.v1beta3.Job jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
Job.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListJobsResponse build()
Returns
Type Description
ListJobsResponse

buildPartial()

public ListJobsResponse buildPartial()
Returns
Type Description
ListJobsResponse

clear()

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

clearFailedLocation()

public ListJobsResponse.Builder clearFailedLocation()

Zero or more messages describing the regional endpoints that failed to respond.

repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;

Returns
Type Description
ListJobsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListJobsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListJobsResponse.Builder
Overrides

clearJobs()

public ListJobsResponse.Builder clearJobs()

A subset of the requested job information.

repeated .google.dataflow.v1beta3.Job jobs = 1;

Returns
Type Description
ListJobsResponse.Builder

clearNextPageToken()

public ListJobsResponse.Builder clearNextPageToken()

Set if there may be more results than fit in this response.

string next_page_token = 2;

Returns
Type Description
ListJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListJobsResponse getDefaultInstanceForType()
Returns
Type Description
ListJobsResponse

getDescriptorForType()

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

getFailedLocation(int index)

public FailedLocation getFailedLocation(int index)

Zero or more messages describing the regional endpoints that failed to respond.

repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;

Parameter
Name Description
index int
Returns
Type Description
FailedLocation

getFailedLocationBuilder(int index)

public FailedLocation.Builder getFailedLocationBuilder(int index)

Zero or more messages describing the regional endpoints that failed to respond.

repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;

Parameter
Name Description
index int
Returns
Type Description
FailedLocation.Builder

getFailedLocationBuilderList()

public List<FailedLocation.Builder> getFailedLocationBuilderList()

Zero or more messages describing the regional endpoints that failed to respond.

repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;

Returns
Type Description
List<Builder>

getFailedLocationCount()

public int getFailedLocationCount()

Zero or more messages describing the regional endpoints that failed to respond.

repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;

Returns
Type Description
int

getFailedLocationList()

public List<FailedLocation> getFailedLocationList()

Zero or more messages describing the regional endpoints that failed to respond.

repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;

Returns
Type Description
List<FailedLocation>

getFailedLocationOrBuilder(int index)

public FailedLocationOrBuilder getFailedLocationOrBuilder(int index)

Zero or more messages describing the regional endpoints that failed to respond.

repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;

Parameter
Name Description
index int
Returns
Type Description
FailedLocationOrBuilder

getFailedLocationOrBuilderList()

public List<? extends FailedLocationOrBuilder> getFailedLocationOrBuilderList()

Zero or more messages describing the regional endpoints that failed to respond.

repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;

Returns
Type Description
List<? extends com.google.dataflow.v1beta3.FailedLocationOrBuilder>

getJobs(int index)

public Job getJobs(int index)

A subset of the requested job information.

repeated .google.dataflow.v1beta3.Job jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
Job

getJobsBuilder(int index)

public Job.Builder getJobsBuilder(int index)

A subset of the requested job information.

repeated .google.dataflow.v1beta3.Job jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
Job.Builder

getJobsBuilderList()

public List<Job.Builder> getJobsBuilderList()

A subset of the requested job information.

repeated .google.dataflow.v1beta3.Job jobs = 1;

Returns
Type Description
List<Builder>

getJobsCount()

public int getJobsCount()

A subset of the requested job information.

repeated .google.dataflow.v1beta3.Job jobs = 1;

Returns
Type Description
int

getJobsList()

public List<Job> getJobsList()

A subset of the requested job information.

repeated .google.dataflow.v1beta3.Job jobs = 1;

Returns
Type Description
List<Job>

getJobsOrBuilder(int index)

public JobOrBuilder getJobsOrBuilder(int index)

A subset of the requested job information.

repeated .google.dataflow.v1beta3.Job jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
JobOrBuilder

getJobsOrBuilderList()

public List<? extends JobOrBuilder> getJobsOrBuilderList()

A subset of the requested job information.

repeated .google.dataflow.v1beta3.Job jobs = 1;

Returns
Type Description
List<? extends com.google.dataflow.v1beta3.JobOrBuilder>

getNextPageToken()

public String getNextPageToken()

Set if there may be more results than fit in this response.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Set if there may be more results than fit in this response.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListJobsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListJobsResponse.Builder
Overrides

removeFailedLocation(int index)

public ListJobsResponse.Builder removeFailedLocation(int index)

Zero or more messages describing the regional endpoints that failed to respond.

repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;

Parameter
Name Description
index int
Returns
Type Description
ListJobsResponse.Builder

removeJobs(int index)

public ListJobsResponse.Builder removeJobs(int index)

A subset of the requested job information.

repeated .google.dataflow.v1beta3.Job jobs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListJobsResponse.Builder

setFailedLocation(int index, FailedLocation value)

public ListJobsResponse.Builder setFailedLocation(int index, FailedLocation value)

Zero or more messages describing the regional endpoints that failed to respond.

repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;

Parameters
Name Description
index int
value FailedLocation
Returns
Type Description
ListJobsResponse.Builder

setFailedLocation(int index, FailedLocation.Builder builderForValue)

public ListJobsResponse.Builder setFailedLocation(int index, FailedLocation.Builder builderForValue)

Zero or more messages describing the regional endpoints that failed to respond.

repeated .google.dataflow.v1beta3.FailedLocation failed_location = 3;

Parameters
Name Description
index int
builderForValue FailedLocation.Builder
Returns
Type Description
ListJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobs(int index, Job value)

public ListJobsResponse.Builder setJobs(int index, Job value)

A subset of the requested job information.

repeated .google.dataflow.v1beta3.Job jobs = 1;

Parameters
Name Description
index int
value Job
Returns
Type Description
ListJobsResponse.Builder

setJobs(int index, Job.Builder builderForValue)

public ListJobsResponse.Builder setJobs(int index, Job.Builder builderForValue)

A subset of the requested job information.

repeated .google.dataflow.v1beta3.Job jobs = 1;

Parameters
Name Description
index int
builderForValue Job.Builder
Returns
Type Description
ListJobsResponse.Builder

setNextPageToken(String value)

public ListJobsResponse.Builder setNextPageToken(String value)

Set if there may be more results than fit in this response.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListJobsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListJobsResponse.Builder setNextPageTokenBytes(ByteString value)

Set if there may be more results than fit in this response.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListJobsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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