public static final class RuleConfigInfo.Builder extends GeneratedMessageV3.Builder<RuleConfigInfo.Builder> implements RuleConfigInfoOrBuilder
Message for rules config info.
Protobuf type google.cloud.backupdr.v1.RuleConfigInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RuleConfigInfo.BuilderImplements
RuleConfigInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RuleConfigInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
build()
public RuleConfigInfo build()
Returns | |
---|---|
Type | Description |
RuleConfigInfo |
buildPartial()
public RuleConfigInfo buildPartial()
Returns | |
---|---|
Type | Description |
RuleConfigInfo |
clear()
public RuleConfigInfo.Builder clear()
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public RuleConfigInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
clearLastBackupError()
public RuleConfigInfo.Builder clearLastBackupError()
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 |
RuleConfigInfo.Builder |
clearLastBackupState()
public RuleConfigInfo.Builder clearLastBackupState()
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.Builder |
This builder for chaining. |
clearLastSuccessfulBackupConsistencyTime()
public RuleConfigInfo.Builder clearLastSuccessfulBackupConsistencyTime()
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 |
RuleConfigInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RuleConfigInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
clearRuleId()
public RuleConfigInfo.Builder clearRuleId()
Output only. Output Only.
Backup Rule id fetched from backup plan.
string rule_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
This builder for chaining. |
clone()
public RuleConfigInfo.Builder clone()
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
getDefaultInstanceForType()
public RuleConfigInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RuleConfigInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
getLastBackupErrorBuilder()
public Status.Builder getLastBackupErrorBuilder()
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.Builder |
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. |
getLastSuccessfulBackupConsistencyTimeBuilder()
public Timestamp.Builder getLastSuccessfulBackupConsistencyTimeBuilder()
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 |
Builder |
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 |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(RuleConfigInfo other)
public RuleConfigInfo.Builder mergeFrom(RuleConfigInfo other)
Parameter | |
---|---|
Name | Description |
other |
RuleConfigInfo |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RuleConfigInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RuleConfigInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
mergeLastBackupError(Status value)
public RuleConfigInfo.Builder mergeLastBackupError(Status value)
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];
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
mergeLastSuccessfulBackupConsistencyTime(Timestamp value)
public RuleConfigInfo.Builder mergeLastSuccessfulBackupConsistencyTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RuleConfigInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RuleConfigInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
setLastBackupError(Status value)
public RuleConfigInfo.Builder setLastBackupError(Status value)
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];
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
setLastBackupError(Status.Builder builderForValue)
public RuleConfigInfo.Builder setLastBackupError(Status.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
setLastBackupState(RuleConfigInfo.LastBackupState value)
public RuleConfigInfo.Builder setLastBackupState(RuleConfigInfo.LastBackupState value)
Output only. The last backup state for rule.
.google.cloud.backupdr.v1.RuleConfigInfo.LastBackupState last_backup_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
RuleConfigInfo.LastBackupState The lastBackupState to set. |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
This builder for chaining. |
setLastBackupStateValue(int value)
public RuleConfigInfo.Builder setLastBackupStateValue(int value)
Output only. The last backup state for rule.
.google.cloud.backupdr.v1.RuleConfigInfo.LastBackupState last_backup_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for lastBackupState to set. |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
This builder for chaining. |
setLastSuccessfulBackupConsistencyTime(Timestamp value)
public RuleConfigInfo.Builder setLastSuccessfulBackupConsistencyTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
setLastSuccessfulBackupConsistencyTime(Timestamp.Builder builderForValue)
public RuleConfigInfo.Builder setLastSuccessfulBackupConsistencyTime(Timestamp.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RuleConfigInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
setRuleId(String value)
public RuleConfigInfo.Builder setRuleId(String value)
Output only. Output Only.
Backup Rule id fetched from backup plan.
string rule_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The ruleId to set. |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
This builder for chaining. |
setRuleIdBytes(ByteString value)
public RuleConfigInfo.Builder setRuleIdBytes(ByteString value)
Output only. Output Only.
Backup Rule id fetched from backup plan.
string rule_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for ruleId to set. |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RuleConfigInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RuleConfigInfo.Builder |