Class ResumeScheduleRequest.Builder (3.48.0)

public static final class ResumeScheduleRequest.Builder extends GeneratedMessageV3.Builder<ResumeScheduleRequest.Builder> implements ResumeScheduleRequestOrBuilder

Request message for ScheduleService.ResumeSchedule.

Protobuf type google.cloud.aiplatform.v1.ResumeScheduleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResumeScheduleRequest build()
Returns
Type Description
ResumeScheduleRequest

buildPartial()

public ResumeScheduleRequest buildPartial()
Returns
Type Description
ResumeScheduleRequest

clear()

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

clearCatchUp()

public ResumeScheduleRequest.Builder clearCatchUp()

Optional. Whether to backfill missed runs when the schedule is resumed from PAUSED state. If set to true, all missed runs will be scheduled. New runs will be scheduled after the backfill is complete. This will also update Schedule.catch_up field. Default to false.

bool catch_up = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ResumeScheduleRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ResumeScheduleRequest.Builder clearName()

Required. The name of the Schedule resource to be resumed. Format: projects/{project}/locations/{location}/schedules/{schedule}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ResumeScheduleRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCatchUp()

public boolean getCatchUp()

Optional. Whether to backfill missed runs when the schedule is resumed from PAUSED state. If set to true, all missed runs will be scheduled. New runs will be scheduled after the backfill is complete. This will also update Schedule.catch_up field. Default to false.

bool catch_up = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The catchUp.

getDefaultInstanceForType()

public ResumeScheduleRequest getDefaultInstanceForType()
Returns
Type Description
ResumeScheduleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The name of the Schedule resource to be resumed. Format: projects/{project}/locations/{location}/schedules/{schedule}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the Schedule resource to be resumed. Format: projects/{project}/locations/{location}/schedules/{schedule}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResumeScheduleRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCatchUp(boolean value)

public ResumeScheduleRequest.Builder setCatchUp(boolean value)

Optional. Whether to backfill missed runs when the schedule is resumed from PAUSED state. If set to true, all missed runs will be scheduled. New runs will be scheduled after the backfill is complete. This will also update Schedule.catch_up field. Default to false.

bool catch_up = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The catchUp to set.

Returns
Type Description
ResumeScheduleRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ResumeScheduleRequest.Builder setName(String value)

Required. The name of the Schedule resource to be resumed. Format: projects/{project}/locations/{location}/schedules/{schedule}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ResumeScheduleRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ResumeScheduleRequest.Builder setNameBytes(ByteString value)

Required. The name of the Schedule resource to be resumed. Format: projects/{project}/locations/{location}/schedules/{schedule}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ResumeScheduleRequest.Builder

This builder for chaining.

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

public ResumeScheduleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ResumeScheduleRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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