Package com.google.cloud.tasks.v2beta3
Class Attempt.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Attempt.Builder>
com.google.cloud.tasks.v2beta3.Attempt.Builder
- All Implemented Interfaces:
AttemptOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Attempt
public static final class Attempt.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Attempt.Builder>
implements AttemptOrBuilder
The status of a task attempt.Protobuf type
google.cloud.tasks.v2beta3.Attempt-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDispatchTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeResponseStatus(Status value) Output only.mergeResponseTime(com.google.protobuf.Timestamp value) Output only.mergeScheduleTime(com.google.protobuf.Timestamp value) Output only.setDispatchTime(com.google.protobuf.Timestamp value) Output only.setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setResponseStatus(Status value) Output only.setResponseStatus(Status.Builder builderForValue) Output only.setResponseTime(com.google.protobuf.Timestamp value) Output only.setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setScheduleTime(com.google.protobuf.Timestamp value) Output only.setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Attempt.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Attempt.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Attempt.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Attempt.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Attempt.Builder>
-
mergeFrom
public Attempt.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Attempt.Builder>- Throws:
IOException
-
hasScheduleTime
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;- Specified by:
hasScheduleTimein interfaceAttemptOrBuilder- Returns:
- Whether the scheduleTime field is set.
-
getScheduleTime
public 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;- Specified by:
getScheduleTimein interfaceAttemptOrBuilder- Returns:
- The scheduleTime.
-
setScheduleTime
Output only. The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp schedule_time = 1; -
setScheduleTime
Output only. The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp schedule_time = 1; -
mergeScheduleTime
Output only. The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp schedule_time = 1; -
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; -
getScheduleTimeBuilder
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; -
getScheduleTimeOrBuilder
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;- Specified by:
getScheduleTimeOrBuilderin interfaceAttemptOrBuilder
-
hasDispatchTime
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;- Specified by:
hasDispatchTimein interfaceAttemptOrBuilder- Returns:
- Whether the dispatchTime field is set.
-
getDispatchTime
public 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;- Specified by:
getDispatchTimein interfaceAttemptOrBuilder- Returns:
- The dispatchTime.
-
setDispatchTime
Output only. The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp dispatch_time = 2; -
setDispatchTime
Output only. The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp dispatch_time = 2; -
mergeDispatchTime
Output only. The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond.
.google.protobuf.Timestamp dispatch_time = 2; -
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; -
getDispatchTimeBuilder
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; -
getDispatchTimeOrBuilder
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;- Specified by:
getDispatchTimeOrBuilderin interfaceAttemptOrBuilder
-
hasResponseTime
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;- Specified by:
hasResponseTimein interfaceAttemptOrBuilder- Returns:
- Whether the responseTime field is set.
-
getResponseTime
public 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;- Specified by:
getResponseTimein interfaceAttemptOrBuilder- Returns:
- The responseTime.
-
setResponseTime
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; -
setResponseTime
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; -
mergeResponseTime
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; -
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; -
getResponseTimeBuilder
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; -
getResponseTimeOrBuilder
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;- Specified by:
getResponseTimeOrBuilderin interfaceAttemptOrBuilder
-
hasResponseStatus
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;- Specified by:
hasResponseStatusin interfaceAttemptOrBuilder- Returns:
- Whether the responseStatus field is set.
-
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;- Specified by:
getResponseStatusin interfaceAttemptOrBuilder- Returns:
- The responseStatus.
-
setResponseStatus
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; -
setResponseStatus
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; -
mergeResponseStatus
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; -
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; -
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; -
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;- Specified by:
getResponseStatusOrBuilderin interfaceAttemptOrBuilder
-