Class ClusterOperationStatus.Builder (4.39.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ClusterOperationStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ClusterOperationStatus.Builder
Overrides

build()

public ClusterOperationStatus build()
Returns
Type Description
ClusterOperationStatus

buildPartial()

public ClusterOperationStatus buildPartial()
Returns
Type Description
ClusterOperationStatus

clear()

public ClusterOperationStatus.Builder clear()
Returns
Type Description
ClusterOperationStatus.Builder
Overrides

clearDetails()

public ClusterOperationStatus.Builder clearDetails()

Output only. A message containing any operation metadata details.

string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ClusterOperationStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ClusterOperationStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ClusterOperationStatus.Builder
Overrides

clearInnerState()

public ClusterOperationStatus.Builder clearInnerState()

Output only. A message containing the detailed operation state.

string inner_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ClusterOperationStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ClusterOperationStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ClusterOperationStatus.Builder
Overrides

clearState()

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];

Returns
Type Description
ClusterOperationStatus.Builder

This builder for chaining.

clearStateStartTime()

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];

Returns
Type Description
ClusterOperationStatus.Builder

clone()

public ClusterOperationStatus.Builder clone()
Returns
Type Description
ClusterOperationStatus.Builder
Overrides

getDefaultInstanceForType()

public ClusterOperationStatus getDefaultInstanceForType()
Returns
Type Description
ClusterOperationStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDetails()

public String getDetails()

Output only. A message containing any operation metadata details.

string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The details.

getDetailsBytes()

public ByteString getDetailsBytes()

Output only. A message containing any operation metadata details.

string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for details.

getInnerState()

public String getInnerState()

Output only. A message containing the detailed operation state.

string inner_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The innerState.

getInnerStateBytes()

public ByteString getInnerStateBytes()

Output only. A message containing the detailed operation state.

string inner_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for innerState.

getState()

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];

Returns
Type Description
ClusterOperationStatus.State

The state.

getStateStartTime()

public Timestamp getStateStartTime()

Output only. The time this state was entered.

.google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The stateStartTime.

getStateStartTimeBuilder()

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];

Returns
Type Description
Builder

getStateStartTimeOrBuilder()

public TimestampOrBuilder getStateStartTimeOrBuilder()

Output only. The time this state was entered.

.google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getStateValue()

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];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasStateStartTime()

public boolean hasStateStartTime()

Output only. The time this state was entered.

.google.protobuf.Timestamp state_start_time = 4 [(.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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ClusterOperationStatus other)

public ClusterOperationStatus.Builder mergeFrom(ClusterOperationStatus other)
Parameter
Name Description
other ClusterOperationStatus
Returns
Type Description
ClusterOperationStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ClusterOperationStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClusterOperationStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ClusterOperationStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ClusterOperationStatus.Builder
Overrides

mergeStateStartTime(Timestamp value)

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];

Parameter
Name Description
value Timestamp
Returns
Type Description
ClusterOperationStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClusterOperationStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ClusterOperationStatus.Builder
Overrides

setDetails(String value)

public ClusterOperationStatus.Builder setDetails(String value)

Output only. A message containing any operation metadata details.

string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The details to set.

Returns
Type Description
ClusterOperationStatus.Builder

This builder for chaining.

setDetailsBytes(ByteString value)

public ClusterOperationStatus.Builder setDetailsBytes(ByteString value)

Output only. A message containing any operation metadata details.

string details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for details to set.

Returns
Type Description
ClusterOperationStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ClusterOperationStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ClusterOperationStatus.Builder
Overrides

setInnerState(String value)

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];

Parameter
Name Description
value String

The innerState to set.

Returns
Type Description
ClusterOperationStatus.Builder

This builder for chaining.

setInnerStateBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for innerState to set.

Returns
Type Description
ClusterOperationStatus.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ClusterOperationStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ClusterOperationStatus.Builder
Overrides

setState(ClusterOperationStatus.State value)

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];

Parameter
Name Description
value ClusterOperationStatus.State

The state to set.

Returns
Type Description
ClusterOperationStatus.Builder

This builder for chaining.

setStateStartTime(Timestamp value)

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];

Parameter
Name Description
value Timestamp
Returns
Type Description
ClusterOperationStatus.Builder

setStateStartTime(Timestamp.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ClusterOperationStatus.Builder

setStateValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
ClusterOperationStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ClusterOperationStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ClusterOperationStatus.Builder
Overrides