Class ListJobMessagesRequest (0.46.0)

public final class ListJobMessagesRequest extends GeneratedMessageV3 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 Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

JOB_ID_FIELD_NUMBER

public static final int JOB_ID_FIELD_NUMBER
Field Value
Type Description
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
Type Description
int

MINIMUM_IMPORTANCE_FIELD_NUMBER

public static final int MINIMUM_IMPORTANCE_FIELD_NUMBER
Field Value
Type Description
int

PAGE_SIZE_FIELD_NUMBER

public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
Type Description
int

PAGE_TOKEN_FIELD_NUMBER

public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

PROJECT_ID_FIELD_NUMBER

public static final int PROJECT_ID_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListJobMessagesRequest getDefaultInstance()
Returns
Type Description
ListJobMessagesRequest

getDescriptor()

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

newBuilder()

public static ListJobMessagesRequest.Builder newBuilder()
Returns
Type Description
ListJobMessagesRequest.Builder

newBuilder(ListJobMessagesRequest prototype)

public static ListJobMessagesRequest.Builder newBuilder(ListJobMessagesRequest prototype)
Parameter
Name Description
prototype ListJobMessagesRequest
Returns
Type Description
ListJobMessagesRequest.Builder

parseDelimitedFrom(InputStream input)

public static ListJobMessagesRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListJobMessagesRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListJobMessagesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListJobMessagesRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListJobMessagesRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListJobMessagesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListJobMessagesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListJobMessagesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListJobMessagesRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListJobMessagesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListJobMessagesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListJobMessagesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListJobMessagesRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListJobMessagesRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListJobMessagesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListJobMessagesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListJobMessagesRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListJobMessagesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListJobMessagesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListJobMessagesRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListJobMessagesRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListJobMessagesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListJobMessagesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListJobMessagesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListJobMessagesRequest> parser()
Returns
Type Description
Parser<ListJobMessagesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListJobMessagesRequest getDefaultInstanceForType()
Returns
Type Description
ListJobMessagesRequest

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.

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.

getParserForType()

public Parser<ListJobMessagesRequest> getParserForType()
Returns
Type Description
Parser<ListJobMessagesRequest>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListJobMessagesRequest.Builder newBuilderForType()
Returns
Type Description
ListJobMessagesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListJobMessagesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListJobMessagesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListJobMessagesRequest.Builder toBuilder()
Returns
Type Description
ListJobMessagesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException