Class RuleConfigInfo (0.37.0)

publicfinalclass RuleConfigInfoextendsGeneratedMessageV3implementsRuleConfigInfoOrBuilder

Message for rules config info.

Protobuf type google.cloud.backupdr.v1.RuleConfigInfo

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

LAST_BACKUP_ERROR_FIELD_NUMBER

publicstaticfinalintLAST_BACKUP_ERROR_FIELD_NUMBER
Field Value
Type Description
int

LAST_BACKUP_STATE_FIELD_NUMBER

publicstaticfinalintLAST_BACKUP_STATE_FIELD_NUMBER
Field Value
Type Description
int

LAST_SUCCESSFUL_BACKUP_CONSISTENCY_TIME_FIELD_NUMBER

publicstaticfinalintLAST_SUCCESSFUL_BACKUP_CONSISTENCY_TIME_FIELD_NUMBER
Field Value
Type Description
int

RULE_ID_FIELD_NUMBER

publicstaticfinalintRULE_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticRuleConfigInfogetDefaultInstance()
Returns
Type Description
RuleConfigInfo

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticRuleConfigInfo.BuildernewBuilder()
Returns
Type Description
RuleConfigInfo.Builder

newBuilder(RuleConfigInfo prototype)

publicstaticRuleConfigInfo.BuildernewBuilder(RuleConfigInfoprototype)
Parameter
Name Description
prototype RuleConfigInfo
Returns
Type Description
RuleConfigInfo.Builder

parseDelimitedFrom(InputStream input)

publicstaticRuleConfigInfoparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
RuleConfigInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticRuleConfigInfoparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleConfigInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticRuleConfigInfoparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
RuleConfigInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticRuleConfigInfoparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleConfigInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticRuleConfigInfoparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
RuleConfigInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticRuleConfigInfoparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleConfigInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticRuleConfigInfoparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RuleConfigInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticRuleConfigInfoparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleConfigInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticRuleConfigInfoparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
RuleConfigInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticRuleConfigInfoparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleConfigInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticRuleConfigInfoparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RuleConfigInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticRuleConfigInfoparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuleConfigInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<RuleConfigInfo>parser()
Returns
Type Description
Parser<RuleConfigInfo>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicRuleConfigInfogetDefaultInstanceForType()
Returns
Type Description
RuleConfigInfo

getLastBackupError()

publicStatusgetLastBackupError()

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()

publicStatusOrBuildergetLastBackupErrorOrBuilder()

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()

publicRuleConfigInfo.LastBackupStategetLastBackupState()

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()

publicintgetLastBackupStateValue()

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()

publicTimestampgetLastSuccessfulBackupConsistencyTime()

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()

publicTimestampOrBuildergetLastSuccessfulBackupConsistencyTimeOrBuilder()

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()

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

getRuleId()

publicStringgetRuleId()

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()

publicByteStringgetRuleIdBytes()

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()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hasLastBackupError()

publicbooleanhasLastBackupError()

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()

publicbooleanhasLastSuccessfulBackupConsistencyTime()

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()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicRuleConfigInfo.BuildernewBuilderForType()
Returns
Type Description
RuleConfigInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedRuleConfigInfo.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RuleConfigInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicRuleConfigInfo.BuildertoBuilder()
Returns
Type Description
RuleConfigInfo.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.