Class UpdateScheduleRequest.Builder (3.30.0)

public static final class UpdateScheduleRequest.Builder extends GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder> implements UpdateScheduleRequestOrBuilder

Request message for ScheduleService.UpdateSchedule.

Protobuf type google.cloud.aiplatform.v1.UpdateScheduleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateScheduleRequest build()
Returns
TypeDescription
UpdateScheduleRequest

buildPartial()

public UpdateScheduleRequest buildPartial()
Returns
TypeDescription
UpdateScheduleRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSchedule()

public UpdateScheduleRequest.Builder clearSchedule()

Required. The Schedule which replaces the resource on the server. The following restrictions will be applied:

  • The scheduled request type cannot be changed.
  • The non-empty fields cannot be unset.
  • The output_only fields will be ignored if specified.

.google.cloud.aiplatform.v1.Schedule schedule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateScheduleRequest.Builder

clearUpdateMask()

public UpdateScheduleRequest.Builder clearUpdateMask()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateScheduleRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateScheduleRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateScheduleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSchedule()

public Schedule getSchedule()

Required. The Schedule which replaces the resource on the server. The following restrictions will be applied:

  • The scheduled request type cannot be changed.
  • The non-empty fields cannot be unset.
  • The output_only fields will be ignored if specified.

.google.cloud.aiplatform.v1.Schedule schedule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Schedule

The schedule.

getScheduleBuilder()

public Schedule.Builder getScheduleBuilder()

Required. The Schedule which replaces the resource on the server. The following restrictions will be applied:

  • The scheduled request type cannot be changed.
  • The non-empty fields cannot be unset.
  • The output_only fields will be ignored if specified.

.google.cloud.aiplatform.v1.Schedule schedule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Schedule.Builder

getScheduleOrBuilder()

public ScheduleOrBuilder getScheduleOrBuilder()

Required. The Schedule which replaces the resource on the server. The following restrictions will be applied:

  • The scheduled request type cannot be changed.
  • The non-empty fields cannot be unset.
  • The output_only fields will be ignored if specified.

.google.cloud.aiplatform.v1.Schedule schedule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ScheduleOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasSchedule()

public boolean hasSchedule()

Required. The Schedule which replaces the resource on the server. The following restrictions will be applied:

  • The scheduled request type cannot be changed.
  • The non-empty fields cannot be unset.
  • The output_only fields will be ignored if specified.

.google.cloud.aiplatform.v1.Schedule schedule = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the schedule field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateScheduleRequest other)

public UpdateScheduleRequest.Builder mergeFrom(UpdateScheduleRequest other)
Parameter
NameDescription
otherUpdateScheduleRequest
Returns
TypeDescription
UpdateScheduleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSchedule(Schedule value)

public UpdateScheduleRequest.Builder mergeSchedule(Schedule value)

Required. The Schedule which replaces the resource on the server. The following restrictions will be applied:

  • The scheduled request type cannot be changed.
  • The non-empty fields cannot be unset.
  • The output_only fields will be ignored if specified.

.google.cloud.aiplatform.v1.Schedule schedule = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueSchedule
Returns
TypeDescription
UpdateScheduleRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateScheduleRequest.Builder mergeUpdateMask(FieldMask value)

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateScheduleRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateScheduleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateScheduleRequest.Builder
Overrides

setSchedule(Schedule value)

public UpdateScheduleRequest.Builder setSchedule(Schedule value)

Required. The Schedule which replaces the resource on the server. The following restrictions will be applied:

  • The scheduled request type cannot be changed.
  • The non-empty fields cannot be unset.
  • The output_only fields will be ignored if specified.

.google.cloud.aiplatform.v1.Schedule schedule = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueSchedule
Returns
TypeDescription
UpdateScheduleRequest.Builder

setSchedule(Schedule.Builder builderForValue)

public UpdateScheduleRequest.Builder setSchedule(Schedule.Builder builderForValue)

Required. The Schedule which replaces the resource on the server. The following restrictions will be applied:

  • The scheduled request type cannot be changed.
  • The non-empty fields cannot be unset.
  • The output_only fields will be ignored if specified.

.google.cloud.aiplatform.v1.Schedule schedule = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueSchedule.Builder
Returns
TypeDescription
UpdateScheduleRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateScheduleRequest.Builder setUpdateMask(FieldMask value)

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateScheduleRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateScheduleRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateScheduleRequest.Builder