- 4.44.0 (latest)
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
public static final class JobStatus.Builder extends GeneratedMessageV3.Builder<JobStatus.Builder> implements JobStatusOrBuilder
Dataproc job status.
Protobuf type google.cloud.dataproc.v1.JobStatus
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > JobStatus.BuilderImplements
JobStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public JobStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
build()
public JobStatus build()
Returns | |
---|---|
Type | Description |
JobStatus |
buildPartial()
public JobStatus buildPartial()
Returns | |
---|---|
Type | Description |
JobStatus |
clear()
public JobStatus.Builder clear()
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
clearDetails()
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];
Returns | |
---|---|
Type | Description |
JobStatus.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public JobStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public JobStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
clearState()
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];
Returns | |
---|---|
Type | Description |
JobStatus.Builder | This builder for chaining. |
clearStateStartTime()
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];
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
clearSubstate()
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];
Returns | |
---|---|
Type | Description |
JobStatus.Builder | This builder for chaining. |
clone()
public JobStatus.Builder clone()
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
getDefaultInstanceForType()
public JobStatus getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
JobStatus |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDetails()
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];
Returns | |
---|---|
Type | Description |
String | The details. |
getDetailsBytes()
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];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for details. |
getState()
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];
Returns | |
---|---|
Type | Description |
JobStatus.State | The state. |
getStateStartTime()
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];
Returns | |
---|---|
Type | Description |
Timestamp | The stateStartTime. |
getStateStartTimeBuilder()
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];
Returns | |
---|---|
Type | Description |
Builder |
getStateStartTimeOrBuilder()
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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getStateValue()
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];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for state. |
getSubstate()
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];
Returns | |
---|---|
Type | Description |
JobStatus.Substate | The substate. |
getSubstateValue()
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];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for substate. |
hasStateStartTime()
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the stateStartTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(JobStatus other)
public JobStatus.Builder mergeFrom(JobStatus other)
Parameter | |
---|---|
Name | Description |
other | JobStatus |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public JobStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public JobStatus.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
mergeStateStartTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JobStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
setDetails(String value)
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];
Parameter | |
---|---|
Name | Description |
value | String The details to set. |
Returns | |
---|---|
Type | Description |
JobStatus.Builder | This builder for chaining. |
setDetailsBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for details to set. |
Returns | |
---|---|
Type | Description |
JobStatus.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public JobStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public JobStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
setState(JobStatus.State value)
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];
Parameter | |
---|---|
Name | Description |
value | JobStatus.State The state to set. |
Returns | |
---|---|
Type | Description |
JobStatus.Builder | This builder for chaining. |
setStateStartTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
setStateStartTime(Timestamp.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
setStateValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
JobStatus.Builder | This builder for chaining. |
setSubstate(JobStatus.Substate value)
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];
Parameter | |
---|---|
Name | Description |
value | JobStatus.Substate The substate to set. |
Returns | |
---|---|
Type | Description |
JobStatus.Builder | This builder for chaining. |
setSubstateValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for substate to set. |
Returns | |
---|---|
Type | Description |
JobStatus.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final JobStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |