Interface AttemptOrBuilder (2.54.0)

public interface AttemptOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDispatchTime()

public abstract Timestamp getDispatchTime()

Output only. The time that this attempt was dispatched.

dispatch_time will be truncated to the nearest microsecond.

.google.protobuf.Timestamp dispatch_time = 2;

Returns
Type Description
Timestamp

The dispatchTime.

getDispatchTimeOrBuilder()

public abstract TimestampOrBuilder getDispatchTimeOrBuilder()

Output only. The time that this attempt was dispatched.

dispatch_time will be truncated to the nearest microsecond.

.google.protobuf.Timestamp dispatch_time = 2;

Returns
Type Description
TimestampOrBuilder

getResponseStatus()

public abstract Status getResponseStatus()

Output only. The response from the worker for this attempt.

If response_time is unset, then the task has not been attempted or is currently running and the response_status field is meaningless.

.google.rpc.Status response_status = 4;

Returns
Type Description
com.google.rpc.Status

The responseStatus.

getResponseStatusOrBuilder()

public abstract StatusOrBuilder getResponseStatusOrBuilder()

Output only. The response from the worker for this attempt.

If response_time is unset, then the task has not been attempted or is currently running and the response_status field is meaningless.

.google.rpc.Status response_status = 4;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getResponseTime()

public abstract Timestamp getResponseTime()

Output only. The time that this attempt response was received.

response_time will be truncated to the nearest microsecond.

.google.protobuf.Timestamp response_time = 3;

Returns
Type Description
Timestamp

The responseTime.

getResponseTimeOrBuilder()

public abstract TimestampOrBuilder getResponseTimeOrBuilder()

Output only. The time that this attempt response was received.

response_time will be truncated to the nearest microsecond.

.google.protobuf.Timestamp response_time = 3;

Returns
Type Description
TimestampOrBuilder

getScheduleTime()

public abstract Timestamp getScheduleTime()

Output only. The time that this attempt was scheduled.

schedule_time will be truncated to the nearest microsecond.

.google.protobuf.Timestamp schedule_time = 1;

Returns
Type Description
Timestamp

The scheduleTime.

getScheduleTimeOrBuilder()

public abstract TimestampOrBuilder getScheduleTimeOrBuilder()

Output only. The time that this attempt was scheduled.

schedule_time will be truncated to the nearest microsecond.

.google.protobuf.Timestamp schedule_time = 1;

Returns
Type Description
TimestampOrBuilder

hasDispatchTime()

public abstract boolean hasDispatchTime()

Output only. The time that this attempt was dispatched.

dispatch_time will be truncated to the nearest microsecond.

.google.protobuf.Timestamp dispatch_time = 2;

Returns
Type Description
boolean

Whether the dispatchTime field is set.

hasResponseStatus()

public abstract boolean hasResponseStatus()

Output only. The response from the worker for this attempt.

If response_time is unset, then the task has not been attempted or is currently running and the response_status field is meaningless.

.google.rpc.Status response_status = 4;

Returns
Type Description
boolean

Whether the responseStatus field is set.

hasResponseTime()

public abstract boolean hasResponseTime()

Output only. The time that this attempt response was received.

response_time will be truncated to the nearest microsecond.

.google.protobuf.Timestamp response_time = 3;

Returns
Type Description
boolean

Whether the responseTime field is set.

hasScheduleTime()

public abstract boolean hasScheduleTime()

Output only. The time that this attempt was scheduled.

schedule_time will be truncated to the nearest microsecond.

.google.protobuf.Timestamp schedule_time = 1;

Returns
Type Description
boolean

Whether the scheduleTime field is set.