Class ResourcePolicySnapshotSchedulePolicySchedule (1.12.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
TypeDescription
int

HOURLY_SCHEDULE_FIELD_NUMBER

public static final int HOURLY_SCHEDULE_FIELD_NUMBER
Field Value
TypeDescription
int

WEEKLY_SCHEDULE_FIELD_NUMBER

public static final int WEEKLY_SCHEDULE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ResourcePolicySnapshotSchedulePolicySchedule getDefaultInstance()
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ResourcePolicySnapshotSchedulePolicySchedule.Builder newBuilder()
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule.Builder

newBuilder(ResourcePolicySnapshotSchedulePolicySchedule prototype)

public static ResourcePolicySnapshotSchedulePolicySchedule.Builder newBuilder(ResourcePolicySnapshotSchedulePolicySchedule prototype)
Parameter
NameDescription
prototypeResourcePolicySnapshotSchedulePolicySchedule
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule.Builder

parseDelimitedFrom(InputStream input)

public static ResourcePolicySnapshotSchedulePolicySchedule parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourcePolicySnapshotSchedulePolicySchedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ResourcePolicySnapshotSchedulePolicySchedule> parser()
Returns
TypeDescription
Parser<ResourcePolicySnapshotSchedulePolicySchedule>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDailySchedule()

public ResourcePolicyDailyCycle getDailySchedule()

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

Returns
TypeDescription
ResourcePolicyDailyCycle

The dailySchedule.

getDailyScheduleOrBuilder()

public ResourcePolicyDailyCycleOrBuilder getDailyScheduleOrBuilder()

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

Returns
TypeDescription
ResourcePolicyDailyCycleOrBuilder

getDefaultInstanceForType()

public ResourcePolicySnapshotSchedulePolicySchedule getDefaultInstanceForType()
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule

getHourlySchedule()

public ResourcePolicyHourlyCycle getHourlySchedule()

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

Returns
TypeDescription
ResourcePolicyHourlyCycle

The hourlySchedule.

getHourlyScheduleOrBuilder()

public ResourcePolicyHourlyCycleOrBuilder getHourlyScheduleOrBuilder()

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

Returns
TypeDescription
ResourcePolicyHourlyCycleOrBuilder

getParserForType()

public Parser<ResourcePolicySnapshotSchedulePolicySchedule> getParserForType()
Returns
TypeDescription
Parser<ResourcePolicySnapshotSchedulePolicySchedule>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getWeeklySchedule()

public ResourcePolicyWeeklyCycle getWeeklySchedule()

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

Returns
TypeDescription
ResourcePolicyWeeklyCycle

The weeklySchedule.

getWeeklyScheduleOrBuilder()

public ResourcePolicyWeeklyCycleOrBuilder getWeeklyScheduleOrBuilder()

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

Returns
TypeDescription
ResourcePolicyWeeklyCycleOrBuilder

hasDailySchedule()

public boolean hasDailySchedule()

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

Returns
TypeDescription
boolean

Whether the dailySchedule field is set.

hasHourlySchedule()

public boolean hasHourlySchedule()

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

Returns
TypeDescription
boolean

Whether the hourlySchedule field is set.

hasWeeklySchedule()

public boolean hasWeeklySchedule()

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

Returns
TypeDescription
boolean

Whether the weeklySchedule field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ResourcePolicySnapshotSchedulePolicySchedule.Builder newBuilderForType()
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ResourcePolicySnapshotSchedulePolicySchedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ResourcePolicySnapshotSchedulePolicySchedule.Builder toBuilder()
Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException