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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicyInstanceSchedulePolicySchedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ResourcePolicyInstanceSchedulePolicySchedule build()
Returns
buildPartial()
public ResourcePolicyInstanceSchedulePolicySchedule buildPartial()
Returns
clear()
public ResourcePolicyInstanceSchedulePolicySchedule.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ResourcePolicyInstanceSchedulePolicySchedule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourcePolicyInstanceSchedulePolicySchedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSchedule()
public ResourcePolicyInstanceSchedulePolicySchedule.Builder clearSchedule()
Specifies the frequency for the operation, using the unix-cron format.
optional string schedule = 375820951;
Returns
clone()
public ResourcePolicyInstanceSchedulePolicySchedule.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ResourcePolicyInstanceSchedulePolicySchedule getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ResourcePolicyInstanceSchedulePolicySchedule other)
public ResourcePolicyInstanceSchedulePolicySchedule.Builder mergeFrom(ResourcePolicyInstanceSchedulePolicySchedule other)
Parameter
Returns
public ResourcePolicyInstanceSchedulePolicySchedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ResourcePolicyInstanceSchedulePolicySchedule.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicyInstanceSchedulePolicySchedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicyInstanceSchedulePolicySchedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourcePolicyInstanceSchedulePolicySchedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicyInstanceSchedulePolicySchedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides