public static final class Batch.StateHistory.Builder extends GeneratedMessageV3.Builder<Batch.StateHistory.Builder> implements Batch.StateHistoryOrBuilder
Historical state information.
Protobuf type google.cloud.dataproc.v1.Batch.StateHistory
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Batch.StateHistory.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Batch.StateHistory build()
buildPartial()
public Batch.StateHistory buildPartial()
clear()
public Batch.StateHistory.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Batch.StateHistory.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Batch.StateHistory.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearState()
public Batch.StateHistory.Builder clearState()
Output only. The state of the batch at this point in history.
.google.cloud.dataproc.v1.Batch.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearStateMessage()
public Batch.StateHistory.Builder clearStateMessage()
Output only. Details about the state at this point in history.
string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearStateStartTime()
public Batch.StateHistory.Builder clearStateStartTime()
Output only. The time when the batch entered the historical state.
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public Batch.StateHistory.Builder clone()
Overrides
getDefaultInstanceForType()
public Batch.StateHistory getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getState()
public Batch.State getState()
Output only. The state of the batch at this point in history.
.google.cloud.dataproc.v1.Batch.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateMessage()
public String getStateMessage()
Output only. Details about the state at this point in history.
string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The stateMessage.
|
getStateMessageBytes()
public ByteString getStateMessageBytes()
Output only. Details about the state at this point in history.
string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for stateMessage.
|
getStateStartTime()
public Timestamp getStateStartTime()
Output only. The time when the batch entered the historical state.
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The stateStartTime.
|
getStateStartTimeBuilder()
public Timestamp.Builder getStateStartTimeBuilder()
Output only. The time when the batch entered the historical state.
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateStartTimeOrBuilder()
public TimestampOrBuilder getStateStartTimeOrBuilder()
Output only. The time when the batch entered the historical state.
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int getStateValue()
Output only. The state of the batch at this point in history.
.google.cloud.dataproc.v1.Batch.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for state.
|
hasStateStartTime()
public boolean hasStateStartTime()
Output only. The time when the batch entered the historical state.
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the stateStartTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Batch.StateHistory other)
public Batch.StateHistory.Builder mergeFrom(Batch.StateHistory other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Batch.StateHistory.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Batch.StateHistory.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeStateStartTime(Timestamp value)
public Batch.StateHistory.Builder mergeStateStartTime(Timestamp value)
Output only. The time when the batch entered the historical state.
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Batch.StateHistory.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Batch.StateHistory.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Batch.StateHistory.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setState(Batch.State value)
public Batch.StateHistory.Builder setState(Batch.State value)
Output only. The state of the batch at this point in history.
.google.cloud.dataproc.v1.Batch.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | Batch.State
The state to set.
|
setStateMessage(String value)
public Batch.StateHistory.Builder setStateMessage(String value)
Output only. Details about the state at this point in history.
string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | String
The stateMessage to set.
|
setStateMessageBytes(ByteString value)
public Batch.StateHistory.Builder setStateMessageBytes(ByteString value)
Output only. Details about the state at this point in history.
string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for stateMessage to set.
|
setStateStartTime(Timestamp value)
public Batch.StateHistory.Builder setStateStartTime(Timestamp value)
Output only. The time when the batch entered the historical state.
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
setStateStartTime(Timestamp.Builder builderForValue)
public Batch.StateHistory.Builder setStateStartTime(Timestamp.Builder builderForValue)
Output only. The time when the batch entered the historical state.
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setStateValue(int value)
public Batch.StateHistory.Builder setStateValue(int value)
Output only. The state of the batch at this point in history.
.google.cloud.dataproc.v1.Batch.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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Batch.StateHistory.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides