Send feedback
Class ResourcePolicyInstanceSchedulePolicySchedule.Builder (1.93.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class ResourcePolicyInstanceSchedulePolicySchedule . Builder extends GeneratedMessage . Builder<ResourcePolicyInstanceSchedulePolicySchedule . Builder > implements ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder
Schedule for an instance operation.
Protobuf type google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
build()
public ResourcePolicyInstanceSchedulePolicySchedule build ()
buildPartial()
public ResourcePolicyInstanceSchedulePolicySchedule buildPartial ()
clear()
public ResourcePolicyInstanceSchedulePolicySchedule . Builder clear ()
Overrides
clearSchedule()
public ResourcePolicyInstanceSchedulePolicySchedule . Builder clearSchedule ()
Specifies the frequency for the operation, using the unix-cron format.
optional string schedule = 375820951;
getDefaultInstanceForType()
public ResourcePolicyInstanceSchedulePolicySchedule getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getSchedule()
public String getSchedule ()
Specifies the frequency for the operation, using the unix-cron format.
optional string schedule = 375820951;
Returns
Type
Description
String
The schedule.
getScheduleBytes()
public ByteString getScheduleBytes ()
Specifies the frequency for the operation, using the unix-cron format.
optional string schedule = 375820951;
Returns
Type
Description
ByteString
The bytes for schedule.
hasSchedule()
public boolean hasSchedule ()
Specifies the frequency for the operation, using the unix-cron format.
optional string schedule = 375820951;
Returns
Type
Description
boolean
Whether the schedule field is set.
internalGetFieldAccessorTable()
protected GeneratedMessage . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ResourcePolicyInstanceSchedulePolicySchedule other)
public ResourcePolicyInstanceSchedulePolicySchedule . Builder mergeFrom ( ResourcePolicyInstanceSchedulePolicySchedule other )
public ResourcePolicyInstanceSchedulePolicySchedule . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ResourcePolicyInstanceSchedulePolicySchedule . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
setSchedule(String value)
public ResourcePolicyInstanceSchedulePolicySchedule . Builder setSchedule ( String value )
Specifies the frequency for the operation, using the unix-cron format.
optional string schedule = 375820951;
Parameter
Name
Description
value
String The schedule to set.
setScheduleBytes(ByteString value)
public ResourcePolicyInstanceSchedulePolicySchedule . Builder setScheduleBytes ( ByteString value )
Specifies the frequency for the operation, using the unix-cron format.
optional string schedule = 375820951;
Parameter
Name
Description
value
ByteString The bytes for schedule to set.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-01 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-02-01 UTC."],[],[]]