public static final class ClusterOperationStatus.Builder extends GeneratedMessageV3.Builder<ClusterOperationStatus.Builder> implements ClusterOperationStatusOrBuilder
The status of the operation.Protobuf type
google.cloud.dataproc.v1.ClusterOperationStatus
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ClusterOperationStatus.Builder>
public ClusterOperationStatus.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ClusterOperationStatus.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ClusterOperationStatus.Builder>
public ClusterOperationStatus getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ClusterOperationStatus build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ClusterOperationStatus buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ClusterOperationStatus.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ClusterOperationStatus.Builder>
public ClusterOperationStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ClusterOperationStatus.Builder>
public ClusterOperationStatus.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ClusterOperationStatus.Builder>
public ClusterOperationStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ClusterOperationStatus.Builder>
public ClusterOperationStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ClusterOperationStatus.Builder>
public ClusterOperationStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ClusterOperationStatus.Builder>
public ClusterOperationStatus.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ClusterOperationStatus.Builder>
public ClusterOperationStatus.Builder mergeFrom(ClusterOperationStatus other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ClusterOperationStatus.Builder>
public ClusterOperationStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ClusterOperationStatus.Builder>
IOException
public int getStateValue()
Output only. A message containing the operation state.
.google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue
in interface ClusterOperationStatusOrBuilder
public ClusterOperationStatus.Builder setStateValue(int value)
Output only. A message containing the operation state.
.google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The enum numeric value on the wire for state to set.public ClusterOperationStatus.State getState()
Output only. A message containing the operation state.
.google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState
in interface ClusterOperationStatusOrBuilder
public ClusterOperationStatus.Builder setState(ClusterOperationStatus.State value)
Output only. A message containing the operation state.
.google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The state to set.public ClusterOperationStatus.Builder clearState()
Output only. A message containing the operation state.
.google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getInnerState()
Output only. A message containing the detailed operation state.
string inner_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getInnerState
in interface ClusterOperationStatusOrBuilder
public ByteString getInnerStateBytes()
Output only. A message containing the detailed operation state.
string inner_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getInnerStateBytes
in interface ClusterOperationStatusOrBuilder
public ClusterOperationStatus.Builder setInnerState(String value)
Output only. A message containing the detailed operation state.
string inner_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The innerState to set.public ClusterOperationStatus.Builder clearInnerState()
Output only. A message containing the detailed operation state.
string inner_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationStatus.Builder setInnerStateBytes(ByteString value)
Output only. A message containing the detailed operation state.
string inner_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes for innerState to set.public String getDetails()
Output only. A message containing any operation metadata details.
string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDetails
in interface ClusterOperationStatusOrBuilder
public ByteString getDetailsBytes()
Output only. A message containing any operation metadata details.
string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDetailsBytes
in interface ClusterOperationStatusOrBuilder
public ClusterOperationStatus.Builder setDetails(String value)
Output only. A message containing any operation metadata details.
string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The details to set.public ClusterOperationStatus.Builder clearDetails()
Output only. A message containing any operation metadata details.
string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationStatus.Builder setDetailsBytes(ByteString value)
Output only. A message containing any operation metadata details.
string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes for details to set.public boolean hasStateStartTime()
Output only. The time this state was entered.
.google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasStateStartTime
in interface ClusterOperationStatusOrBuilder
public Timestamp getStateStartTime()
Output only. The time this state was entered.
.google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateStartTime
in interface ClusterOperationStatusOrBuilder
public ClusterOperationStatus.Builder setStateStartTime(Timestamp value)
Output only. The time this state was entered.
.google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationStatus.Builder setStateStartTime(Timestamp.Builder builderForValue)
Output only. The time this state was entered.
.google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationStatus.Builder mergeStateStartTime(Timestamp value)
Output only. The time this state was entered.
.google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationStatus.Builder clearStateStartTime()
Output only. The time this state was entered.
.google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Timestamp.Builder getStateStartTimeBuilder()
Output only. The time this state was entered.
.google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TimestampOrBuilder getStateStartTimeOrBuilder()
Output only. The time this state was entered.
.google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateStartTimeOrBuilder
in interface ClusterOperationStatusOrBuilder
public final ClusterOperationStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ClusterOperationStatus.Builder>
public final ClusterOperationStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ClusterOperationStatus.Builder>
Copyright © 2022 Google LLC. All rights reserved.