Class ListJobsResponse.Builder (0.10.0)

Stay organized with collections Save and categorize content based on your preferences.
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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.dataflow.v1beta3.FailedLocation>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.dataflow.v1beta3.Job>
Returns
TypeDescription
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
NameDescription
valueFailedLocation
Returns
TypeDescription
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
NameDescription
builderForValueFailedLocation.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueFailedLocation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFailedLocation.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueJob
Returns
TypeDescription
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
NameDescription
builderForValueJob.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueJob
Returns
TypeDescription
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
NameDescription
indexint
builderForValueJob.Builder
Returns
TypeDescription
ListJobsResponse.Builder

addJobsBuilder()

public Job.Builder addJobsBuilder()

A subset of the requested job information.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Job.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListJobsResponse build()
Returns
TypeDescription
ListJobsResponse

buildPartial()

public ListJobsResponse buildPartial()
Returns
TypeDescription
ListJobsResponse

clear()

public ListJobsResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListJobsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearJobs()

public ListJobsResponse.Builder clearJobs()

A subset of the requested job information.

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

Returns
TypeDescription
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
TypeDescription
ListJobsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListJobsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListJobsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int