public static final class ResourcePolicyInstanceSchedulePolicySchedule.Builder extends GeneratedMessageV3.Builder<ResourcePolicyInstanceSchedulePolicySchedule.Builder> implements ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder
Schedule for an instance operation.
Protobuf type google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicyInstanceSchedulePolicySchedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ResourcePolicyInstanceSchedulePolicySchedule build()
buildPartial()
public ResourcePolicyInstanceSchedulePolicySchedule buildPartial()
clear()
public ResourcePolicyInstanceSchedulePolicySchedule.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ResourcePolicyInstanceSchedulePolicySchedule.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourcePolicyInstanceSchedulePolicySchedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSchedule()
public ResourcePolicyInstanceSchedulePolicySchedule.Builder clearSchedule()
Specifies the frequency for the operation, using the unix-cron format.
optional string schedule = 375820951;
clone()
public ResourcePolicyInstanceSchedulePolicySchedule.Builder clone()
Overrides
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicyInstanceSchedulePolicySchedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicyInstanceSchedulePolicySchedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourcePolicyInstanceSchedulePolicySchedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicyInstanceSchedulePolicySchedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides