1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/tasks/v2beta3/task.proto 18 19 package com.google.cloud.tasks.v2beta3; 20 21 public interface AttemptOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Attempt) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Output only. The time that this attempt was scheduled. 31 * `schedule_time` will be truncated to the nearest microsecond. 32 * </pre> 33 * 34 * <code>.google.protobuf.Timestamp schedule_time = 1;</code> 35 * 36 * @return Whether the scheduleTime field is set. 37 */ hasScheduleTime()38 boolean hasScheduleTime(); 39 /** 40 * 41 * 42 * <pre> 43 * Output only. The time that this attempt was scheduled. 44 * `schedule_time` will be truncated to the nearest microsecond. 45 * </pre> 46 * 47 * <code>.google.protobuf.Timestamp schedule_time = 1;</code> 48 * 49 * @return The scheduleTime. 50 */ getScheduleTime()51 com.google.protobuf.Timestamp getScheduleTime(); 52 /** 53 * 54 * 55 * <pre> 56 * Output only. The time that this attempt was scheduled. 57 * `schedule_time` will be truncated to the nearest microsecond. 58 * </pre> 59 * 60 * <code>.google.protobuf.Timestamp schedule_time = 1;</code> 61 */ getScheduleTimeOrBuilder()62 com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder(); 63 64 /** 65 * 66 * 67 * <pre> 68 * Output only. The time that this attempt was dispatched. 69 * `dispatch_time` will be truncated to the nearest microsecond. 70 * </pre> 71 * 72 * <code>.google.protobuf.Timestamp dispatch_time = 2;</code> 73 * 74 * @return Whether the dispatchTime field is set. 75 */ hasDispatchTime()76 boolean hasDispatchTime(); 77 /** 78 * 79 * 80 * <pre> 81 * Output only. The time that this attempt was dispatched. 82 * `dispatch_time` will be truncated to the nearest microsecond. 83 * </pre> 84 * 85 * <code>.google.protobuf.Timestamp dispatch_time = 2;</code> 86 * 87 * @return The dispatchTime. 88 */ getDispatchTime()89 com.google.protobuf.Timestamp getDispatchTime(); 90 /** 91 * 92 * 93 * <pre> 94 * Output only. The time that this attempt was dispatched. 95 * `dispatch_time` will be truncated to the nearest microsecond. 96 * </pre> 97 * 98 * <code>.google.protobuf.Timestamp dispatch_time = 2;</code> 99 */ getDispatchTimeOrBuilder()100 com.google.protobuf.TimestampOrBuilder getDispatchTimeOrBuilder(); 101 102 /** 103 * 104 * 105 * <pre> 106 * Output only. The time that this attempt response was received. 107 * `response_time` will be truncated to the nearest microsecond. 108 * </pre> 109 * 110 * <code>.google.protobuf.Timestamp response_time = 3;</code> 111 * 112 * @return Whether the responseTime field is set. 113 */ hasResponseTime()114 boolean hasResponseTime(); 115 /** 116 * 117 * 118 * <pre> 119 * Output only. The time that this attempt response was received. 120 * `response_time` will be truncated to the nearest microsecond. 121 * </pre> 122 * 123 * <code>.google.protobuf.Timestamp response_time = 3;</code> 124 * 125 * @return The responseTime. 126 */ getResponseTime()127 com.google.protobuf.Timestamp getResponseTime(); 128 /** 129 * 130 * 131 * <pre> 132 * Output only. The time that this attempt response was received. 133 * `response_time` will be truncated to the nearest microsecond. 134 * </pre> 135 * 136 * <code>.google.protobuf.Timestamp response_time = 3;</code> 137 */ getResponseTimeOrBuilder()138 com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder(); 139 140 /** 141 * 142 * 143 * <pre> 144 * Output only. The response from the worker for this attempt. 145 * If `response_time` is unset, then the task has not been attempted or is 146 * currently running and the `response_status` field is meaningless. 147 * </pre> 148 * 149 * <code>.google.rpc.Status response_status = 4;</code> 150 * 151 * @return Whether the responseStatus field is set. 152 */ hasResponseStatus()153 boolean hasResponseStatus(); 154 /** 155 * 156 * 157 * <pre> 158 * Output only. The response from the worker for this attempt. 159 * If `response_time` is unset, then the task has not been attempted or is 160 * currently running and the `response_status` field is meaningless. 161 * </pre> 162 * 163 * <code>.google.rpc.Status response_status = 4;</code> 164 * 165 * @return The responseStatus. 166 */ getResponseStatus()167 com.google.rpc.Status getResponseStatus(); 168 /** 169 * 170 * 171 * <pre> 172 * Output only. The response from the worker for this attempt. 173 * If `response_time` is unset, then the task has not been attempted or is 174 * currently running and the `response_status` field is meaningless. 175 * </pre> 176 * 177 * <code>.google.rpc.Status response_status = 4;</code> 178 */ getResponseStatusOrBuilder()179 com.google.rpc.StatusOrBuilder getResponseStatusOrBuilder(); 180 } 181