Interface ResourcePolicySnapshotSchedulePolicyRetentionPolicyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ResourcePolicySnapshotSchedulePolicyRetentionPolicy, ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder

@Generated public interface ResourcePolicySnapshotSchedulePolicyRetentionPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Maximum age of the snapshot that is allowed to be kept.
    Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
    com.google.protobuf.ByteString
    Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
    boolean
    Maximum age of the snapshot that is allowed to be kept.
    boolean
    Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasMaxRetentionDays

      boolean hasMaxRetentionDays()
       Maximum age of the snapshot that is allowed to be kept.
       
      optional int32 max_retention_days = 324296979;
      Returns:
      Whether the maxRetentionDays field is set.
    • getMaxRetentionDays

      int getMaxRetentionDays()
       Maximum age of the snapshot that is allowed to be kept.
       
      optional int32 max_retention_days = 324296979;
      Returns:
      The maxRetentionDays.
    • hasOnSourceDiskDelete

      boolean hasOnSourceDiskDelete()
       Specifies the behavior to apply to scheduled snapshots when
       the source disk is deleted.
       Check the OnSourceDiskDelete enum for the list of possible values.
       
      optional string on_source_disk_delete = 321955529;
      Returns:
      Whether the onSourceDiskDelete field is set.
    • getOnSourceDiskDelete

      String getOnSourceDiskDelete()
       Specifies the behavior to apply to scheduled snapshots when
       the source disk is deleted.
       Check the OnSourceDiskDelete enum for the list of possible values.
       
      optional string on_source_disk_delete = 321955529;
      Returns:
      The onSourceDiskDelete.
    • getOnSourceDiskDeleteBytes

      com.google.protobuf.ByteString getOnSourceDiskDeleteBytes()
       Specifies the behavior to apply to scheduled snapshots when
       the source disk is deleted.
       Check the OnSourceDiskDelete enum for the list of possible values.
       
      optional string on_source_disk_delete = 321955529;
      Returns:
      The bytes for onSourceDiskDelete.