Class ResourcePolicyInstanceSchedulePolicySchedule.Builder (1.6.0-beta)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResourcePolicyInstanceSchedulePolicySchedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides

build()

public ResourcePolicyInstanceSchedulePolicySchedule build()
Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule

buildPartial()

public ResourcePolicyInstanceSchedulePolicySchedule buildPartial()
Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule

clear()

public ResourcePolicyInstanceSchedulePolicySchedule.Builder clear()
Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ResourcePolicyInstanceSchedulePolicySchedule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ResourcePolicyInstanceSchedulePolicySchedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides

clearSchedule()

public ResourcePolicyInstanceSchedulePolicySchedule.Builder clearSchedule()

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

optional string schedule = 375820951;

Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule.Builder

This builder for chaining.

clone()

public ResourcePolicyInstanceSchedulePolicySchedule.Builder clone()
Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides

getDefaultInstanceForType()

public ResourcePolicyInstanceSchedulePolicySchedule getDefaultInstanceForType()
Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSchedule()

public String getSchedule()

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

optional string schedule = 375820951;

Returns
TypeDescription
String

The schedule.

getScheduleBytes()

public ByteString getScheduleBytes()

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

optional string schedule = 375820951;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the schedule field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResourcePolicyInstanceSchedulePolicySchedule other)

public ResourcePolicyInstanceSchedulePolicySchedule.Builder mergeFrom(ResourcePolicyInstanceSchedulePolicySchedule other)
Parameter
NameDescription
otherResourcePolicyInstanceSchedulePolicySchedule
Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResourcePolicyInstanceSchedulePolicySchedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ResourcePolicyInstanceSchedulePolicySchedule.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResourcePolicyInstanceSchedulePolicySchedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ResourcePolicyInstanceSchedulePolicySchedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides

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

public ResourcePolicyInstanceSchedulePolicySchedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The schedule to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for schedule to set.

Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ResourcePolicyInstanceSchedulePolicySchedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResourcePolicyInstanceSchedulePolicySchedule.Builder
Overrides