Package com.google.cloud.tasks.v2beta2
Class AttemptStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AttemptStatus.Builder>
com.google.cloud.tasks.v2beta2.AttemptStatus.Builder
- All Implemented Interfaces:
AttemptStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AttemptStatus
public static final class AttemptStatus.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AttemptStatus.Builder>
implements AttemptStatusOrBuilder
The status of a task attempt.Protobuf type
google.cloud.tasks.v2beta2.AttemptStatus-
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(AttemptStatus other) 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<AttemptStatus.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<AttemptStatus.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<AttemptStatus.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<AttemptStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AttemptStatus.Builder>
-
mergeFrom
public AttemptStatus.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<AttemptStatus.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 interfaceAttemptStatusOrBuilder- 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 interfaceAttemptStatusOrBuilder- 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 interfaceAttemptStatusOrBuilder
-
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 interfaceAttemptStatusOrBuilder- 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 interfaceAttemptStatusOrBuilder- 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 interfaceAttemptStatusOrBuilder
-
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 interfaceAttemptStatusOrBuilder- 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 interfaceAttemptStatusOrBuilder- 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 interfaceAttemptStatusOrBuilder
-
hasResponseStatus
public boolean hasResponseStatus()Output only. The response from the target for this attempt. If the task has not been attempted or the task is currently running then the response status is unset.
.google.rpc.Status response_status = 4;- Specified by:
hasResponseStatusin interfaceAttemptStatusOrBuilder- Returns:
- Whether the responseStatus field is set.
-
getResponseStatus
Output only. The response from the target for this attempt. If the task has not been attempted or the task is currently running then the response status is unset.
.google.rpc.Status response_status = 4;- Specified by:
getResponseStatusin interfaceAttemptStatusOrBuilder- Returns:
- The responseStatus.
-
setResponseStatus
Output only. The response from the target for this attempt. If the task has not been attempted or the task is currently running then the response status is unset.
.google.rpc.Status response_status = 4; -
setResponseStatus
Output only. The response from the target for this attempt. If the task has not been attempted or the task is currently running then the response status is unset.
.google.rpc.Status response_status = 4; -
mergeResponseStatus
Output only. The response from the target for this attempt. If the task has not been attempted or the task is currently running then the response status is unset.
.google.rpc.Status response_status = 4; -
clearResponseStatus
Output only. The response from the target for this attempt. If the task has not been attempted or the task is currently running then the response status is unset.
.google.rpc.Status response_status = 4; -
getResponseStatusBuilder
Output only. The response from the target for this attempt. If the task has not been attempted or the task is currently running then the response status is unset.
.google.rpc.Status response_status = 4; -
getResponseStatusOrBuilder
Output only. The response from the target for this attempt. If the task has not been attempted or the task is currently running then the response status is unset.
.google.rpc.Status response_status = 4;- Specified by:
getResponseStatusOrBuilderin interfaceAttemptStatusOrBuilder
-