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