Class ListJobsRequest.Builder (0.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListJobsRequest build()
Returns
TypeDescription
ListJobsRequest

buildPartial()

public ListJobsRequest buildPartial()
Returns
TypeDescription
ListJobsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ListJobsRequest.Builder clearFilter()

The kind of filter to use.

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

Returns
TypeDescription
ListJobsRequest.Builder

This builder for chaining.

clearLocation()

public ListJobsRequest.Builder clearLocation()

The regional endpoint that contains this job.

string location = 17;

Returns
TypeDescription
ListJobsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListJobsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListJobsRequest.Builder

This builder for chaining.

clearProjectId()

public ListJobsRequest.Builder clearProjectId()

The project which owns the jobs.

string project_id = 1;

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListJobsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListJobsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public ListJobsRequest.Filter getFilter()

The kind of filter to use.

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

Returns
TypeDescription
ListJobsRequest.Filter

The filter.

getFilterValue()

public int getFilterValue()

The kind of filter to use.

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

Returns
TypeDescription
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
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The regional endpoint that contains this job.

string location = 17;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for pageToken.

getProjectId()

public String getProjectId()

The project which owns the jobs.

string project_id = 1;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

The project which owns the jobs.

string project_id = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListJobsRequest other)

public ListJobsRequest.Builder mergeFrom(ListJobsRequest other)
Parameter
NameDescription
otherListJobsRequest
Returns
TypeDescription
ListJobsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListJobsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueListJobsRequest.Filter

The filter to set.

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

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

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

The location to set.

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

The bytes for location to set.

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The projectId to set.

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

The bytes for projectId to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ListJobsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueJobView

The view to set.

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

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

Returns
TypeDescription
ListJobsRequest.Builder

This builder for chaining.