Package com.google.cloud.tasks.v2
Interface AttemptOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Attempt,Attempt.Builder
public interface AttemptOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.TimestampgetDispatchTime()Output only.com.google.protobuf.TimestampOrBuildergetDispatchTimeOrBuilder()Output only.com.google.rpc.StatusgetResponseStatus()Output only.com.google.rpc.StatusOrBuildergetResponseStatusOrBuilder()Output only.com.google.protobuf.TimestampgetResponseTime()Output only.com.google.protobuf.TimestampOrBuildergetResponseTimeOrBuilder()Output only.com.google.protobuf.TimestampgetScheduleTime()Output only.com.google.protobuf.TimestampOrBuildergetScheduleTimeOrBuilder()Output only.booleanhasDispatchTime()Output only.booleanhasResponseStatus()Output only.booleanhasResponseTime()Output only.booleanhasScheduleTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasScheduleTime
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:
- Whether the scheduleTime field is set.
-
getScheduleTime
com.google.protobuf.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:
- The scheduleTime.
-
getScheduleTimeOrBuilder
com.google.protobuf.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;
-
hasDispatchTime
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:
- Whether the dispatchTime field is set.
-
getDispatchTime
com.google.protobuf.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:
- The dispatchTime.
-
getDispatchTimeOrBuilder
com.google.protobuf.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;
-
hasResponseTime
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:
- Whether the responseTime field is set.
-
getResponseTime
com.google.protobuf.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:
- The responseTime.
-
getResponseTimeOrBuilder
com.google.protobuf.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;
-
hasResponseStatus
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:
- Whether the responseStatus field is set.
-
getResponseStatus
com.google.rpc.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:
- The responseStatus.
-
getResponseStatusOrBuilder
com.google.rpc.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;
-
-