Class ListJobMessagesRequest.Builder (0.50.0)

public static final class ListJobMessagesRequest.Builder extends GeneratedMessageV3.Builder<ListJobMessagesRequest.Builder> implements ListJobMessagesRequestOrBuilder

Request to list job messages. Up to max_results messages will be returned in the time range specified starting with the oldest messages first. If no time range is specified the results with start with the oldest message.

Protobuf type google.dataflow.v1beta3.ListJobMessagesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListJobMessagesRequest build()
Returns
Type Description
ListJobMessagesRequest

buildPartial()

public ListJobMessagesRequest buildPartial()
Returns
Type Description
ListJobMessagesRequest

clear()

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

clearEndTime()

public ListJobMessagesRequest.Builder clearEndTime()

Return only messages with timestamps < end_time. The default is now (i.e. return up to the latest messages available).

.google.protobuf.Timestamp end_time = 7;

Returns
Type Description
ListJobMessagesRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearJobId()

public ListJobMessagesRequest.Builder clearJobId()

The job to get messages about.

string job_id = 2;

Returns
Type Description
ListJobMessagesRequest.Builder

This builder for chaining.

clearLocation()

public ListJobMessagesRequest.Builder clearLocation()

The regional endpoint that contains the job specified by job_id.

string location = 8;

Returns
Type Description
ListJobMessagesRequest.Builder

This builder for chaining.

clearMinimumImportance()

public ListJobMessagesRequest.Builder clearMinimumImportance()

Filter to only get messages with importance >= level

.google.dataflow.v1beta3.JobMessageImportance minimum_importance = 3;

Returns
Type Description
ListJobMessagesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListJobMessagesRequest.Builder clearPageSize()

If specified, determines the maximum number of messages to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results.

int32 page_size = 4;

Returns
Type Description
ListJobMessagesRequest.Builder

This builder for chaining.

clearPageToken()

public ListJobMessagesRequest.Builder clearPageToken()

If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned.

string page_token = 5;

Returns
Type Description
ListJobMessagesRequest.Builder

This builder for chaining.

clearProjectId()

public ListJobMessagesRequest.Builder clearProjectId()

A project id.

string project_id = 1;

Returns
Type Description
ListJobMessagesRequest.Builder

This builder for chaining.

clearStartTime()

public ListJobMessagesRequest.Builder clearStartTime()

If specified, return only messages with timestamps >= start_time. The default is the job creation time (i.e. beginning of messages).

.google.protobuf.Timestamp start_time = 6;

Returns
Type Description
ListJobMessagesRequest.Builder

clone()

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

getDefaultInstanceForType()

public ListJobMessagesRequest getDefaultInstanceForType()
Returns
Type Description
ListJobMessagesRequest

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

Return only messages with timestamps < end_time. The default is now (i.e. return up to the latest messages available).

.google.protobuf.Timestamp end_time = 7;

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Return only messages with timestamps < end_time. The default is now (i.e. return up to the latest messages available).

.google.protobuf.Timestamp end_time = 7;

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Return only messages with timestamps < end_time. The default is now (i.e. return up to the latest messages available).

.google.protobuf.Timestamp end_time = 7;

Returns
Type Description
TimestampOrBuilder

getJobId()

public String getJobId()

The job to get messages about.

string job_id = 2;

Returns
Type Description
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

The job to get messages about.

string job_id = 2;

Returns
Type Description
ByteString

The bytes for jobId.

getLocation()

public String getLocation()

The regional endpoint that contains the job specified by job_id.

string location = 8;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The regional endpoint that contains the job specified by job_id.

string location = 8;

Returns
Type Description
ByteString

The bytes for location.

getMinimumImportance()

public JobMessageImportance getMinimumImportance()

Filter to only get messages with importance >= level

.google.dataflow.v1beta3.JobMessageImportance minimum_importance = 3;

Returns
Type Description
JobMessageImportance

The minimumImportance.

getMinimumImportanceValue()

public int getMinimumImportanceValue()

Filter to only get messages with importance >= level

.google.dataflow.v1beta3.JobMessageImportance minimum_importance = 3;

Returns
Type Description
int

The enum numeric value on the wire for minimumImportance.

getPageSize()

public int getPageSize()

If specified, determines the maximum number of messages to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results.

int32 page_size = 4;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned.

string page_token = 5;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned.

string page_token = 5;

Returns
Type Description
ByteString

The bytes for pageToken.

getProjectId()

public String getProjectId()

A project id.

string project_id = 1;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

A project id.

string project_id = 1;

Returns
Type Description
ByteString

The bytes for projectId.

getStartTime()

public Timestamp getStartTime()

If specified, return only messages with timestamps >= start_time. The default is the job creation time (i.e. beginning of messages).

.google.protobuf.Timestamp start_time = 6;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

If specified, return only messages with timestamps >= start_time. The default is the job creation time (i.e. beginning of messages).

.google.protobuf.Timestamp start_time = 6;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

If specified, return only messages with timestamps >= start_time. The default is the job creation time (i.e. beginning of messages).

