Class RuleConfigInfo (0.13.0)

public final class RuleConfigInfo extends GeneratedMessageV3 implements RuleConfigInfoOrBuilder

Message for rules config info.

Protobuf type google.cloud.backupdr.v1.RuleConfigInfo

Static Fields

LAST_BACKUP_ERROR_FIELD_NUMBER

public static final int LAST_BACKUP_ERROR_FIELD_NUMBER
Field Value
Type Description
int

LAST_BACKUP_STATE_FIELD_NUMBER

public static final int LAST_BACKUP_STATE_FIELD_NUMBER
Field Value
Type Description
int

LAST_SUCCESSFUL_BACKUP_CONSISTENCY_TIME_FIELD_NUMBER

public static final int LAST_SUCCESSFUL_BACKUP_CONSISTENCY_TIME_FIELD_NUMBER
Field Value
Type Description
int

RULE_ID_FIELD_NUMBER

public static final int RULE_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RuleConfigInfo getDefaultInstance()
Returns
Type Description
RuleConfigInfo

getDescriptor()

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

newBuilder()

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

newBuilder(RuleConfigInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RuleConfigInfo getDefaultInstanceForType()
Returns
Type Description
RuleConfigInfo

getLastBackupError()

public Status getLastBackupError()

Output only. Output Only.

google.rpc.Status object to store the last backup error.

.google.rpc.Status last_backup_error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status

The lastBackupError.

getLastBackupErrorOrBuilder()

public StatusOrBuilder getLastBackupErrorOrBuilder()

Output only. Output Only.

google.rpc.Status object to store the last backup error.

.google.rpc.Status last_backup_error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.StatusOrBuilder

getLastBackupState()

public RuleConfigInfo.LastBackupState getLastBackupState()

Output only. The last backup state for rule.

.google.cloud.backupdr.v1.RuleConfigInfo.LastBackupState last_backup_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RuleConfigInfo.LastBackupState

The lastBackupState.

getLastBackupStateValue()

public int getLastBackupStateValue()

Output only. The last backup state for rule.

.google.cloud.backupdr.v1.RuleConfigInfo.LastBackupState last_backup_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for lastBackupState.

getLastSuccessfulBackupConsistencyTime()

public Timestamp getLastSuccessfulBackupConsistencyTime()

Output only. The point in time when the last successful backup was captured from the source.

.google.protobuf.Timestamp last_successful_backup_consistency_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastSuccessfulBackupConsistencyTime.

getLastSuccessfulBackupConsistencyTimeOrBuilder()

public TimestampOrBuilder getLastSuccessfulBackupConsistencyTimeOrBuilder()

Output only. The point in time when the last successful backup was captured from the source.

.google.protobuf.Timestamp last_successful_backup_consistency_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getParserForType()

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

getRuleId()

public String getRuleId()

Output only. Output Only.

Backup Rule id fetched from backup plan.

string rule_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The ruleId.

getRuleIdBytes()

public ByteString getRuleIdBytes()

Output only. Output Only.

Backup Rule id fetched from backup plan.

string rule_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for ruleId.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasLastBackupError()

public boolean hasLastBackupError()

Output only. Output Only.

google.rpc.Status object to store the last backup error.

.google.rpc.Status last_backup_error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastBackupError field is set.

hasLastSuccessfulBackupConsistencyTime()

public boolean hasLastSuccessfulBackupConsistencyTime()

Output only. The point in time when the last successful backup was captured from the source.

.google.protobuf.Timestamp last_successful_backup_consistency_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastSuccessfulBackupConsistencyTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RuleConfigInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RuleConfigInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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