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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<AttemptStatus.Builder> implements AttemptStatusOrBuilder
The status of a task attempt.
Protobuf typegoogle.cloud.tasks.v2beta2.AttemptStatus
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AttemptStatus.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AttemptStatus
build()
AttemptStatus
buildPartial()
AttemptStatus.Builder
clear()
AttemptStatus.Builder
clearDispatchTime()
Output only.AttemptStatus.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AttemptStatus.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AttemptStatus.Builder
clearResponseStatus()
Output only.AttemptStatus.Builder
clearResponseTime()
Output only.AttemptStatus.Builder
clearScheduleTime()
Output only.AttemptStatus.Builder
clone()
AttemptStatus
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()
AttemptStatus.Builder
mergeDispatchTime(com.google.protobuf.Timestamp value)
Output only.AttemptStatus.Builder
mergeFrom(AttemptStatus other)
AttemptStatus.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AttemptStatus.Builder
mergeFrom(com.google.protobuf.Message other)
AttemptStatus.Builder
mergeResponseStatus(com.google.rpc.Status value)
Output only.AttemptStatus.Builder
mergeResponseTime(com.google.protobuf.Timestamp value)
Output only.AttemptStatus.Builder
mergeScheduleTime(com.google.protobuf.Timestamp value)
Output only.AttemptStatus.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AttemptStatus.Builder
setDispatchTime(com.google.protobuf.Timestamp value)
Output only.AttemptStatus.Builder
setDispatchTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.AttemptStatus.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AttemptStatus.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AttemptStatus.Builder
setResponseStatus(com.google.rpc.Status value)
Output only.AttemptStatus.Builder
setResponseStatus(com.google.rpc.Status.Builder builderForValue)
Output only.AttemptStatus.Builder
setResponseTime(com.google.protobuf.Timestamp value)
Output only.AttemptStatus.Builder
setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.AttemptStatus.Builder
setScheduleTime(com.google.protobuf.Timestamp value)
Output only.AttemptStatus.Builder
setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.AttemptStatus.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttemptStatus.Builder>
-
clear
public AttemptStatus.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttemptStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttemptStatus.Builder>
-
getDefaultInstanceForType
public AttemptStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AttemptStatus build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AttemptStatus buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AttemptStatus.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttemptStatus.Builder>
-
setField
public AttemptStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttemptStatus.Builder>
-
clearField
public AttemptStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttemptStatus.Builder>
-
clearOneof
public AttemptStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttemptStatus.Builder>
-
setRepeatedField
public AttemptStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttemptStatus.Builder>
-
addRepeatedField
public AttemptStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttemptStatus.Builder>
-
mergeFrom
public AttemptStatus.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AttemptStatus.Builder>
-
mergeFrom
public AttemptStatus.Builder mergeFrom(AttemptStatus other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttemptStatus.Builder>
-
mergeFrom
public AttemptStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasScheduleTime
in 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:
getScheduleTime
in interfaceAttemptStatusOrBuilder
- Returns:
- The scheduleTime.
-
setScheduleTime
public AttemptStatus.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;
-
setScheduleTime
public AttemptStatus.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;
-
mergeScheduleTime
public AttemptStatus.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;
-
clearScheduleTime
public AttemptStatus.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;
-
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:
getScheduleTimeOrBuilder
in 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:
hasDispatchTime
in 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:
getDispatchTime
in interfaceAttemptStatusOrBuilder
- Returns:
- The dispatchTime.
-
setDispatchTime
public AttemptStatus.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;
-
setDispatchTime
public AttemptStatus.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;
-
mergeDispatchTime
public AttemptStatus.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;
-
clearDispatchTime
public AttemptStatus.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;
-
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:
getDispatchTimeOrBuilder
in 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:
hasResponseTime
in 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:
getResponseTime
in interfaceAttemptStatusOrBuilder
- Returns:
- The responseTime.
-
setResponseTime
public AttemptStatus.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;
-
setResponseTime
public AttemptStatus.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;
-
mergeResponseTime
public AttemptStatus.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;
-
clearResponseTime
public AttemptStatus.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;
-
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:
getResponseTimeOrBuilder
in 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:
hasResponseStatus
in interfaceAttemptStatusOrBuilder
- Returns:
- Whether the responseStatus field is set.
-
getResponseStatus
public com.google.rpc.Status 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:
getResponseStatus
in interfaceAttemptStatusOrBuilder
- Returns:
- The responseStatus.
-
setResponseStatus
public AttemptStatus.Builder setResponseStatus(com.google.rpc.Status value)
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
public AttemptStatus.Builder setResponseStatus(com.google.rpc.Status.Builder builderForValue)
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
public AttemptStatus.Builder mergeResponseStatus(com.google.rpc.Status value)
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
public AttemptStatus.Builder 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
public com.google.rpc.Status.Builder 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
public com.google.rpc.StatusOrBuilder 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:
getResponseStatusOrBuilder
in interfaceAttemptStatusOrBuilder
-
setUnknownFields
public final AttemptStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttemptStatus.Builder>
-
mergeUnknownFields
public final AttemptStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttemptStatus.Builder>
-
-