Class UpdateBackupScheduleRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateBackupScheduleRequest.Builder>
com.google.spanner.admin.database.v1.UpdateBackupScheduleRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateBackupScheduleRequestOrBuilder, Cloneable
Enclosing class:
UpdateBackupScheduleRequest

public static final class UpdateBackupScheduleRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateBackupScheduleRequest.Builder> implements UpdateBackupScheduleRequestOrBuilder
 The request for
 [UpdateBackupScheduleRequest][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackupSchedule].
 
Protobuf type google.spanner.admin.database.v1.UpdateBackupScheduleRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBackupScheduleRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBackupScheduleRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBackupScheduleRequest.Builder>
    • getDefaultInstanceForType

      public UpdateBackupScheduleRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpdateBackupScheduleRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBackupScheduleRequest.Builder>
    • setField

      public UpdateBackupScheduleRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBackupScheduleRequest.Builder>
    • clearField

      public UpdateBackupScheduleRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBackupScheduleRequest.Builder>
    • clearOneof

      public UpdateBackupScheduleRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBackupScheduleRequest.Builder>
    • setRepeatedField

      public UpdateBackupScheduleRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBackupScheduleRequest.Builder>
    • addRepeatedField

      public UpdateBackupScheduleRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBackupScheduleRequest.Builder>
    • mergeFrom

      public UpdateBackupScheduleRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateBackupScheduleRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBackupScheduleRequest.Builder>
    • mergeFrom

      public UpdateBackupScheduleRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateBackupScheduleRequest.Builder>
      Throws:
      IOException
    • hasBackupSchedule

      public boolean hasBackupSchedule()
       Required. The backup schedule to update. `backup_schedule.name`, and the
       fields to be updated as specified by `update_mask` are required. Other
       fields are ignored.
       
      .google.spanner.admin.database.v1.BackupSchedule backup_schedule = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasBackupSchedule in interface UpdateBackupScheduleRequestOrBuilder
      Returns:
      Whether the backupSchedule field is set.
    • getBackupSchedule

      public BackupSchedule getBackupSchedule()
       Required. The backup schedule to update. `backup_schedule.name`, and the
       fields to be updated as specified by `update_mask` are required. Other
       fields are ignored.
       
      .google.spanner.admin.database.v1.BackupSchedule backup_schedule = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBackupSchedule in interface UpdateBackupScheduleRequestOrBuilder
      Returns:
      The backupSchedule.
    • setBackupSchedule

      public UpdateBackupScheduleRequest.Builder setBackupSchedule(BackupSchedule value)
       Required. The backup schedule to update. `backup_schedule.name`, and the
       fields to be updated as specified by `update_mask` are required. Other
       fields are ignored.
       
      .google.spanner.admin.database.v1.BackupSchedule backup_schedule = 1 [(.google.api.field_behavior) = REQUIRED];
    • setBackupSchedule

      public UpdateBackupScheduleRequest.Builder setBackupSchedule(BackupSchedule.Builder builderForValue)
       Required. The backup schedule to update. `backup_schedule.name`, and the
       fields to be updated as specified by `update_mask` are required. Other
       fields are ignored.
       
      .google.spanner.admin.database.v1.BackupSchedule backup_schedule = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeBackupSchedule

      public UpdateBackupScheduleRequest.Builder mergeBackupSchedule(BackupSchedule value)
       Required. The backup schedule to update. `backup_schedule.name`, and the
       fields to be updated as specified by `update_mask` are required. Other
       fields are ignored.
       
      .google.spanner.admin.database.v1.BackupSchedule backup_schedule = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearBackupSchedule

      public UpdateBackupScheduleRequest.Builder clearBackupSchedule()
       Required. The backup schedule to update. `backup_schedule.name`, and the
       fields to be updated as specified by `update_mask` are required. Other
       fields are ignored.
       
      .google.spanner.admin.database.v1.BackupSchedule backup_schedule = 1 [(.google.api.field_behavior) = REQUIRED];
    • getBackupScheduleBuilder

      public BackupSchedule.Builder getBackupScheduleBuilder()
       Required. The backup schedule to update. `backup_schedule.name`, and the
       fields to be updated as specified by `update_mask` are required. Other
       fields are ignored.
       
      .google.spanner.admin.database.v1.BackupSchedule backup_schedule = 1 [(.google.api.field_behavior) = REQUIRED];
    • getBackupScheduleOrBuilder

      public BackupScheduleOrBuilder getBackupScheduleOrBuilder()
       Required. The backup schedule to update. `backup_schedule.name`, and the
       fields to be updated as specified by `update_mask` are required. Other
       fields are ignored.
       
      .google.spanner.admin.database.v1.BackupSchedule backup_schedule = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBackupScheduleOrBuilder in interface UpdateBackupScheduleRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Required. A mask specifying which fields in the BackupSchedule resource
       should be updated. This mask is relative to the BackupSchedule resource,
       not to the request message. The field mask must always be
       specified; this prevents any future fields from being erased
       accidentally.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasUpdateMask in interface UpdateBackupScheduleRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Required. A mask specifying which fields in the BackupSchedule resource
       should be updated. This mask is relative to the BackupSchedule resource,
       not to the request message. The field mask must always be
       specified; this prevents any future fields from being erased
       accidentally.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMask in interface UpdateBackupScheduleRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateBackupScheduleRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Required. A mask specifying which fields in the BackupSchedule resource
       should be updated. This mask is relative to the BackupSchedule resource,
       not to the request message. The field mask must always be
       specified; this prevents any future fields from being erased
       accidentally.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • setUpdateMask

      public UpdateBackupScheduleRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Required. A mask specifying which fields in the BackupSchedule resource
       should be updated. This mask is relative to the BackupSchedule resource,
       not to the request message. The field mask must always be
       specified; this prevents any future fields from being erased
       accidentally.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeUpdateMask

      public UpdateBackupScheduleRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Required. A mask specifying which fields in the BackupSchedule resource
       should be updated. This mask is relative to the BackupSchedule resource,
       not to the request message. The field mask must always be
       specified; this prevents any future fields from being erased
       accidentally.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearUpdateMask

      public UpdateBackupScheduleRequest.Builder clearUpdateMask()
       Required. A mask specifying which fields in the BackupSchedule resource
       should be updated. This mask is relative to the BackupSchedule resource,
       not to the request message. The field mask must always be
       specified; this prevents any future fields from being erased
       accidentally.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Required. A mask specifying which fields in the BackupSchedule resource
       should be updated. This mask is relative to the BackupSchedule resource,
       not to the request message. The field mask must always be
       specified; this prevents any future fields from being erased
       accidentally.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Required. A mask specifying which fields in the BackupSchedule resource
       should be updated. This mask is relative to the BackupSchedule resource,
       not to the request message. The field mask must always be
       specified; this prevents any future fields from being erased
       accidentally.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateBackupScheduleRequestOrBuilder
    • setUnknownFields

      public final UpdateBackupScheduleRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBackupScheduleRequest.Builder>
    • mergeUnknownFields

      public final UpdateBackupScheduleRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateBackupScheduleRequest.Builder>