Class ListJobMessagesRequest (0.45.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
TypeDescription
int

JOB_ID_FIELD_NUMBER

public static final int JOB_ID_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

MINIMUM_IMPORTANCE_FIELD_NUMBER

public static final int MINIMUM_IMPORTANCE_FIELD_NUMBER
Field Value
TypeDescription
int

PAGE_SIZE_FIELD_NUMBER

public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

PAGE_TOKEN_FIELD_NUMBER

public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_ID_FIELD_NUMBER

public static final int PROJECT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListJobMessagesRequest getDefaultInstance()
Returns
TypeDescription
ListJobMessagesRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListJobMessagesRequest.Builder newBuilder()
Returns
TypeDescription
ListJobMessagesRequest.Builder

newBuilder(ListJobMessagesRequest prototype)

public static ListJobMessagesRequest.Builder newBuilder(ListJobMessagesRequest prototype)
Parameter
NameDescription
prototypeListJobMessagesRequest
Returns
TypeDescription
ListJobMessagesRequest.Builder

parseDelimitedFrom(InputStream input)

public static ListJobMessagesRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListJobMessagesRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListJobMessagesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListJobMessagesRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListJobMessagesRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListJobMessagesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListJobMessagesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListJobMessagesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListJobMessagesRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListJobMessagesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListJobMessagesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListJobMessagesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListJobMessagesRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListJobMessagesRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListJobMessagesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListJobMessagesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListJobMessagesRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListJobMessagesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListJobMessagesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListJobMessagesRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListJobMessagesRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListJobMessagesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListJobMessagesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListJobMessagesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListJobMessagesRequest> parser()
Returns
TypeDescription
Parser<ListJobMessagesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<ListJobMessagesRequest> getParserForType()
Returns
TypeDescription
Parser<ListJobMessagesRequest>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListJobMessagesRequest.Builder newBuilderForType()
Returns
TypeDescription
ListJobMessagesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListJobMessagesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListJobMessagesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListJobMessagesRequest.Builder toBuilder()
Returns
TypeDescription
ListJobMessagesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException