public static final class Batch.StateHistory.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Batch.StateHistory.Builder> implements Batch.StateHistoryOrBuilder
Historical state information.Protobuf type
google.cloud.dataproc.v1.Batch.StateHistory| Modifier and Type | Method and Description |
|---|---|
Batch.StateHistory.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Batch.StateHistory |
build() |
Batch.StateHistory |
buildPartial() |
Batch.StateHistory.Builder |
clear() |
Batch.StateHistory.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Batch.StateHistory.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Batch.StateHistory.Builder |
clearState()
Output only.
|
Batch.StateHistory.Builder |
clearStateMessage()
Output only.
|
Batch.StateHistory.Builder |
clearStateStartTime()
Output only.
|
Batch.StateHistory.Builder |
clone() |
Batch.StateHistory |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Batch.State |
getState()
Output only.
|
String |
getStateMessage()
Output only.
|
com.google.protobuf.ByteString |
getStateMessageBytes()
Output only.
|
com.google.protobuf.Timestamp |
getStateStartTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getStateStartTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getStateStartTimeOrBuilder()
Output only.
|
int |
getStateValue()
Output only.
|
boolean |
hasStateStartTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Batch.StateHistory.Builder |
mergeFrom(Batch.StateHistory other) |
Batch.StateHistory.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Batch.StateHistory.Builder |
mergeFrom(com.google.protobuf.Message other) |
Batch.StateHistory.Builder |
mergeStateStartTime(com.google.protobuf.Timestamp value)
Output only.
|
Batch.StateHistory.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Batch.StateHistory.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Batch.StateHistory.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Batch.StateHistory.Builder |
setState(Batch.State value)
Output only.
|
Batch.StateHistory.Builder |
setStateMessage(String value)
Output only.
|
Batch.StateHistory.Builder |
setStateMessageBytes(com.google.protobuf.ByteString value)
Output only.
|
Batch.StateHistory.Builder |
setStateStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Batch.StateHistory.Builder |
setStateStartTime(com.google.protobuf.Timestamp value)
Output only.
|
Batch.StateHistory.Builder |
setStateValue(int value)
Output only.
|
Batch.StateHistory.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Batch.StateHistory.Builder>public Batch.StateHistory.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Batch.StateHistory.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Batch.StateHistory.Builder>public Batch.StateHistory getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Batch.StateHistory build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Batch.StateHistory buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Batch.StateHistory.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Batch.StateHistory.Builder>public Batch.StateHistory.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Batch.StateHistory.Builder>public Batch.StateHistory.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Batch.StateHistory.Builder>public Batch.StateHistory.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Batch.StateHistory.Builder>public Batch.StateHistory.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Batch.StateHistory.Builder>public Batch.StateHistory.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Batch.StateHistory.Builder>public Batch.StateHistory.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Batch.StateHistory.Builder>public Batch.StateHistory.Builder mergeFrom(Batch.StateHistory other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Batch.StateHistory.Builder>public Batch.StateHistory.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Batch.StateHistory.Builder>IOExceptionpublic 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];
getStateValue in interface Batch.StateHistoryOrBuilderpublic 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];
value - The enum numeric value on the wire for state to set.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];
getState in interface Batch.StateHistoryOrBuilderpublic 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];
value - The state to set.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];
public String getStateMessage()
Output only. Details about the state at this point in history.
string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getStateMessage in interface Batch.StateHistoryOrBuilderpublic com.google.protobuf.ByteString getStateMessageBytes()
Output only. Details about the state at this point in history.
string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getStateMessageBytes in interface Batch.StateHistoryOrBuilderpublic 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];value - The stateMessage to set.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];public Batch.StateHistory.Builder setStateMessageBytes(com.google.protobuf.ByteString value)
Output only. Details about the state at this point in history.
string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for stateMessage to set.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];
hasStateStartTime in interface Batch.StateHistoryOrBuilderpublic com.google.protobuf.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];
getStateStartTime in interface Batch.StateHistoryOrBuilderpublic Batch.StateHistory.Builder setStateStartTime(com.google.protobuf.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];
public Batch.StateHistory.Builder setStateStartTime(com.google.protobuf.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];
public Batch.StateHistory.Builder mergeStateStartTime(com.google.protobuf.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];
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];
public com.google.protobuf.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];
public com.google.protobuf.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];
getStateStartTimeOrBuilder in interface Batch.StateHistoryOrBuilderpublic final Batch.StateHistory.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Batch.StateHistory.Builder>public final Batch.StateHistory.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Batch.StateHistory.Builder>Copyright © 2024 Google LLC. All rights reserved.