public static final class Batch.StateHistory.Builder extends GeneratedMessage.Builder<Batch.StateHistory.Builder> implements Batch.StateHistoryOrBuilderHistorical state information.
Protobuf type google.cloud.dataproc.v1.Batch.StateHistory
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Batch.StateHistory.BuilderImplements
Batch.StateHistoryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Batch.StateHistory build()| Returns | |
|---|---|
| Type | Description |
Batch.StateHistory |
|
buildPartial()
public Batch.StateHistory buildPartial()| Returns | |
|---|---|
| Type | Description |
Batch.StateHistory |
|
clear()
public Batch.StateHistory.Builder clear()| Returns | |
|---|---|
| Type | Description |
Batch.StateHistory.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
Batch.StateHistory.Builder |
This builder for chaining. |
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];
| Returns | |
|---|---|
| Type | Description |
Batch.StateHistory.Builder |
This builder for chaining. |
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];
| Returns | |
|---|---|
| Type | Description |
Batch.StateHistory.Builder |
|
getDefaultInstanceForType()
public Batch.StateHistory getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Batch.StateHistory |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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];
| Returns | |
|---|---|
| Type | Description |
Batch.State |
The state. |
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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Batch.StateHistory other)
public Batch.StateHistory.Builder mergeFrom(Batch.StateHistory other)| Parameter | |
|---|---|
| Name | Description |
other |
Batch.StateHistory |
| Returns | |
|---|---|
| Type | Description |
Batch.StateHistory.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Batch.StateHistory.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Batch.StateHistory.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Batch.StateHistory.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Batch.StateHistory.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Batch.StateHistory.Builder |
|
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.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
Batch.StateHistory.Builder |
This builder for chaining. |
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 |
StringThe stateMessage to set. |
| Returns | |
|---|---|
| Type | Description |
Batch.StateHistory.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for stateMessage to set. |
| Returns | |
|---|---|
| Type | Description |
Batch.StateHistory.Builder |
This builder for chaining. |
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Batch.StateHistory.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
Batch.StateHistory.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 |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
Batch.StateHistory.Builder |
This builder for chaining. |