public static final class Attempt.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Attempt.Builder> implements AttemptOrBuilder
The status of a task attempt.Protobuf type
google.cloud.tasks.v2.Attempt| Modifier and Type | Method and Description |
|---|---|
Attempt.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Attempt |
build() |
Attempt |
buildPartial() |
Attempt.Builder |
clear() |
Attempt.Builder |
clearDispatchTime()
Output only.
|
Attempt.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Attempt.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Attempt.Builder |
clearResponseStatus()
Output only.
|
Attempt.Builder |
clearResponseTime()
Output only.
|
Attempt.Builder |
clearScheduleTime()
Output only.
|
Attempt.Builder |
clone() |
Attempt |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getDispatchTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getDispatchTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getDispatchTimeOrBuilder()
Output only.
|
com.google.rpc.Status |
getResponseStatus()
Output only.
|
com.google.rpc.Status.Builder |
getResponseStatusBuilder()
Output only.
|
com.google.rpc.StatusOrBuilder |
getResponseStatusOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getResponseTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getResponseTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getResponseTimeOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getScheduleTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getScheduleTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getScheduleTimeOrBuilder()
Output only.
|
boolean |
hasDispatchTime()
Output only.
|
boolean |
hasResponseStatus()
Output only.
|
boolean |
hasResponseTime()
Output only.
|
boolean |
hasScheduleTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Attempt.Builder |
mergeDispatchTime(com.google.protobuf.Timestamp value)
Output only.
|
Attempt.Builder |
mergeFrom(Attempt other) |
Attempt.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Attempt.Builder |
mergeFrom(com.google.protobuf.Message other) |
Attempt.Builder |
mergeResponseStatus(com.google.rpc.Status value)
Output only.
|
Attempt.Builder |
mergeResponseTime(com.google.protobuf.Timestamp value)
Output only.
|
Attempt.Builder |
mergeScheduleTime(com.google.protobuf.Timestamp value)
Output only.
|
Attempt.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Attempt.Builder |
setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Attempt.Builder |
setDispatchTime(com.google.protobuf.Timestamp value)
Output only.
|
Attempt.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Attempt.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Attempt.Builder |
setResponseStatus(com.google.rpc.Status.Builder builderForValue)
Output only.
|
Attempt.Builder |
setResponseStatus(com.google.rpc.Status value)
Output only.
|
Attempt.Builder |
setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Attempt.Builder |
setResponseTime(com.google.protobuf.Timestamp value)
Output only.
|
Attempt.Builder |
setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Attempt.Builder |
setScheduleTime(com.google.protobuf.Timestamp value)
Output only.
|
Attempt.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Attempt.Builder>public Attempt.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Attempt.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Attempt.Builder>public Attempt getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Attempt build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Attempt buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Attempt.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Attempt.Builder>public Attempt.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Attempt.Builder>public Attempt.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Attempt.Builder>public Attempt.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Attempt.Builder>public Attempt.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Attempt.Builder>public Attempt.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Attempt.Builder>public Attempt.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Attempt.Builder>public Attempt.Builder mergeFrom(Attempt other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Attempt.Builder>public Attempt.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Attempt.Builder>IOExceptionpublic 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 AttemptOrBuilderpublic 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;getScheduleTime in interface AttemptOrBuilderpublic Attempt.Builder setScheduleTime(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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 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;getScheduleTimeOrBuilder in interface AttemptOrBuilderpublic 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 AttemptOrBuilderpublic 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;getDispatchTime in interface AttemptOrBuilderpublic Attempt.Builder setDispatchTime(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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 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;getDispatchTimeOrBuilder in interface AttemptOrBuilderpublic 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 AttemptOrBuilderpublic 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;getResponseTime in interface AttemptOrBuilderpublic Attempt.Builder setResponseTime(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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 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;getResponseTimeOrBuilder in interface AttemptOrBuilderpublic 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 AttemptOrBuilderpublic 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 AttemptOrBuilderpublic 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 AttemptOrBuilderpublic final Attempt.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Attempt.Builder>public final Attempt.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Attempt.Builder>Copyright © 2022 Google LLC. All rights reserved.