public final class SnapshotPolicy extends GeneratedMessageV3 implements SnapshotPolicyOrBuilder
Snapshot Policy for a volume.
Protobuf type google.cloud.netapp.v1.SnapshotPolicy
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
DAILY_SCHEDULE_FIELD_NUMBER
public static final int DAILY_SCHEDULE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
HOURLY_SCHEDULE_FIELD_NUMBER
public static final int HOURLY_SCHEDULE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MONTHLY_SCHEDULE_FIELD_NUMBER
public static final int MONTHLY_SCHEDULE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
WEEKLY_SCHEDULE_FIELD_NUMBER
public static final int WEEKLY_SCHEDULE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SnapshotPolicy getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SnapshotPolicy.Builder newBuilder()
newBuilder(SnapshotPolicy prototype)
public static SnapshotPolicy.Builder newBuilder(SnapshotPolicy prototype)
public static SnapshotPolicy parseDelimitedFrom(InputStream input)
public static SnapshotPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SnapshotPolicy parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SnapshotPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SnapshotPolicy parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SnapshotPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SnapshotPolicy parseFrom(CodedInputStream input)
public static SnapshotPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SnapshotPolicy parseFrom(InputStream input)
public static SnapshotPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SnapshotPolicy parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SnapshotPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SnapshotPolicy> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDailySchedule()
public DailySchedule getDailySchedule()
Daily schedule policy.
optional .google.cloud.netapp.v1.DailySchedule daily_schedule = 3;
getDailyScheduleOrBuilder()
public DailyScheduleOrBuilder getDailyScheduleOrBuilder()
Daily schedule policy.
optional .google.cloud.netapp.v1.DailySchedule daily_schedule = 3;
getDefaultInstanceForType()
public SnapshotPolicy getDefaultInstanceForType()
getEnabled()
public boolean getEnabled()
If enabled, make snapshots automatically according to the schedules.
Default is false.
optional bool enabled = 1;
Returns |
---|
Type | Description |
boolean | The enabled.
|
getHourlySchedule()
public HourlySchedule getHourlySchedule()
Hourly schedule policy.
optional .google.cloud.netapp.v1.HourlySchedule hourly_schedule = 2;
getHourlyScheduleOrBuilder()
public HourlyScheduleOrBuilder getHourlyScheduleOrBuilder()
Hourly schedule policy.
optional .google.cloud.netapp.v1.HourlySchedule hourly_schedule = 2;
getMonthlySchedule()
public MonthlySchedule getMonthlySchedule()
Monthly schedule policy.
optional .google.cloud.netapp.v1.MonthlySchedule monthly_schedule = 5;
getMonthlyScheduleOrBuilder()
public MonthlyScheduleOrBuilder getMonthlyScheduleOrBuilder()
Monthly schedule policy.
optional .google.cloud.netapp.v1.MonthlySchedule monthly_schedule = 5;
getParserForType()
public Parser<SnapshotPolicy> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getWeeklySchedule()
public WeeklySchedule getWeeklySchedule()
Weekly schedule policy.
optional .google.cloud.netapp.v1.WeeklySchedule weekly_schedule = 4;
getWeeklyScheduleOrBuilder()
public WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder()
Weekly schedule policy.
optional .google.cloud.netapp.v1.WeeklySchedule weekly_schedule = 4;
hasDailySchedule()
public boolean hasDailySchedule()
Daily schedule policy.
optional .google.cloud.netapp.v1.DailySchedule daily_schedule = 3;
Returns |
---|
Type | Description |
boolean | Whether the dailySchedule field is set.
|
hasEnabled()
public boolean hasEnabled()
If enabled, make snapshots automatically according to the schedules.
Default is false.
optional bool enabled = 1;
Returns |
---|
Type | Description |
boolean | Whether the enabled field is set.
|
hasHourlySchedule()
public boolean hasHourlySchedule()
Hourly schedule policy.
optional .google.cloud.netapp.v1.HourlySchedule hourly_schedule = 2;
Returns |
---|
Type | Description |
boolean | Whether the hourlySchedule field is set.
|
hasMonthlySchedule()
public boolean hasMonthlySchedule()
Monthly schedule policy.
optional .google.cloud.netapp.v1.MonthlySchedule monthly_schedule = 5;
Returns |
---|
Type | Description |
boolean | Whether the monthlySchedule field is set.
|
hasWeeklySchedule()
public boolean hasWeeklySchedule()
Weekly schedule policy.
optional .google.cloud.netapp.v1.WeeklySchedule weekly_schedule = 4;
Returns |
---|
Type | Description |
boolean | Whether the weeklySchedule field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SnapshotPolicy.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SnapshotPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SnapshotPolicy.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides