Interface TaskStatusOrBuilder (2.20.0)

public interface TaskStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttemptDispatchCount()

public abstract int getAttemptDispatchCount()

Output only. The number of attempts dispatched.

This count includes attempts which have been dispatched but haven't received a response.

int32 attempt_dispatch_count = 1;

Returns
TypeDescription
int

The attemptDispatchCount.

getAttemptResponseCount()

public abstract int getAttemptResponseCount()

Output only. The number of attempts which have received a response.

This field is not calculated for pull tasks.

int32 attempt_response_count = 2;

Returns
TypeDescription
int

The attemptResponseCount.

getFirstAttemptStatus()

public abstract AttemptStatus getFirstAttemptStatus()

Output only. The status of the task's first attempt.

Only dispatch_time will be set. The other AttemptStatus information is not retained by Cloud Tasks.

This field is not calculated for pull tasks.

.google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;

Returns
TypeDescription
AttemptStatus

The firstAttemptStatus.

getFirstAttemptStatusOrBuilder()

public abstract AttemptStatusOrBuilder getFirstAttemptStatusOrBuilder()

Output only. The status of the task's first attempt.

Only dispatch_time will be set. The other AttemptStatus information is not retained by Cloud Tasks.

This field is not calculated for pull tasks.

.google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;

Returns
TypeDescription
AttemptStatusOrBuilder

getLastAttemptStatus()

public abstract AttemptStatus getLastAttemptStatus()

Output only. The status of the task's last attempt.

This field is not calculated for pull tasks.

.google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;

Returns
TypeDescription
AttemptStatus

The lastAttemptStatus.

getLastAttemptStatusOrBuilder()

public abstract AttemptStatusOrBuilder getLastAttemptStatusOrBuilder()

Output only. The status of the task's last attempt.

This field is not calculated for pull tasks.

.google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;

Returns
TypeDescription
AttemptStatusOrBuilder

hasFirstAttemptStatus()

public abstract boolean hasFirstAttemptStatus()

Output only. The status of the task's first attempt.

Only dispatch_time will be set. The other AttemptStatus information is not retained by Cloud Tasks.

This field is not calculated for pull tasks.

.google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;

Returns
TypeDescription
boolean

Whether the firstAttemptStatus field is set.

hasLastAttemptStatus()

public abstract boolean hasLastAttemptStatus()

Output only. The status of the task's last attempt.

This field is not calculated for pull tasks.

.google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;

Returns
TypeDescription
boolean

Whether the lastAttemptStatus field is set.