public static final class JobStatus.Builder extends GeneratedMessageV3.Builder<JobStatus.Builder> implements JobStatusOrBuilder
Dataproc job status.Protobuf type
google.cloud.dataproc.v1.JobStatus
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<JobStatus.Builder>
public JobStatus.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<JobStatus.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<JobStatus.Builder>
public JobStatus getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public JobStatus build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public JobStatus buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public JobStatus.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<JobStatus.Builder>
public JobStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<JobStatus.Builder>
public JobStatus.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<JobStatus.Builder>
public JobStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<JobStatus.Builder>
public JobStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<JobStatus.Builder>
public JobStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<JobStatus.Builder>
public JobStatus.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<JobStatus.Builder>
public JobStatus.Builder mergeFrom(JobStatus other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<JobStatus.Builder>
public JobStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<JobStatus.Builder>
IOException
public int getStateValue()
Output only. A state message specifying the overall job state.
.google.cloud.dataproc.v1.JobStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue
in interface JobStatusOrBuilder
public JobStatus.Builder setStateValue(int value)
Output only. A state message specifying the overall job state.
.google.cloud.dataproc.v1.JobStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The enum numeric value on the wire for state to set.public JobStatus.State getState()
Output only. A state message specifying the overall job state.
.google.cloud.dataproc.v1.JobStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState
in interface JobStatusOrBuilder
public JobStatus.Builder setState(JobStatus.State value)
Output only. A state message specifying the overall job state.
.google.cloud.dataproc.v1.JobStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The state to set.public JobStatus.Builder clearState()
Output only. A state message specifying the overall job state.
.google.cloud.dataproc.v1.JobStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getDetails()
Optional. Output only. Job state details, such as an error description if the state is <code>ERROR</code>.
string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
getDetails
in interface JobStatusOrBuilder
public ByteString getDetailsBytes()
Optional. Output only. Job state details, such as an error description if the state is <code>ERROR</code>.
string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
getDetailsBytes
in interface JobStatusOrBuilder
public JobStatus.Builder setDetails(String value)
Optional. Output only. Job state details, such as an error description if the state is <code>ERROR</code>.
string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
value
- The details to set.public JobStatus.Builder clearDetails()
Optional. Output only. Job state details, such as an error description if the state is <code>ERROR</code>.
string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
public JobStatus.Builder setDetailsBytes(ByteString value)
Optional. Output only. Job state details, such as an error description if the state is <code>ERROR</code>.
string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
value
- The bytes for details to set.public boolean hasStateStartTime()
Output only. The time when this state was entered.
.google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasStateStartTime
in interface JobStatusOrBuilder
public Timestamp getStateStartTime()
Output only. The time when this state was entered.
.google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateStartTime
in interface JobStatusOrBuilder
public JobStatus.Builder setStateStartTime(Timestamp value)
Output only. The time when this state was entered.
.google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public JobStatus.Builder setStateStartTime(Timestamp.Builder builderForValue)
Output only. The time when this state was entered.
.google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public JobStatus.Builder mergeStateStartTime(Timestamp value)
Output only. The time when this state was entered.
.google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public JobStatus.Builder clearStateStartTime()
Output only. The time when this state was entered.
.google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Timestamp.Builder getStateStartTimeBuilder()
Output only. The time when this state was entered.
.google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TimestampOrBuilder getStateStartTimeOrBuilder()
Output only. The time when this state was entered.
.google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateStartTimeOrBuilder
in interface JobStatusOrBuilder
public int getSubstateValue()
Output only. Additional state information, which includes status reported by the agent.
.google.cloud.dataproc.v1.JobStatus.Substate substate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSubstateValue
in interface JobStatusOrBuilder
public JobStatus.Builder setSubstateValue(int value)
Output only. Additional state information, which includes status reported by the agent.
.google.cloud.dataproc.v1.JobStatus.Substate substate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The enum numeric value on the wire for substate to set.public JobStatus.Substate getSubstate()
Output only. Additional state information, which includes status reported by the agent.
.google.cloud.dataproc.v1.JobStatus.Substate substate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSubstate
in interface JobStatusOrBuilder
public JobStatus.Builder setSubstate(JobStatus.Substate value)
Output only. Additional state information, which includes status reported by the agent.
.google.cloud.dataproc.v1.JobStatus.Substate substate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The substate to set.public JobStatus.Builder clearSubstate()
Output only. Additional state information, which includes status reported by the agent.
.google.cloud.dataproc.v1.JobStatus.Substate substate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final JobStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<JobStatus.Builder>
public final JobStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<JobStatus.Builder>
Copyright © 2022 Google LLC. All rights reserved.