public static final class JobStatus.Builder extends GeneratedMessageV3.Builder<JobStatus.Builder> implements JobStatusOrBuilder
Cloud Dataproc job status.Protobuf type
google.cloud.dataproc.v1.JobStatus
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
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, java.lang.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, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<JobStatus.Builder>
public JobStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.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 java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<JobStatus.Builder>
java.io.IOException
public int getStateValue()
Output-only. A state message specifying the overall job state.
.google.cloud.dataproc.v1.JobStatus.State state = 1;
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;
public JobStatus.State getState()
Output-only. A state message specifying the overall job state.
.google.cloud.dataproc.v1.JobStatus.State state = 1;
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;
public JobStatus.Builder clearState()
Output-only. A state message specifying the overall job state.
.google.cloud.dataproc.v1.JobStatus.State state = 1;
public java.lang.String getDetails()
Output-only. Optional job state details, such as an error description if the state is <code>ERROR</code>.
string details = 2;
getDetails
in interface JobStatusOrBuilder
public ByteString getDetailsBytes()
Output-only. Optional job state details, such as an error description if the state is <code>ERROR</code>.
string details = 2;
getDetailsBytes
in interface JobStatusOrBuilder
public JobStatus.Builder setDetails(java.lang.String value)
Output-only. Optional job state details, such as an error description if the state is <code>ERROR</code>.
string details = 2;
public JobStatus.Builder clearDetails()
Output-only. Optional job state details, such as an error description if the state is <code>ERROR</code>.
string details = 2;
public JobStatus.Builder setDetailsBytes(ByteString value)
Output-only. Optional job state details, such as an error description if the state is <code>ERROR</code>.
string details = 2;
public boolean hasStateStartTime()
Output-only. The time when this state was entered.
.google.protobuf.Timestamp state_start_time = 6;
hasStateStartTime
in interface JobStatusOrBuilder
public Timestamp getStateStartTime()
Output-only. The time when this state was entered.
.google.protobuf.Timestamp state_start_time = 6;
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;
public JobStatus.Builder setStateStartTime(Timestamp.Builder builderForValue)
Output-only. The time when this state was entered.
.google.protobuf.Timestamp state_start_time = 6;
public JobStatus.Builder mergeStateStartTime(Timestamp value)
Output-only. The time when this state was entered.
.google.protobuf.Timestamp state_start_time = 6;
public JobStatus.Builder clearStateStartTime()
Output-only. The time when this state was entered.
.google.protobuf.Timestamp state_start_time = 6;
public Timestamp.Builder getStateStartTimeBuilder()
Output-only. The time when this state was entered.
.google.protobuf.Timestamp state_start_time = 6;
public TimestampOrBuilder getStateStartTimeOrBuilder()
Output-only. The time when this state was entered.
.google.protobuf.Timestamp state_start_time = 6;
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;
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;
public JobStatus.Substate getSubstate()
Output-only. Additional state information, which includes status reported by the agent.
.google.cloud.dataproc.v1.JobStatus.Substate substate = 7;
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;
public JobStatus.Builder clearSubstate()
Output-only. Additional state information, which includes status reported by the agent.
.google.cloud.dataproc.v1.JobStatus.Substate substate = 7;
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>