Class ResourcePolicySnapshotSchedulePolicySchedule (1.63.0)

public final class ResourcePolicySnapshotSchedulePolicySchedule extends GeneratedMessageV3 implements ResourcePolicySnapshotSchedulePolicyScheduleOrBuilder

A schedule for disks where the schedueled operations are performed.

Protobuf type google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySchedule

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ResourcePolicySnapshotSchedulePolicySchedule

Static Fields

DAILY_SCHEDULE_FIELD_NUMBER

public static final int DAILY_SCHEDULE_FIELD_NUMBER
Field Value
Type Description
int

HOURLY_SCHEDULE_FIELD_NUMBER

public static final int HOURLY_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 ResourcePolicySnapshotSchedulePolicySchedule getDefaultInstance()
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ResourcePolicySnapshotSchedulePolicySchedule.Builder newBuilder()
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule.Builder

newBuilder(ResourcePolicySnapshotSchedulePolicySchedule prototype)

public static ResourcePolicySnapshotSchedulePolicySchedule.Builder newBuilder(ResourcePolicySnapshotSchedulePolicySchedule prototype)
Parameter
Name Description
prototype ResourcePolicySnapshotSchedulePolicySchedule
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule.Builder

parseDelimitedFrom(InputStream input)

public static ResourcePolicySnapshotSchedulePolicySchedule parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourcePolicySnapshotSchedulePolicySchedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ResourcePolicySnapshotSchedulePolicySchedule> parser()
Returns
Type Description
Parser<ResourcePolicySnapshotSchedulePolicySchedule>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDailySchedule()

public ResourcePolicyDailyCycle getDailySchedule()

optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;

Returns
Type Description
ResourcePolicyDailyCycle

The dailySchedule.

getDailyScheduleOrBuilder()

public ResourcePolicyDailyCycleOrBuilder getDailyScheduleOrBuilder()

optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;

Returns
Type Description
ResourcePolicyDailyCycleOrBuilder

getDefaultInstanceForType()

public ResourcePolicySnapshotSchedulePolicySchedule getDefaultInstanceForType()
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule

getHourlySchedule()

public ResourcePolicyHourlyCycle getHourlySchedule()

optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;

Returns
Type Description
ResourcePolicyHourlyCycle

The hourlySchedule.

getHourlyScheduleOrBuilder()

public ResourcePolicyHourlyCycleOrBuilder getHourlyScheduleOrBuilder()

optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;

Returns
Type Description
ResourcePolicyHourlyCycleOrBuilder

getParserForType()

public Parser<ResourcePolicySnapshotSchedulePolicySchedule> getParserForType()
Returns
Type Description
Parser<ResourcePolicySnapshotSchedulePolicySchedule>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWeeklySchedule()

public ResourcePolicyWeeklyCycle getWeeklySchedule()

optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;

Returns
Type Description
ResourcePolicyWeeklyCycle

The weeklySchedule.

getWeeklyScheduleOrBuilder()

public ResourcePolicyWeeklyCycleOrBuilder getWeeklyScheduleOrBuilder()

optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;

Returns
Type Description
ResourcePolicyWeeklyCycleOrBuilder

hasDailySchedule()

public boolean hasDailySchedule()

optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;

Returns
Type Description
boolean

Whether the dailySchedule field is set.

hasHourlySchedule()

public boolean hasHourlySchedule()

optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;

Returns
Type Description
boolean

Whether the hourlySchedule field is set.

hasWeeklySchedule()

public boolean hasWeeklySchedule()

optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;

Returns
Type Description
boolean

Whether the weeklySchedule field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ResourcePolicySnapshotSchedulePolicySchedule.Builder newBuilderForType()
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ResourcePolicySnapshotSchedulePolicySchedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ResourcePolicySnapshotSchedulePolicySchedule.Builder toBuilder()
Returns
Type Description
ResourcePolicySnapshotSchedulePolicySchedule.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException