Class TriggerSummary (0.62.0)

public final class TriggerSummary extends GeneratedMessage implements TriggerSummaryOrBuilder

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

Protobuf type google.cloud.backupdr.v1.TriggerSummary

Static Fields

LAST_TRIGGER_ERROR_FIELD_NUMBER

public static final int LAST_TRIGGER_ERROR_FIELD_NUMBER
Field Value
Type Description
int

LAST_TRIGGER_TIME_FIELD_NUMBER

public static final int LAST_TRIGGER_TIME_FIELD_NUMBER
Field Value
Type Description
int

LAST_VERIFICATION_EXECUTION_FIELD_NUMBER

public static final int LAST_VERIFICATION_EXECUTION_FIELD_NUMBER
Field Value
Type Description
int

NEXT_TRIGGER_TIME_FIELD_NUMBER

public static final int NEXT_TRIGGER_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TriggerSummary getDefaultInstance()
Returns
Type Description
TriggerSummary

getDescriptor()

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

newBuilder()

public static TriggerSummary.Builder newBuilder()
Returns
Type Description
TriggerSummary.Builder

newBuilder(TriggerSummary prototype)

public static TriggerSummary.Builder newBuilder(TriggerSummary prototype)
Parameter
Name Description
prototype TriggerSummary
Returns
Type Description
TriggerSummary.Builder

parseDelimitedFrom(InputStream input)

public static TriggerSummary parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TriggerSummary
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TriggerSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TriggerSummary
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TriggerSummary parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TriggerSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TriggerSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TriggerSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TriggerSummary parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TriggerSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TriggerSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TriggerSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TriggerSummary parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TriggerSummary
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TriggerSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TriggerSummary
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TriggerSummary parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TriggerSummary
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TriggerSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TriggerSummary
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TriggerSummary parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TriggerSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TriggerSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TriggerSummary
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TriggerSummary> parser()
Returns
Type Description
Parser<TriggerSummary>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TriggerSummary getDefaultInstanceForType()
Returns
Type Description
TriggerSummary

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.

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.

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.

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

getParserForType()

public Parser<TriggerSummary> getParserForType()
Returns
Type Description
Parser<TriggerSummary>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TriggerSummary.Builder newBuilderForType()
Returns
Type Description
TriggerSummary.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected TriggerSummary.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TriggerSummary.Builder
Overrides

toBuilder()

public TriggerSummary.Builder toBuilder()
Returns
Type Description
TriggerSummary.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException