public static final class Attempt.Builder extends GeneratedMessageV3.Builder<Attempt.Builder> implements AttemptOrBuilder
The status of a task attempt.Protobuf type
google.cloud.tasks.v2beta3.Attempt
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Attempt.Builder>
public Attempt.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Attempt.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Attempt.Builder>
public Attempt getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Attempt build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Attempt buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Attempt.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Attempt.Builder>
public Attempt.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Attempt.Builder>
public Attempt.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Attempt.Builder>
public Attempt.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Attempt.Builder>
public Attempt.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Attempt.Builder>
public Attempt.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Attempt.Builder>
public Attempt.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Attempt.Builder>
public Attempt.Builder mergeFrom(Attempt other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Attempt.Builder>
public Attempt.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Attempt.Builder>
IOException
public 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;
hasScheduleTime
in interface AttemptOrBuilder
public 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;
getScheduleTime
in interface AttemptOrBuilder
public Attempt.Builder setScheduleTime(Timestamp value)
Output only. The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp schedule_time = 1;
public Attempt.Builder setScheduleTime(Timestamp.Builder builderForValue)
Output only. The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp schedule_time = 1;
public Attempt.Builder mergeScheduleTime(Timestamp value)
Output only. The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp schedule_time = 1;
public Attempt.Builder clearScheduleTime()
Output only. The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp schedule_time = 1;
public Timestamp.Builder getScheduleTimeBuilder()
Output only. The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp schedule_time = 1;
public 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;
getScheduleTimeOrBuilder
in interface AttemptOrBuilder
public 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;
hasDispatchTime
in interface AttemptOrBuilder
public 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;
getDispatchTime
in interface AttemptOrBuilder
public Attempt.Builder setDispatchTime(Timestamp value)
Output only. The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp dispatch_time = 2;
public Attempt.Builder setDispatchTime(Timestamp.Builder builderForValue)
Output only. The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp dispatch_time = 2;
public Attempt.Builder mergeDispatchTime(Timestamp value)
Output only. The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp dispatch_time = 2;
public Attempt.Builder clearDispatchTime()
Output only. The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp dispatch_time = 2;
public Timestamp.Builder getDispatchTimeBuilder()
Output only. The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp dispatch_time = 2;
public 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;
getDispatchTimeOrBuilder
in interface AttemptOrBuilder
public 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;
hasResponseTime
in interface AttemptOrBuilder
public 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;
getResponseTime
in interface AttemptOrBuilder
public Attempt.Builder setResponseTime(Timestamp value)
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;
public Attempt.Builder setResponseTime(Timestamp.Builder builderForValue)
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;
public Attempt.Builder mergeResponseTime(Timestamp value)
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;
public Attempt.Builder clearResponseTime()
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;
public Timestamp.Builder getResponseTimeBuilder()
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;
public 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;
getResponseTimeOrBuilder
in interface AttemptOrBuilder
public 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;
hasResponseStatus
in interface AttemptOrBuilder
public 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;
getResponseStatus
in interface AttemptOrBuilder
public Attempt.Builder setResponseStatus(com.google.rpc.Status value)
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;
public Attempt.Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue)
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;
public Attempt.Builder mergeResponseStatus(com.google.rpc.Status value)
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;
public Attempt.Builder clearResponseStatus()
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;
public com.google.rpc.Status.Builder getResponseStatusBuilder()
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;
public 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;
getResponseStatusOrBuilder
in interface AttemptOrBuilder
public final Attempt.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Attempt.Builder>
public final Attempt.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Attempt.Builder>
Copyright © 2022 Google LLC. All rights reserved.