Class TriggerSummary.Builder (0.62.0)

public static final class TriggerSummary.Builder extends GeneratedMessage.Builder<TriggerSummary.Builder> implements TriggerSummaryOrBuilder

TriggerSummary contains the results of the most recent automated restore initiation and the next scheduled execution time.

Protobuf type google.cloud.backupdr.v1beta.TriggerSummary

Static Methods

getDescriptor()

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

Methods

build()

public TriggerSummary build()
Returns
Type Description
TriggerSummary

buildPartial()

public TriggerSummary buildPartial()
Returns
Type Description
TriggerSummary

clear()

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

clearLastTriggerError()

public TriggerSummary.Builder clearLastTriggerError()

Output only. The error status of the most recent failed trigger.

.google.rpc.Status last_trigger_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TriggerSummary.Builder

clearLastTriggerTime()

public TriggerSummary.Builder clearLastTriggerTime()

Output only. The time of the most recent trigger initiation.

.google.protobuf.Timestamp last_trigger_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TriggerSummary.Builder

clearLastVerificationExecution()

public TriggerSummary.Builder clearLastVerificationExecution()

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

string last_verification_execution = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
TriggerSummary.Builder

This builder for chaining.

clearNextTriggerTime()

public TriggerSummary.Builder clearNextTriggerTime()

Output only. The scheduled time of the next trigger initiation.

.google.protobuf.Timestamp next_trigger_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TriggerSummary.Builder

getDefaultInstanceForType()

public TriggerSummary getDefaultInstanceForType()
Returns
Type Description
TriggerSummary

getDescriptorForType()

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

getLastTriggerError()

public Status getLastTriggerError()

Output only. The error status of the most recent failed trigger.

.google.rpc.Status last_trigger_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status

The lastTriggerError.

getLastTriggerErrorBuilder()

public Status.Builder getLastTriggerErrorBuilder()

Output only. The error status of the most recent failed trigger.

.google.rpc.Status last_trigger_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status.Builder

getLastTriggerErrorOrBuilder()

public StatusOrBuilder getLastTriggerErrorOrBuilder()

Output only. The error status of the most recent failed trigger.

.google.rpc.Status last_trigger_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.StatusOrBuilder

getLastTriggerTime()

public Timestamp getLastTriggerTime()

Output only. The time of the most recent trigger initiation.

.google.protobuf.Timestamp last_trigger_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastTriggerTime.

getLastTriggerTimeBuilder()

public Timestamp.Builder getLastTriggerTimeBuilder()

Output only. The time of the most recent trigger initiation.

.google.protobuf.Timestamp last_trigger_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getLastTriggerTimeOrBuilder()

public TimestampOrBuilder getLastTriggerTimeOrBuilder()

Output only. The time of the most recent trigger initiation.

.google.protobuf.Timestamp last_trigger_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getLastVerificationExecution()

public String getLastVerificationExecution()

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

string last_verification_execution = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The lastVerificationExecution.

getLastVerificationExecutionBytes()

public ByteString getLastVerificationExecutionBytes()

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

string last_verification_execution = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for lastVerificationExecution.

getNextTriggerTime()

public Timestamp getNextTriggerTime()

Output only. The scheduled time of the next trigger initiation.

.google.protobuf.Timestamp next_trigger_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The nextTriggerTime.

getNextTriggerTimeBuilder()

public Timestamp.Builder getNextTriggerTimeBuilder()

Output only. The scheduled time of the next trigger initiation.

.google.protobuf.Timestamp next_trigger_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getNextTriggerTimeOrBuilder()

public TimestampOrBuilder getNextTriggerTimeOrBuilder()

Output only. The scheduled time of the next trigger initiation.

.google.protobuf.Timestamp next_trigger_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasLastTriggerError()

public boolean hasLastTriggerError()

Output only. The error status of the most recent failed trigger.

.google.rpc.Status last_trigger_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastTriggerError field is set.

hasLastTriggerTime()

public boolean hasLastTriggerTime()

Output only. The time of the most recent trigger initiation.

.google.protobuf.Timestamp last_trigger_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastTriggerTime field is set.

hasNextTriggerTime()

public boolean hasNextTriggerTime()

Output only. The scheduled time of the next trigger initiation.

.google.protobuf.Timestamp next_trigger_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the nextTriggerTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TriggerSummary other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLastTriggerError(Status value)

public TriggerSummary.Builder mergeLastTriggerError(Status value)

Output only. The error status of the most recent failed trigger.

.google.rpc.Status last_trigger_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
TriggerSummary.Builder

mergeLastTriggerTime(Timestamp value)

public TriggerSummary.Builder mergeLastTriggerTime(Timestamp value)

Output only. The time of the most recent trigger initiation.

.google.protobuf.Timestamp last_trigger_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
TriggerSummary.Builder

mergeNextTriggerTime(Timestamp value)

public TriggerSummary.Builder mergeNextTriggerTime(Timestamp value)

Output only. The scheduled time of the next trigger initiation.

.google.protobuf.Timestamp next_trigger_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
TriggerSummary.Builder

setLastTriggerError(Status value)

public TriggerSummary.Builder setLastTriggerError(Status value)

Output only. The error status of the most recent failed trigger.

.google.rpc.Status last_trigger_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
TriggerSummary.Builder

setLastTriggerError(Status.Builder builderForValue)

public TriggerSummary.Builder setLastTriggerError(Status.Builder builderForValue)

Output only. The error status of the most recent failed trigger.

.google.rpc.Status last_trigger_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
TriggerSummary.Builder

setLastTriggerTime(Timestamp value)

public TriggerSummary.Builder setLastTriggerTime(Timestamp value)

Output only. The time of the most recent trigger initiation.

.google.protobuf.Timestamp last_trigger_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
TriggerSummary.Builder

setLastTriggerTime(Timestamp.Builder builderForValue)

public TriggerSummary.Builder setLastTriggerTime(Timestamp.Builder builderForValue)

Output only. The time of the most recent trigger initiation.

.google.protobuf.Timestamp last_trigger_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
TriggerSummary.Builder

setLastVerificationExecution(String value)

public TriggerSummary.Builder setLastVerificationExecution(String value)

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

string last_verification_execution = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The lastVerificationExecution to set.

Returns
Type Description
TriggerSummary.Builder

This builder for chaining.

setLastVerificationExecutionBytes(ByteString value)

public TriggerSummary.Builder setLastVerificationExecutionBytes(ByteString value)

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

string last_verification_execution = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for lastVerificationExecution to set.

Returns
Type Description
TriggerSummary.Builder

This builder for chaining.

setNextTriggerTime(Timestamp value)

public TriggerSummary.Builder setNextTriggerTime(Timestamp value)

Output only. The scheduled time of the next trigger initiation.

.google.protobuf.Timestamp next_trigger_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
TriggerSummary.Builder

setNextTriggerTime(Timestamp.Builder builderForValue)

public TriggerSummary.Builder setNextTriggerTime(Timestamp.Builder builderForValue)

Output only. The scheduled time of the next trigger initiation.

.google.protobuf.Timestamp next_trigger_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
TriggerSummary.Builder