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
Static Fields
DAILY_SCHEDULE_FIELD_NUMBER
public static final int DAILY_SCHEDULE_FIELD_NUMBER
Field Value
HOURLY_SCHEDULE_FIELD_NUMBER
public static final int HOURLY_SCHEDULE_FIELD_NUMBER
Field Value
WEEKLY_SCHEDULE_FIELD_NUMBER
public static final int WEEKLY_SCHEDULE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ResourcePolicySnapshotSchedulePolicySchedule getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ResourcePolicySnapshotSchedulePolicySchedule.Builder newBuilder()
Returns
newBuilder(ResourcePolicySnapshotSchedulePolicySchedule prototype)
public static ResourcePolicySnapshotSchedulePolicySchedule.Builder newBuilder(ResourcePolicySnapshotSchedulePolicySchedule prototype)
Parameter
Returns
public static ResourcePolicySnapshotSchedulePolicySchedule parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResourcePolicySnapshotSchedulePolicySchedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResourcePolicySnapshotSchedulePolicySchedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ResourcePolicySnapshotSchedulePolicySchedule> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDailySchedule()
public ResourcePolicyDailyCycle getDailySchedule()
optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;
Returns
getDailyScheduleOrBuilder()
public ResourcePolicyDailyCycleOrBuilder getDailyScheduleOrBuilder()
optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;
Returns
getDefaultInstanceForType()
public ResourcePolicySnapshotSchedulePolicySchedule getDefaultInstanceForType()
Returns
getHourlySchedule()
public ResourcePolicyHourlyCycle getHourlySchedule()
optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;
Returns
getHourlyScheduleOrBuilder()
public ResourcePolicyHourlyCycleOrBuilder getHourlyScheduleOrBuilder()
optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;
Returns
getParserForType()
public Parser<ResourcePolicySnapshotSchedulePolicySchedule> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getWeeklySchedule()
public ResourcePolicyWeeklyCycle getWeeklySchedule()
optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;
Returns
getWeeklyScheduleOrBuilder()
public ResourcePolicyWeeklyCycleOrBuilder getWeeklyScheduleOrBuilder()
optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ResourcePolicySnapshotSchedulePolicySchedule.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ResourcePolicySnapshotSchedulePolicySchedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ResourcePolicySnapshotSchedulePolicySchedule.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions