Class ListJobsRequest.Builder (0.46.0)

public static final class ListJobsRequest.Builder extends GeneratedMessageV3.Builder<ListJobsRequest.Builder> implements ListJobsRequestOrBuilder

Request to list Cloud Dataflow jobs.

Protobuf type google.dataflow.v1beta3.ListJobsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListJobsRequest build()
Returns
Type Description
ListJobsRequest

buildPartial()

public ListJobsRequest buildPartial()
Returns
Type Description
ListJobsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ListJobsRequest.Builder clearFilter()

The kind of filter to use.

.google.dataflow.v1beta3.ListJobsRequest.Filter filter = 5;

Returns
Type Description
ListJobsRequest.Builder

This builder for chaining.

clearLocation()

public ListJobsRequest.Builder clearLocation()

The regional endpoint that contains this job.

string location = 17;

Returns
Type Description
ListJobsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListJobsRequest.Builder clearPageSize()

If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit.

int32 page_size = 3;

Returns
Type Description
ListJobsRequest.Builder

This builder for chaining.

clearPageToken()

public ListJobsRequest.Builder clearPageToken()

Set this to the 'next_page_token' field of a previous response to request additional results in a long list.

string page_token = 4;

Returns
Type Description
ListJobsRequest.Builder

This builder for chaining.

clearProjectId()

public ListJobsRequest.Builder clearProjectId()

The project which owns the jobs.

string project_id = 1;

Returns
Type Description
ListJobsRequest.Builder

This builder for chaining.

clearView() (deprecated)

public ListJobsRequest.Builder clearView()

Deprecated. google.dataflow.v1beta3.ListJobsRequest.view is deprecated. See google/dataflow/v1beta3/jobs.proto;l=849

Deprecated. ListJobs always returns summaries now. Use GetJob for other JobViews.

.google.dataflow.v1beta3.JobView view = 2 [deprecated = true];

Returns
Type Description
ListJobsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListJobsRequest getDefaultInstanceForType()
Returns
Type Description
ListJobsRequest

getDescriptorForType()

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

getFilter()

public ListJobsRequest.Filter getFilter()

The kind of filter to use.

.google.dataflow.v1beta3.ListJobsRequest.Filter filter = 5;

Returns
Type Description
ListJobsRequest.Filter

The filter.

getFilterValue()

public int getFilterValue()

The kind of filter to use.

.google.dataflow.v1beta3.ListJobsRequest.Filter filter = 5;

Returns
Type Description
int

The enum numeric value on the wire for filter.

getLocation()

public String getLocation()

The regional endpoint that contains this job.

string location = 17;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The regional endpoint that contains this job.

string location = 17;

Returns
Type Description
ByteString

The bytes for location.

getPageSize()

public int getPageSize()

If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit.

int32 page_size = 3;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Set this to the 'next_page_token' field of a previous response to request additional results in a long list.

string page_token = 4;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Set this to the 'next_page_token' field of a previous response to request additional results in a long list.

string page_token = 4;

Returns
Type Description
ByteString

The bytes for pageToken.

getProjectId()

public String getProjectId()

The project which owns the jobs.

string project_id = 1;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

The project which owns the jobs.

string project_id = 1;

Returns
Type Description
ByteString

The bytes for projectId.

getView() (deprecated)

public JobView getView()

Deprecated. google.dataflow.v1beta3.ListJobsRequest.view is deprecated. See google/dataflow/v1beta3/jobs.proto;l=849

Deprecated. ListJobs always returns summaries now. Use GetJob for other JobViews.

.google.dataflow.v1beta3.JobView view = 2 [deprecated = true];

Returns
Type Description
JobView

The view.

getViewValue() (deprecated)

public int getViewValue()

Deprecated. google.dataflow.v1beta3.ListJobsRequest.view is deprecated. See google/dataflow/v1beta3/jobs.proto;l=849

Deprecated. ListJobs always returns summaries now. Use GetJob for other JobViews.

.google.dataflow.v1beta3.JobView view = 2 [deprecated = true];

Returns
Type Description
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListJobsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(ListJobsRequest.Filter value)

public ListJobsRequest.Builder setFilter(ListJobsRequest.Filter value)

The kind of filter to use.

.google.dataflow.v1beta3.ListJobsRequest.Filter filter = 5;

Parameter
Name Description
value ListJobsRequest.Filter

The filter to set.

Returns
Type Description
ListJobsRequest.Builder

This builder for chaining.

setFilterValue(int value)

public ListJobsRequest.Builder setFilterValue(int value)

The kind of filter to use.

.google.dataflow.v1beta3.ListJobsRequest.Filter filter = 5;

Parameter
Name Description
value int

The enum numeric value on the wire for filter to set.

Returns
Type Description
ListJobsRequest.Builder

This builder for chaining.

setLocation(String value)

public ListJobsRequest.Builder setLocation(String value)

The regional endpoint that contains this job.

string location = 17;

Parameter
Name Description
value String

The location to set.

Returns
Type Description
ListJobsRequest.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public ListJobsRequest.Builder setLocationBytes(ByteString value)

The regional endpoint that contains this job.

string location = 17;

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
ListJobsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListJobsRequest.Builder setPageSize(int value)

If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit.

int32 page_size = 3;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListJobsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListJobsRequest.Builder setPageToken(String value)

Set this to the 'next_page_token' field of a previous response to request additional results in a long list.

string page_token = 4;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListJobsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListJobsRequest.Builder setPageTokenBytes(ByteString value)

Set this to the 'next_page_token' field of a previous response to request additional results in a long list.

string page_token = 4;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListJobsRequest.Builder

This builder for chaining.

setProjectId(String value)

public ListJobsRequest.Builder setProjectId(String value)

The project which owns the jobs.

string project_id = 1;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
ListJobsRequest.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public ListJobsRequest.Builder setProjectIdBytes(ByteString value)

The project which owns the jobs.

string project_id = 1;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
ListJobsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setView(JobView value) (deprecated)

public ListJobsRequest.Builder setView(JobView value)

Deprecated. google.dataflow.v1beta3.ListJobsRequest.view is deprecated. See google/dataflow/v1beta3/jobs.proto;l=849

Deprecated. ListJobs always returns summaries now. Use GetJob for other JobViews.

.google.dataflow.v1beta3.JobView view = 2 [deprecated = true];

Parameter
Name Description
value JobView

The view to set.

Returns
Type Description
ListJobsRequest.Builder

This builder for chaining.

setViewValue(int value) (deprecated)

public ListJobsRequest.Builder setViewValue(int value)

Deprecated. google.dataflow.v1beta3.ListJobsRequest.view is deprecated. See google/dataflow/v1beta3/jobs.proto;l=849

Deprecated. ListJobs always returns summaries now. Use GetJob for other JobViews.

.google.dataflow.v1beta3.JobView view = 2 [deprecated = true];

Parameter
Name Description
value int

The enum numeric value on the wire for view to set.

Returns
Type Description
ListJobsRequest.Builder

This builder for chaining.