Class ExecutionSummary.Builder (0.62.0)

public static final class ExecutionSummary.Builder extends GeneratedMessage.Builder<ExecutionSummary.Builder> implements ExecutionSummaryOrBuilder

Summary of the last execution.

Protobuf type google.cloud.backupdr.v1.ExecutionSummary

Static Methods

getDescriptor()

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

Methods

build()

public ExecutionSummary build()
Returns
Type Description
ExecutionSummary

buildPartial()

public ExecutionSummary buildPartial()
Returns
Type Description
ExecutionSummary

clear()

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

clearLastExecution()

public ExecutionSummary.Builder clearLastExecution()

Output only. The resource name of the last execution. Format: projects/{project}/locations/{location}/restoreTemplates/{restore_template}/executions/{execution}

string last_execution = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ExecutionSummary.Builder

This builder for chaining.

clearLastExecutionState()

public ExecutionSummary.Builder clearLastExecutionState()

Output only. The state of the last execution.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionState last_execution_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ExecutionSummary.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExecutionSummary getDefaultInstanceForType()
Returns
Type Description
ExecutionSummary

getDescriptorForType()

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

getLastExecution()

public String getLastExecution()

Output only. The resource name of the last execution. Format: projects/{project}/locations/{location}/restoreTemplates/{restore_template}/executions/{execution}

string last_execution = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The lastExecution.

getLastExecutionBytes()

public ByteString getLastExecutionBytes()

Output only. The resource name of the last execution. Format: projects/{project}/locations/{location}/restoreTemplates/{restore_template}/executions/{execution}

string last_execution = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for lastExecution.

getLastExecutionState()

public RestoreTemplateExecution.ExecutionState getLastExecutionState()

Output only. The state of the last execution.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionState last_execution_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreTemplateExecution.ExecutionState

The lastExecutionState.

getLastExecutionStateValue()

public int getLastExecutionStateValue()

Output only. The state of the last execution.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionState last_execution_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for lastExecutionState.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExecutionSummary other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setLastExecution(String value)

public ExecutionSummary.Builder setLastExecution(String value)

Output only. The resource name of the last execution. Format: projects/{project}/locations/{location}/restoreTemplates/{restore_template}/executions/{execution}

string last_execution = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The lastExecution to set.

Returns
Type Description
ExecutionSummary.Builder

This builder for chaining.

setLastExecutionBytes(ByteString value)

public ExecutionSummary.Builder setLastExecutionBytes(ByteString value)

Output only. The resource name of the last execution. Format: projects/{project}/locations/{location}/restoreTemplates/{restore_template}/executions/{execution}

string last_execution = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for lastExecution to set.

Returns
Type Description
ExecutionSummary.Builder

This builder for chaining.

setLastExecutionState(RestoreTemplateExecution.ExecutionState value)

public ExecutionSummary.Builder setLastExecutionState(RestoreTemplateExecution.ExecutionState value)

Output only. The state of the last execution.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionState last_execution_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RestoreTemplateExecution.ExecutionState

The lastExecutionState to set.

Returns
Type Description
ExecutionSummary.Builder

This builder for chaining.

setLastExecutionStateValue(int value)

public ExecutionSummary.Builder setLastExecutionStateValue(int value)

Output only. The state of the last execution.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionState last_execution_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
ExecutionSummary.Builder

This builder for chaining.