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
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public ResumeScheduleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ResumeScheduleRequest build()
public ResumeScheduleRequest buildPartial()
public ResumeScheduleRequest.Builder clear()
Overrides
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];
public ResumeScheduleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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) = { ... }
public ResumeScheduleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ResumeScheduleRequest.Builder clone()
Overrides
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.
|
public ResumeScheduleRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ResumeScheduleRequest.Builder mergeFrom(ResumeScheduleRequest other)
public ResumeScheduleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ResumeScheduleRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ResumeScheduleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.
|
public ResumeScheduleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
public ResumeScheduleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ResumeScheduleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides