Interface AttemptOrBuilder (2.13.0)

publicinterface AttemptOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getDispatchTime()

publicabstractTimestampgetDispatchTime()

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()

publicabstractTimestampOrBuildergetDispatchTimeOrBuilder()

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()

publicabstractStatusgetResponseStatus()

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()

publicabstractStatusOrBuildergetResponseStatusOrBuilder()

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()

publicabstractTimestampgetResponseTime()

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()

publicabstractTimestampOrBuildergetResponseTimeOrBuilder()

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()

publicabstractTimestampgetScheduleTime()

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()

publicabstractTimestampOrBuildergetScheduleTimeOrBuilder()

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()

publicabstractbooleanhasDispatchTime()

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()

publicabstractbooleanhasResponseStatus()

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()

publicabstractbooleanhasResponseTime()

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()

publicabstractbooleanhasScheduleTime()

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.