Class ResourcePolicyInstanceSchedulePolicySchedule.Builder (1.64.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResourcePolicyInstanceSchedulePolicySchedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides

build()

public ResourcePolicyInstanceSchedulePolicySchedule build()
Returns
Type Description
ResourcePolicyInstanceSchedulePolicySchedule

buildPartial()

public ResourcePolicyInstanceSchedulePolicySchedule buildPartial()
Returns
Type Description
ResourcePolicyInstanceSchedulePolicySchedule

clear()

public ResourcePolicyInstanceSchedulePolicySchedule.Builder clear()
Returns
Type Description
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ResourcePolicyInstanceSchedulePolicySchedule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ResourcePolicyInstanceSchedulePolicySchedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides

clearSchedule()

public ResourcePolicyInstanceSchedulePolicySchedule.Builder clearSchedule()

Specifies the frequency for the operation, using the unix-cron format.

optional string schedule = 375820951;

Returns
Type Description
ResourcePolicyInstanceSchedulePolicySchedule.Builder

This builder for chaining.

clone()

public ResourcePolicyInstanceSchedulePolicySchedule.Builder clone()
Returns
Type Description
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides

getDefaultInstanceForType()

public ResourcePolicyInstanceSchedulePolicySchedule getDefaultInstanceForType()
Returns
Type Description
ResourcePolicyInstanceSchedulePolicySchedule

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResourcePolicyInstanceSchedulePolicySchedule other)

public ResourcePolicyInstanceSchedulePolicySchedule.Builder mergeFrom(ResourcePolicyInstanceSchedulePolicySchedule other)
Parameter
Name Description
other ResourcePolicyInstanceSchedulePolicySchedule
Returns
Type Description
ResourcePolicyInstanceSchedulePolicySchedule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResourcePolicyInstanceSchedulePolicySchedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ResourcePolicyInstanceSchedulePolicySchedule.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResourcePolicyInstanceSchedulePolicySchedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ResourcePolicyInstanceSchedulePolicySchedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ResourcePolicyInstanceSchedulePolicySchedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ResourcePolicyInstanceSchedulePolicySchedule.Builder
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
Type Description
ResourcePolicyInstanceSchedulePolicySchedule.Builder

This builder for chaining.

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
Type Description
ResourcePolicyInstanceSchedulePolicySchedule.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ResourcePolicyInstanceSchedulePolicySchedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides