Class ListJobMessagesRequest.Builder (0.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListJobMessagesRequest build()
Returns
TypeDescription
ListJobMessagesRequest

buildPartial()

public ListJobMessagesRequest buildPartial()
Returns
TypeDescription
ListJobMessagesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJobId()

public ListJobMessagesRequest.Builder clearJobId()

The job to get messages about.

string job_id = 2;

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clearProjectId()

public ListJobMessagesRequest.Builder clearProjectId()

A project id.

string project_id = 1;

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

clone()

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

getDefaultInstanceForType()

public ListJobMessagesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListJobMessagesRequest

getDescriptorForType()

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

getJobId()

public String getJobId()

The job to get messages about.

string job_id = 2;

Returns
TypeDescription
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

The job to get messages about.

string job_id = 2;

Returns
TypeDescription
ByteString

The bytes for jobId.

getLocation()

public String getLocation()

The regional endpoint that contains the job specified by job_id.

string location = 8;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The regional endpoint that contains the job specified by job_id.

string location = 8;

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

The minimumImportance.

getMinimumImportanceValue()

public int getMinimumImportanceValue()

Filter to only get messages with importance >= level

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

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

The bytes for pageToken.

getProjectId()

public String getProjectId()

A project id.

string project_id = 1;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

A project id.

string project_id = 1;

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

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ListJobMessagesRequest.Builder

mergeFrom(ListJobMessagesRequest other)

public ListJobMessagesRequest.Builder mergeFrom(ListJobMessagesRequest other)
Parameter
NameDescription
otherListJobMessagesRequest
Returns
TypeDescription
ListJobMessagesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ListJobMessagesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ListJobMessagesRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListJobMessagesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ListJobMessagesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobId(String value)

public ListJobMessagesRequest.Builder setJobId(String value)

The job to get messages about.

string job_id = 2;

Parameter
NameDescription
valueString

The jobId to set.

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

The bytes for jobId to set.

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

The location to set.

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

The bytes for location to set.

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

The minimumImportance to set.

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

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

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

Returns
TypeDescription
ListJobMessagesRequest.Builder

This builder for chaining.

setProjectId(String value)

public ListJobMessagesRequest.Builder setProjectId(String value)

A project id.

string project_id = 1;

Parameter
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
ListJobMessagesRequest.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public ListJobMessagesRequest.Builder setProjectIdBytes(ByteString value)

A project id.

string project_id = 1;

Parameter
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ListJobMessagesRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListJobMessagesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListJobMessagesRequest.Builder
Overrides