public static final class ClusterOperationStatus.Builder extends GeneratedMessage.Builder<ClusterOperationStatus.Builder> implements ClusterOperationStatusOrBuilderThe status of the operation.
Protobuf type google.cloud.dataproc.v1.ClusterOperationStatus
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ClusterOperationStatus.BuilderImplements
ClusterOperationStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
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 |
|
getDefaultInstanceForType()
public ClusterOperationStatus getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ClusterOperationStatus |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ClusterOperationStatus.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ClusterOperationStatus.Builder |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for details to set. |
| Returns | |
|---|---|
| Type | Description |
ClusterOperationStatus.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for innerState to set. |
| Returns | |
|---|---|
| Type | Description |
ClusterOperationStatus.Builder |
This builder for chaining. |
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.StateThe 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 |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
ClusterOperationStatus.Builder |
This builder for chaining. |