public static final class ExecutionSummary.Builder extends GeneratedMessage.Builder<ExecutionSummary.Builder> implements ExecutionSummaryOrBuilderSummary of the last execution.
Protobuf type google.cloud.backupdr.v1beta.ExecutionSummary
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExecutionSummary.BuilderImplements
ExecutionSummaryOrBuilderStatic 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 |
|
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.v1beta.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 |
|
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.v1beta.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.v1beta.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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExecutionSummary.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExecutionSummary.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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.v1beta.RestoreTemplateExecution.ExecutionState last_execution_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
RestoreTemplateExecution.ExecutionStateThe 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.v1beta.RestoreTemplateExecution.ExecutionState last_execution_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for lastExecutionState to set. |
| Returns | |
|---|---|
| Type | Description |
ExecutionSummary.Builder |
This builder for chaining. |