.google.protobuf.Timestamp start_time = 6;

Returns
Type Description
TimestampOrBuilder

hasEndTime()

public boolean hasEndTime()

Return only messages with timestamps < end_time. The default is now (i.e. return up to the latest messages available).

.google.protobuf.Timestamp end_time = 7;

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

If specified, return only messages with timestamps >= start_time. The default is the job creation time (i.e. beginning of messages).

.google.protobuf.Timestamp start_time = 6;

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public ListJobMessagesRequest.Builder mergeEndTime(Timestamp value)

Return only messages with timestamps < end_time. The default is now (i.e. return up to the latest messages available).

.google.protobuf.Timestamp end_time = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
ListJobMessagesRequest.Builder

mergeFrom(ListJobMessagesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public ListJobMessagesRequest.Builder mergeStartTime(Timestamp value)

If specified, return only messages with timestamps >= start_time. The default is the job creation time (i.e. beginning of messages).

.google.protobuf.Timestamp start_time = 6;

Parameter
Name Description
value Timestamp
Returns
Type Description
ListJobMessagesRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEndTime(Timestamp value)

public ListJobMessagesRequest.Builder setEndTime(Timestamp value)

Return only messages with timestamps < end_time. The default is now (i.e. return up to the latest messages available).

.google.protobuf.Timestamp end_time = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
ListJobMessagesRequest.Builder

setEndTime(Timestamp.Builder builderForValue)

public ListJobMessagesRequest.Builder setEndTime(Timestamp.Builder builderForValue)

Return only messages with timestamps < end_time. The default is now (i.e. return up to the latest messages available).

.google.protobuf.Timestamp end_time = 7;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ListJobMessagesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobId(String value)

public ListJobMessagesRequest.Builder setJobId(String value)

The job to get messages about.

string job_id = 2;

Parameter
Name Description
value String

The jobId to set.

Returns
Type Description
ListJobMessagesRequest.Builder

This builder for chaining.

setJobIdBytes(ByteString value)

public ListJobMessagesRequest.Builder setJobIdBytes(ByteString value)

The job to get messages about.

string job_id = 2;

Parameter
Name Description
value ByteString

The bytes for jobId to set.

Returns
Type Description
ListJobMessagesRequest.Builder

This builder for chaining.

setLocation(String value)

public ListJobMessagesRequest.Builder setLocation(String value)

The regional endpoint that contains the job specified by job_id.

string location = 8;

Parameter
Name Description
value String

The location to set.

Returns
Type Description
ListJobMessagesRequest.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public ListJobMessagesRequest.Builder setLocationBytes(ByteString value)

The regional endpoint that contains the job specified by job_id.

string location = 8;

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
ListJobMessagesRequest.Builder

This builder for chaining.

setMinimumImportance(JobMessageImportance value)

public ListJobMessagesRequest.Builder setMinimumImportance(JobMessageImportance value)

Filter to only get messages with importance >= level

.google.dataflow.v1beta3.JobMessageImportance minimum_importance = 3;

Parameter
Name Description
value JobMessageImportance

The minimumImportance to set.

Returns
Type Description
ListJobMessagesRequest.Builder

This builder for chaining.

setMinimumImportanceValue(int value)

public ListJobMessagesRequest.Builder setMinimumImportanceValue(int value)

Filter to only get messages with importance >= level

.google.dataflow.v1beta3.JobMessageImportance minimum_importance = 3;

Parameter
Name Description
value int

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

Returns
Type Description
ListJobMessagesRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListJobMessagesRequest.Builder setPageSize(int value)

If specified, determines the maximum number of messages to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results.

int32 page_size = 4;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListJobMessagesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListJobMessagesRequest.Builder setPageToken(String value)

If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned.

string page_token = 5;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListJobMessagesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListJobMessagesRequest.Builder setPageTokenBytes(ByteString value)

If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned.

string page_token = 5;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListJobMessagesRequest.Builder

This builder for chaining.

setProjectId(String value)

public ListJobMessagesRequest.Builder setProjectId(String value)

A project id.

string project_id = 1;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
ListJobMessagesRequest.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public ListJobMessagesRequest.Builder setProjectIdBytes(ByteString value)

A project id.

string project_id = 1;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
ListJobMessagesRequest.Builder

This builder for chaining.

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

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

setStartTime(Timestamp value)

public ListJobMessagesRequest.Builder setStartTime(Timestamp value)

If specified, return only messages with timestamps >= start_time. The default is the job creation time (i.e. beginning of messages).

.google.protobuf.Timestamp start_time = 6;

Parameter
Name Description
value Timestamp
Returns
Type Description
ListJobMessagesRequest.Builder

setStartTime(Timestamp.Builder builderForValue)

public ListJobMessagesRequest.Builder setStartTime(Timestamp.Builder builderForValue)

If specified, return only messages with timestamps >= start_time. The default is the job creation time (i.e. beginning of messages).

.google.protobuf.Timestamp start_time = 6;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ListJobMessagesRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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