Class ResumeScheduleRequest.Builder (3.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResumeScheduleRequest build()
Returns
TypeDescription
ResumeScheduleRequest

buildPartial()

public ResumeScheduleRequest buildPartial()
Returns
TypeDescription
ResumeScheduleRequest

clear()

public ResumeScheduleRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
ResumeScheduleRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ResumeScheduleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ResumeScheduleRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ResumeScheduleRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
boolean

The catchUp.

getDefaultInstanceForType()

public ResumeScheduleRequest getDefaultInstanceForType()
Returns
TypeDescription
ResumeScheduleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResumeScheduleRequest other)

public ResumeScheduleRequest.Builder mergeFrom(ResumeScheduleRequest other)
Parameter
NameDescription
otherResumeScheduleRequest
Returns
TypeDescription
ResumeScheduleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResumeScheduleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The catchUp to set.

Returns
TypeDescription
ResumeScheduleRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ResumeScheduleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ResumeScheduleRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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