public final class BackupDrPlanRule extends GeneratedMessage implements BackupDrPlanRuleOrBuilderBackupDrPlanRule has rule specific information of the backup plan resource.
Protobuf type google.cloud.backupdr.v1.BackupDrPlanRule
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > BackupDrPlanRuleImplements
BackupDrPlanRuleOrBuilderStatic Fields
LAST_SUCCESSFUL_BACKUP_TIME_FIELD_NUMBER
public static final int LAST_SUCCESSFUL_BACKUP_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 BackupDrPlanRule getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static BackupDrPlanRule.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule.Builder |
|
newBuilder(BackupDrPlanRule prototype)
public static BackupDrPlanRule.Builder newBuilder(BackupDrPlanRule prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
BackupDrPlanRule |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule.Builder |
|
parseDelimitedFrom(InputStream input)
public static BackupDrPlanRule parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BackupDrPlanRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static BackupDrPlanRule parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BackupDrPlanRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static BackupDrPlanRule parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackupDrPlanRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static BackupDrPlanRule parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BackupDrPlanRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static BackupDrPlanRule parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BackupDrPlanRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static BackupDrPlanRule parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BackupDrPlanRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<BackupDrPlanRule> parser()| Returns | |
|---|---|
| Type | Description |
Parser<BackupDrPlanRule> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public BackupDrPlanRule getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule |
|
getLastSuccessfulBackupTime()
public Timestamp getLastSuccessfulBackupTime()Output only. Timestamp of the latest successful backup created via this backup rule.
.google.protobuf.Timestamp last_successful_backup_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The lastSuccessfulBackupTime. |
getLastSuccessfulBackupTimeOrBuilder()
public TimestampOrBuilder getLastSuccessfulBackupTimeOrBuilder()Output only. Timestamp of the latest successful backup created via this backup rule.
.google.protobuf.Timestamp last_successful_backup_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getParserForType()
public Parser<BackupDrPlanRule> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<BackupDrPlanRule> |
|
getRuleId()
public String getRuleId()Output only. Unique Id of the backup rule.
string rule_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The ruleId. |
getRuleIdBytes()
public ByteString getRuleIdBytes()Output only. Unique Id of the backup rule.
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 |
|
hasLastSuccessfulBackupTime()
public boolean hasLastSuccessfulBackupTime()Output only. Timestamp of the latest successful backup created via this backup rule.
.google.protobuf.Timestamp last_successful_backup_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lastSuccessfulBackupTime field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public BackupDrPlanRule.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected BackupDrPlanRule.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule.Builder |
|
toBuilder()
public BackupDrPlanRule.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
BackupDrPlanRule.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|