Class ClusterOperationStatus.Builder (3.1.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ClusterOperationStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ClusterOperationStatus.Builder
Overrides

build()

public ClusterOperationStatus build()
Returns
TypeDescription
ClusterOperationStatus

buildPartial()

public ClusterOperationStatus buildPartial()
Returns
TypeDescription
ClusterOperationStatus

clear()

public ClusterOperationStatus.Builder clear()
Returns
TypeDescription
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
TypeDescription
ClusterOperationStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ClusterOperationStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ClusterOperationStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ClusterOperationStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ClusterOperationStatus.Builder

clone()

public ClusterOperationStatus.Builder clone()
Returns
TypeDescription
ClusterOperationStatus.Builder
Overrides

getDefaultInstanceForType()

public ClusterOperationStatus getDefaultInstanceForType()
Returns
TypeDescription
ClusterOperationStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the stateStartTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ClusterOperationStatus other)

public ClusterOperationStatus.Builder mergeFrom(ClusterOperationStatus other)
Parameter
NameDescription
otherClusterOperationStatus
Returns
TypeDescription
ClusterOperationStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ClusterOperationStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClusterOperationStatus.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ClusterOperationStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ClusterOperationStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClusterOperationStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The details to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for details to set.

Returns
TypeDescription
ClusterOperationStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ClusterOperationStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The innerState to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for innerState to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueClusterOperationStatus.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
ClusterOperationStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ClusterOperationStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ClusterOperationStatus.Builder
Overrides