Class UpdateBackupRequest.Builder

    • Method Detail

      • 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<UpdateBackupRequest.Builder>
      • clear

        public UpdateBackupRequest.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<UpdateBackupRequest.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<UpdateBackupRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public UpdateBackupRequest.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<UpdateBackupRequest.Builder>
      • setField

        public UpdateBackupRequest.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<UpdateBackupRequest.Builder>
      • clearField

        public UpdateBackupRequest.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<UpdateBackupRequest.Builder>
      • clearOneof

        public UpdateBackupRequest.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<UpdateBackupRequest.Builder>
      • setRepeatedField

        public UpdateBackupRequest.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<UpdateBackupRequest.Builder>
      • addRepeatedField

        public UpdateBackupRequest.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<UpdateBackupRequest.Builder>
      • mergeFrom

        public UpdateBackupRequest.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<UpdateBackupRequest.Builder>
      • isInitialized

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

        public UpdateBackupRequest.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<UpdateBackupRequest.Builder>
        Throws:
        IOException
      • hasBackup

        public boolean hasBackup()
         Required. A new version of the Backup resource that contains updated
         fields. This may be sparsely populated if an `update_mask` is provided.
         
        .google.cloud.gkebackup.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasBackup in interface UpdateBackupRequestOrBuilder
        Returns:
        Whether the backup field is set.
      • getBackup

        public Backup getBackup()
         Required. A new version of the Backup resource that contains updated
         fields. This may be sparsely populated if an `update_mask` is provided.
         
        .google.cloud.gkebackup.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getBackup in interface UpdateBackupRequestOrBuilder
        Returns:
        The backup.
      • setBackup

        public UpdateBackupRequest.Builder setBackup​(Backup value)
         Required. A new version of the Backup resource that contains updated
         fields. This may be sparsely populated if an `update_mask` is provided.
         
        .google.cloud.gkebackup.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
      • setBackup

        public UpdateBackupRequest.Builder setBackup​(Backup.Builder builderForValue)
         Required. A new version of the Backup resource that contains updated
         fields. This may be sparsely populated if an `update_mask` is provided.
         
        .google.cloud.gkebackup.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
      • mergeBackup

        public UpdateBackupRequest.Builder mergeBackup​(Backup value)
         Required. A new version of the Backup resource that contains updated
         fields. This may be sparsely populated if an `update_mask` is provided.
         
        .google.cloud.gkebackup.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearBackup

        public UpdateBackupRequest.Builder clearBackup()
         Required. A new version of the Backup resource that contains updated
         fields. This may be sparsely populated if an `update_mask` is provided.
         
        .google.cloud.gkebackup.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
      • getBackupBuilder

        public Backup.Builder getBackupBuilder()
         Required. A new version of the Backup resource that contains updated
         fields. This may be sparsely populated if an `update_mask` is provided.
         
        .google.cloud.gkebackup.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
      • getBackupOrBuilder

        public BackupOrBuilder getBackupOrBuilder()
         Required. A new version of the Backup resource that contains updated
         fields. This may be sparsely populated if an `update_mask` is provided.
         
        .google.cloud.gkebackup.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getBackupOrBuilder in interface UpdateBackupRequestOrBuilder
      • hasUpdateMask

        public boolean hasUpdateMask()
         This is used to specify the fields to be overwritten in the
         Backup targeted for update. The values for each of these
         updated fields will be taken from the `backup_plan` provided
         with this request. Field names are relative to the root of the resource.
         If no `update_mask` is provided, all fields in `backup` will be
         written to the target Backup resource.
         Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored
         and are not used to update the target Backup.
         
        .google.protobuf.FieldMask update_mask = 2;
        Specified by:
        hasUpdateMask in interface UpdateBackupRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         This is used to specify the fields to be overwritten in the
         Backup targeted for update. The values for each of these
         updated fields will be taken from the `backup_plan` provided
         with this request. Field names are relative to the root of the resource.
         If no `update_mask` is provided, all fields in `backup` will be
         written to the target Backup resource.
         Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored
         and are not used to update the target Backup.
         
        .google.protobuf.FieldMask update_mask = 2;
        Specified by:
        getUpdateMask in interface UpdateBackupRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateBackupRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         This is used to specify the fields to be overwritten in the
         Backup targeted for update. The values for each of these
         updated fields will be taken from the `backup_plan` provided
         with this request. Field names are relative to the root of the resource.
         If no `update_mask` is provided, all fields in `backup` will be
         written to the target Backup resource.
         Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored
         and are not used to update the target Backup.
         
        .google.protobuf.FieldMask update_mask = 2;
      • setUpdateMask

        public UpdateBackupRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         This is used to specify the fields to be overwritten in the
         Backup targeted for update. The values for each of these
         updated fields will be taken from the `backup_plan` provided
         with this request. Field names are relative to the root of the resource.
         If no `update_mask` is provided, all fields in `backup` will be
         written to the target Backup resource.
         Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored
         and are not used to update the target Backup.
         
        .google.protobuf.FieldMask update_mask = 2;
      • mergeUpdateMask

        public UpdateBackupRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         This is used to specify the fields to be overwritten in the
         Backup targeted for update. The values for each of these
         updated fields will be taken from the `backup_plan` provided
         with this request. Field names are relative to the root of the resource.
         If no `update_mask` is provided, all fields in `backup` will be
         written to the target Backup resource.
         Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored
         and are not used to update the target Backup.
         
        .google.protobuf.FieldMask update_mask = 2;
      • clearUpdateMask

        public UpdateBackupRequest.Builder clearUpdateMask()
         This is used to specify the fields to be overwritten in the
         Backup targeted for update. The values for each of these
         updated fields will be taken from the `backup_plan` provided
         with this request. Field names are relative to the root of the resource.
         If no `update_mask` is provided, all fields in `backup` will be
         written to the target Backup resource.
         Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored
         and are not used to update the target Backup.
         
        .google.protobuf.FieldMask update_mask = 2;
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         This is used to specify the fields to be overwritten in the
         Backup targeted for update. The values for each of these
         updated fields will be taken from the `backup_plan` provided
         with this request. Field names are relative to the root of the resource.
         If no `update_mask` is provided, all fields in `backup` will be
         written to the target Backup resource.
         Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored
         and are not used to update the target Backup.
         
        .google.protobuf.FieldMask update_mask = 2;
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         This is used to specify the fields to be overwritten in the
         Backup targeted for update. The values for each of these
         updated fields will be taken from the `backup_plan` provided
         with this request. Field names are relative to the root of the resource.
         If no `update_mask` is provided, all fields in `backup` will be
         written to the target Backup resource.
         Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored
         and are not used to update the target Backup.
         
        .google.protobuf.FieldMask update_mask = 2;
        Specified by:
        getUpdateMaskOrBuilder in interface UpdateBackupRequestOrBuilder
      • setUnknownFields

        public final UpdateBackupRequest.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<UpdateBackupRequest.Builder>
      • mergeUnknownFields

        public final UpdateBackupRequest.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<UpdateBackupRequest.Builder>